Host an official instance for a team #20

Open
opened 2024-07-20 21:52:07 +02:00 by Benjamin_Loison · 12 comments
In response to the email I received on 19/07/24 at 11:33. [overleaf](https://github.com/overleaf/overleaf) https://www.overleaf.com/user/subscription/plans [overleaf/toolkit](https://github.com/overleaf/toolkit) Both `README.md` do not mention *git* integration. Source: [overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md?plain=1#L34-L36](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md?plain=1#L34-L36) > follow the [Quick Start Guide](./doc/quick-start-guide.md). Source: [toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md?plain=1#L17](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md?plain=1#L17) > The Overleaf Toolkit depends on the following programs: > - docker Source: [toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md?plain=1#L1-L8](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md?plain=1#L1-L8)
Author
Owner
> Overleaf Docker Image Source: [overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#overleaf-docker-image](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#overleaf-docker-image)
Author
Owner

The Git integration is available since Server Pro 4.0.

Source: overleaf/wiki/Git-Integration/9a9ae4a789e59d1968ad0012c5a2fa59231b8e91

If you would like to upgrade your Overleaf instance to Overleaf Server Pro please get in touch for a quote and information. Details of Overleaf Server Pro can be found here.

Source: overleaf/wiki/Getting-Server-Pro/856603cadcce28431f106d605ef3d46b4fa33ded

On-premises software [...] is installed and runs on computers on the premises of the person or organization using the software, rather than at a remote facility such as a server farm or cloud.

Source: Wikipedia: On-premises software

> The Git integration is available since Server Pro 4.0. Source: [overleaf/wiki/Git-Integration/9a9ae4a789e59d1968ad0012c5a2fa59231b8e91](https://github.com/overleaf/overleaf/wiki/Git-Integration/9a9ae4a789e59d1968ad0012c5a2fa59231b8e91) > If you would like to upgrade your Overleaf instance to **Overleaf Server Pro** please [get in touch](https://www.overleaf.com/for/enterprises) for a quote and information. Details of Overleaf Server Pro can be found [here](https://www.overleaf.com/for/enterprises/when-to-use-overleaf-on-premises-vs-in-the-cloud). Source: [overleaf/wiki/Getting-Server-Pro/856603cadcce28431f106d605ef3d46b4fa33ded](https://github.com/overleaf/overleaf/wiki/Getting-Server-Pro/856603cadcce28431f106d605ef3d46b4fa33ded) > On-premises software [...] is installed and runs on computers on the premises of the person or organization using the software, rather than at a remote facility such as a server farm or cloud. Source: [Wikipedia: On-premises software](https://en.wikipedia.org/w/index.php?title=On-premises_software&oldid=1231881123)
Author
Owner

Related to #10.

Related to #10.
Author
Owner

Ask:

  • When would like such a thing installed?
  • Git integration usage?
  • Give them access to admin and regular user Overleaf accounts on my instance. Giving access to the admin account does not seem dangerous, i.e. give extra permissions, in any case in theory it runs in a Docker. Furthermore, there is no personal information shared with them except my IP which is fine.
  • Install on Docker, not on my user with Nix (if even possible)?
Ask: - When would like such a thing installed? - Git integration usage? - Give them access to admin and regular user Overleaf accounts on my instance. Giving access to the admin account does not seem dangerous, i.e. give extra permissions, in any case in theory it runs in a Docker. Furthermore, there is no personal information shared with them except my IP which is fine. - Install on Docker, not on my user with Nix (if even possible)?
Author
Owner

image

![image](/attachments/5a06765f-9f4c-4b4d-a56a-4ac8b73060f7)
202 KiB
Author
Owner

Related to #9, #5 and #7.

Related to #9, #5 and #7.
Author
Owner

Should investigate OVERLEAF_{BEHIND_PROXY,SECURE_COOKIE}, see overleaf/wiki/Configuring-Overleaf/e7642084a9b6f3fa7ba35f7be0b6053917c062b8.

Should investigate `OVERLEAF_{BEHIND_PROXY,SECURE_COOKIE}`, see [overleaf/wiki/Configuring-Overleaf/e7642084a9b6f3fa7ba35f7be0b6053917c062b8](https://github.com/overleaf/overleaf/wiki/Configuring-Overleaf/e7642084a9b6f3fa7ba35f7be0b6053917c062b8).
Author
Owner

According to results of Can an email use a subdomain? on DuckDuckGo and Google, it seems that it is possible.

According to results of *Can an email use a subdomain?* on DuckDuckGo and Google, it seems that it is possible.
Author
Owner
bin/docker-compose exec sharelatex /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/create-user --admin --email=admin@overleaf.lemnoslife.com"
Using default settings from /overleaf/services/web/config/settings.defaults.js
Using settings from /etc/overleaf/settings.js
Set UV_THREADPOOL_SIZE=16
{"name":"default","hostname":"c2f60bc1a13c","pid":88,"level":40,"msg":"Email transport and/or parameters not defined. No emails will be sent. undefined","time":"2024-07-22T17:47:35.432Z","v":0}
(node:88) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
{"name":"default","hostname":"c2f60bc1a13c","pid":88,"level":40,"err":{"message":"We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy","name":"NOTE","stack":"NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy\n    at emitWarning (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:37:13)\n    at Timeout._onTimeout (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:45:5)\n    at listOnTimeout (node:internal/timers:569:17)\n    at process.processTimers (node:internal/timers:512:7)","info":{}},"msg":"Warning details","time":"2024-07-22T17:47:36.052Z","v":0}

Successfully created admin@overleaf.lemnoslife.com as an admin user.

Please visit the following URL to set a password for admin@overleaf.lemnoslife.com and log in:

  https://overleaf.lemnoslife.com/user/activate?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&user_id=XXXXXXXXXXXXXXXXXXXXXXXX


Done.

Screenshot from 2024-07-22 19-50-21

bin/docker-compose exec sharelatex /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/create-user --email=user@overleaf.lemnoslife.com"
Using default settings from /overleaf/services/web/config/settings.defaults.js
Using settings from /etc/overleaf/settings.js
Set UV_THREADPOOL_SIZE=16
{"name":"default","hostname":"c2f60bc1a13c","pid":342,"level":40,"msg":"Email transport and/or parameters not defined. No emails will be sent. undefined","time":"2024-07-22T18:05:06.697Z","v":0}
(node:342) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
{"name":"default","hostname":"c2f60bc1a13c","pid":342,"level":40,"err":{"message":"We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy","name":"NOTE","stack":"NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy\n    at emitWarning (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:37:13)\n    at Timeout._onTimeout (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:45:5)\n    at listOnTimeout (node:internal/timers:569:17)\n    at process.processTimers (node:internal/timers:512:7)","info":{}},"msg":"Warning details","time":"2024-07-22T18:05:06.791Z","v":0}

Successfully created user@overleaf.lemnoslife.com as a user.

Please visit the following URL to set a password for user@overleaf.lemnoslife.com and log in:

  https://overleaf.lemnoslife.com/user/activate?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&user_id=XXXXXXXXXXXXXXXXXXXXXXXX


Done.

creates correctly a regular user.

```bash bin/docker-compose exec sharelatex /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/create-user --admin --email=admin@overleaf.lemnoslife.com" ``` ``` Using default settings from /overleaf/services/web/config/settings.defaults.js Using settings from /etc/overleaf/settings.js Set UV_THREADPOOL_SIZE=16 {"name":"default","hostname":"c2f60bc1a13c","pid":88,"level":40,"msg":"Email transport and/or parameters not defined. No emails will be sent. undefined","time":"2024-07-22T17:47:35.432Z","v":0} (node:88) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. Please migrate your code to use AWS SDK for JavaScript (v3). For more information, check the migration guide at https://a.co/7PzMCcy (Use `node --trace-warnings ...` to show where the warning was created) {"name":"default","hostname":"c2f60bc1a13c","pid":88,"level":40,"err":{"message":"We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy","name":"NOTE","stack":"NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy\n at emitWarning (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:37:13)\n at Timeout._onTimeout (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:45:5)\n at listOnTimeout (node:internal/timers:569:17)\n at process.processTimers (node:internal/timers:512:7)","info":{}},"msg":"Warning details","time":"2024-07-22T17:47:36.052Z","v":0} Successfully created admin@overleaf.lemnoslife.com as an admin user. Please visit the following URL to set a password for admin@overleaf.lemnoslife.com and log in: https://overleaf.lemnoslife.com/user/activate?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&user_id=XXXXXXXXXXXXXXXXXXXXXXXX Done. ``` ![Screenshot from 2024-07-22 19-50-21](/attachments/ea291cdd-55fe-459b-8cdf-7d244a18ca20) ```bash bin/docker-compose exec sharelatex /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/create-user --email=user@overleaf.lemnoslife.com" ``` ``` Using default settings from /overleaf/services/web/config/settings.defaults.js Using settings from /etc/overleaf/settings.js Set UV_THREADPOOL_SIZE=16 {"name":"default","hostname":"c2f60bc1a13c","pid":342,"level":40,"msg":"Email transport and/or parameters not defined. No emails will be sent. undefined","time":"2024-07-22T18:05:06.697Z","v":0} (node:342) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. Please migrate your code to use AWS SDK for JavaScript (v3). For more information, check the migration guide at https://a.co/7PzMCcy (Use `node --trace-warnings ...` to show where the warning was created) {"name":"default","hostname":"c2f60bc1a13c","pid":342,"level":40,"err":{"message":"We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy","name":"NOTE","stack":"NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n\nPlease migrate your code to use AWS SDK for JavaScript (v3).\nFor more information, check the migration guide at https://a.co/7PzMCcy\n at emitWarning (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:37:13)\n at Timeout._onTimeout (/overleaf/node_modules/aws-sdk/lib/maintenance_mode_message.js:45:5)\n at listOnTimeout (node:internal/timers:569:17)\n at process.processTimers (node:internal/timers:512:7)","info":{}},"msg":"Warning details","time":"2024-07-22T18:05:06.791Z","v":0} Successfully created user@overleaf.lemnoslife.com as a user. Please visit the following URL to set a password for user@overleaf.lemnoslife.com and log in: https://overleaf.lemnoslife.com/user/activate?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&user_id=XXXXXXXXXXXXXXXXXXXXXXXX Done. ``` creates correctly a regular user.
Author
Owner

overleaf/wiki/Configuring-SMTP-Email/90bf174e710d252898c661f63e27a28b02148dbc email sending of https://overleaf.lemnoslife.com/admin/register does not seem to work.

Just setting OVERLEAF_EMAIL_FROM_ADDRESS does not seem to work fine even if check spam folder while the interface states that it is fine:

image

bin/logs -f filestore docstore web clsi
web           | {"name":"web","hostname":"36d30c4057ba","pid":197,"level":40,"err":{"message":"error sending message","name":"OError","stack":"OError: error sending message\n    at Object.sendEmail (/overleaf/services/web/app/src/Features/Email/EmailSender.js:109:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.sendEmail (/overleaf/services/web/app/src/Features/Email/EmailHandler.js:26:3)\ncaused by:\n    Error: connect ECONNREFUSED 127.0.0.1:587\n        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)","info":{}},"msg":"failed to send activation email","time":"2024-07-22T19:15:52.310Z","v":0}
[overleaf/wiki/Configuring-SMTP-Email/90bf174e710d252898c661f63e27a28b02148dbc](https://github.com/overleaf/overleaf/wiki/Configuring-SMTP-Email/90bf174e710d252898c661f63e27a28b02148dbc) email sending of https://overleaf.lemnoslife.com/admin/register does not seem to work. Just setting `OVERLEAF_EMAIL_FROM_ADDRESS` does not seem to work fine even if check spam folder while the interface states that it is fine: ![image](/attachments/0ebed994-20c0-4b4d-9884-bf33478914d9) ```bash bin/logs -f filestore docstore web clsi ``` ``` web | {"name":"web","hostname":"36d30c4057ba","pid":197,"level":40,"err":{"message":"error sending message","name":"OError","stack":"OError: error sending message\n at Object.sendEmail (/overleaf/services/web/app/src/Features/Email/EmailSender.js:109:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.sendEmail (/overleaf/services/web/app/src/Features/Email/EmailHandler.js:26:3)\ncaused by:\n Error: connect ECONNREFUSED 127.0.0.1:587\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)","info":{}},"msg":"failed to send activation email","time":"2024-07-22T19:15:52.310Z","v":0} ```
214 KiB
Benjamin_Loison pinned this 2024-07-22 23:30:02 +02:00
Author
Owner

Related to Improve_websites_thanks_to_open_source/issues/769.

Note that https://plmlatex.math.cnrs.fr/login:

image

avec votre Identité d'Etablissement redirects to https://plmlatex.math.cnrs.fr/auth/oidc which notably lists my school.

Related to [Improve_websites_thanks_to_open_source/issues/769](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/769). Note that https://plmlatex.math.cnrs.fr/login: ![image](/attachments/e59e4240-7ffe-418a-b0e2-d78088c4c4a4) *avec votre Identité d'Etablissement* redirects to https://plmlatex.math.cnrs.fr/auth/oidc which notably lists my school.
357 KiB
Author
Owner
https://www.overleaf.com/blog/changes-to-project-sharing ![image](/attachments/92d5e93e-bc55-4e5f-abae-346f6d55ba73) Related to [Improve_websites_thanks_to_open_source/issues/735](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/735).
255 KiB
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/overleaf#20
No description provided.