kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch '934-extension' into 'master'
Fix #934: Documented how to create DB extension by hand in case of permission... See merge request funkwhale/funkwhale!926environments/review-front-594-ofn00k/deployments/3014
commit
518fb73a07
|
@ -0,0 +1 @@
|
|||
Documented how to create DB extension by hand in case of permission error during migrations (#934)
|
|
@ -192,6 +192,12 @@ match what is described in :doc:`/installation/debian`:
|
|||
# restart the services
|
||||
sudo systemctl start funkwhale.target
|
||||
|
||||
.. note::
|
||||
If you see a PermissionError when running the ``migrate`` command, try running the following commands by hand, and relaunch the migrations::
|
||||
|
||||
sudo -u postgres psql funkwhale -c 'CREATE EXTENSION IF NOT EXISTS "citext";'
|
||||
sudo -u postgres psql funkwhale -c 'CREATE EXTENSION IF NOT EXISTS "unaccent";'
|
||||
|
||||
.. warning::
|
||||
|
||||
You may sometimes get the following warning while applying migrations::
|
||||
|
|
|
@ -66,6 +66,7 @@ for Funkwhale to work properly:
|
|||
.. code-block:: shell
|
||||
|
||||
sudo -u postgres psql funkwhale -c 'CREATE EXTENSION "unaccent";'
|
||||
sudo -u postgres psql funkwhale -c 'CREATE EXTENSION "citext";'
|
||||
|
||||
|
||||
Cache setup (Redis)
|
||||
|
|
Ładowanie…
Reference in New Issue