Skip to content

Commit 3ab3edc

Browse files
joshtrichardsbackportbot[bot]
authored andcommitted
chore: fixup list formating
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
1 parent 7c950f4 commit 3ab3edc

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
@@ -391,14 +391,18 @@ location before moving into production.
391391

392392
For safely moving the data directory, the recommended actions are:
393393

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

404408
.. note::
@@ -407,17 +411,21 @@ entry is disabled.
407411
It is also possible to move the data directory without using symlinks, but
408412
this requires manually modifying the internal ``oc_storages`` database table:
409413

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

423431
.. warning::

0 commit comments

Comments
 (0)