From a8d0d6f9338db16870ba3fb66d5e9a85a53d0047 Mon Sep 17 00:00:00 2001 From: felix schwenzel Date: Sat, 11 Oct 2025 10:53:23 +0200 Subject: [PATCH 1/2] Update GoToSocial installation instructions Added instructions for copying the database directory and emphasized caution during migrations. --- source/guide_gotosocial.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/guide_gotosocial.rst b/source/guide_gotosocial.rst index f4944d5e..808a1f78 100644 --- a/source/guide_gotosocial.rst +++ b/source/guide_gotosocial.rst @@ -159,14 +159,15 @@ Stop the service using ``supervisorctl stop gotosocial`` and rename your current [isabell@stardust ~]$ mv ~/gotosocial ~/gotosocial-backup -Repeat the installation_ step and copy your ``config.yaml`` and ``storage`` directory back into the new installation. +Repeat the installation_ step and copy your ``config.yaml``, ``storage`` and database directory back into the new installation. .. code-block:: console [isabell@stardust ~]$ cp ~/gotosocial-backup/config.yaml ~/gotosocial/config.yaml - [isabell@stardust ~]$ cp -r ~/gotosocial-backup/storage ~/gotosocial/storage + [isabell@stardust ~]$ cp -r ~/gotosocial-backup/storage/. ~/gotosocial/storage/ + [isabell@stardust ~]$ cp ~/gotosocial-backup/sqlite.db ~/gotosocial/sqlite.db -Sart GoToSocial using the ``supervisorctl start gotosocial`` command. If it's not starting, investigate errors in the supervisord logfile located in ``~/tmp``. Otherwise have fun using the latest version and consider removing your backup after some days. +Start GoToSocial using the ``supervisorctl start gotosocial`` command. Wait patiently for any migrations to run, do not interrupt migrations or you could leave your db in a broken state and will have to restore from backup. If it's not starting, investigate errors in the supervisord logfile located in ``~/tmp``. Otherwise have fun using the latest version and consider removing your backup after some days. ---- From 58ac77802f0ca7ff39ddff58e4bedad2b191ed26 Mon Sep 17 00:00:00 2001 From: felix schwenzel Date: Sat, 11 Oct 2025 11:00:17 +0200 Subject: [PATCH 2/2] Rearrange backup instructions in guide_gotosocial.rst Reordered the items in the installation step for clarity. --- source/guide_gotosocial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/guide_gotosocial.rst b/source/guide_gotosocial.rst index 808a1f78..f640fcac 100644 --- a/source/guide_gotosocial.rst +++ b/source/guide_gotosocial.rst @@ -159,13 +159,13 @@ Stop the service using ``supervisorctl stop gotosocial`` and rename your current [isabell@stardust ~]$ mv ~/gotosocial ~/gotosocial-backup -Repeat the installation_ step and copy your ``config.yaml``, ``storage`` and database directory back into the new installation. +Repeat the installation_ step and copy your database, ``config.yaml`` and ``storage`` directory back into the new installation. .. code-block:: console + [isabell@stardust ~]$ cp ~/gotosocial-backup/sqlite.db ~/gotosocial/sqlite.db [isabell@stardust ~]$ cp ~/gotosocial-backup/config.yaml ~/gotosocial/config.yaml [isabell@stardust ~]$ cp -r ~/gotosocial-backup/storage/. ~/gotosocial/storage/ - [isabell@stardust ~]$ cp ~/gotosocial-backup/sqlite.db ~/gotosocial/sqlite.db Start GoToSocial using the ``supervisorctl start gotosocial`` command. Wait patiently for any migrations to run, do not interrupt migrations or you could leave your db in a broken state and will have to restore from backup. If it's not starting, investigate errors in the supervisord logfile located in ``~/tmp``. Otherwise have fun using the latest version and consider removing your backup after some days.