Skip to content

Commit 2ae7b06

Browse files
committed
chore: fixup list formating
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
1 parent ef7c5dd commit 2ae7b06

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

admin_manual/issues/general_troubleshooting.rst

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,18 @@ location before moving into production.
393393

394394
For safely moving the data directory, the recommended actions are:
395395

396-
1. Make sure no cron jobs are running and, if using system cron, that the Nextcloud crontab
397-
entry is disabled.
396+
1. Make sure no cron jobs are running and, if using system cron, that the Nextcloud crontab entry is disabled.
397+
398398
2. Stop web/app server(s).
399-
3. Move ``/data`` to the new location (ensure you also move hidden/dot files such as
400-
``.ncdata``).
399+
400+
3. Move ``/data`` to the new location (ensure you also move hidden/dot files such as ``.ncdata``).
401+
401402
4. Create a symlink from the original location to the new location.
403+
402404
5. Ensure permissions are still correct (including for any parent folders).
405+
403406
6. Restart web/app server(s).
407+
404408
7. Re-enable Nextcloud's system crontab entry (if applicable).
405409

406410
.. note::
@@ -409,17 +413,21 @@ entry is disabled.
409413
It is also possible to move the data directory without using symlinks, but
410414
this requires manually modifying the internal ``oc_storages`` database table:
411415

412-
1. Make sure no cron jobs are running and, if using system cron, that the Nextcloud crontab
413-
entry is disabled.
416+
1. Make sure no cron jobs are running and, if using system cron, that the Nextcloud crontab entry is disabled.
417+
414418
2. Stop web/app server(s).
415-
3. Move ``/data`` to the new location (ensure you also move hidden/dot files such as
416-
``.ncdata``).
419+
420+
3. Move ``/data`` to the new location (ensure you also move hidden/dot files such as ``.ncdata``).
421+
417422
4. Update the value of ``datadirectory`` in your ``config.php``.
418-
5. Edit the database: In the ``oc_storages`` table, update the path portion of the ``id``
419-
field of the entry beginning with ``local::/old-data-dir/`` (e.g., change
420-
``local::/old-data-dir/`` to ``local::/new-data-dir/``).
423+
424+
5. Edit the database: In the ``oc_storages`` table, update the path portion of the ``id`` field of the entry
425+
beginning with ``local::/old-data-dir/`` (e.g., change ``local::/old-data-dir/`` to ``local::/new-data-dir/``).
426+
421427
6. Ensure permissions are still correct (including for any parent folders).
428+
422429
7. Restart web/app server(s).
430+
423431
8. Re-enable Nextcloud's system crontab entry (if applicable).
424432

425433
.. warning::

0 commit comments

Comments
 (0)