mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-08 19:32:30 +01:00
Merge pull request #46 from fosscord/add/maintenance
* Moves updating guide -> maintenance * Adds `when should server restart` page. Inspired by this question: https://discord.com/channels/806142446094385153/898197424340860928/1062927020750802985
This commit is contained in:
commit
c160b918b2
5
docs/setup/server/maintenance/index.md
Normal file
5
docs/setup/server/maintenance/index.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Maintenance
|
||||
|
||||
## [When do I have to restart the server?](restart.md)
|
||||
|
||||
## [Updating Fosscord-server](updating.md)
|
18
docs/setup/server/maintenance/restart.md
Normal file
18
docs/setup/server/maintenance/restart.md
Normal file
@ -0,0 +1,18 @@
|
||||
# When must the server restart?
|
||||
|
||||
Fosscord-server must restart in the following cases:
|
||||
|
||||
* The .env file or config (database or [CONFIG_PATH](configuration/env.md)) has changed.
|
||||
* Files in the `client_test`, `preload-plugins` folders of inside `assets` have changed.
|
||||
* Files inside `src` have changed (*remember to `npm run build`*).
|
||||
* The `assets/schemas.json` file has changed.
|
||||
* The [RabbitMQ](configuration/rabbitmq.md) connection has been lost.
|
||||
|
||||
For all other cases, you do not need to restart the server. For example:
|
||||
|
||||
* Running `npm run generate:client`
|
||||
* Running `npm run generate:changelog`
|
||||
* Editing any table in the database other than `config`. For example, to edit a `users` [`rights`](security/rights.md)
|
||||
* Database connection was lost (this should auto reconnect)
|
||||
|
||||
This is not an exhaustive list. If a change you made is not applied, the first thing you should try is restarting.
|
Loading…
Reference in New Issue
Block a user