Skip to content
Snippets Groups Projects
Commit 8e83c1a1 authored by Bob Mottram's avatar Bob Mottram
Browse files

Extra database mods needed for peertube upgrade

parent 98826fbd
No related branches found
No related tags found
No related merge requests found
......@@ -471,6 +471,11 @@ function upgrade_peertube {
#sudo -u peertube ./upgrade.sh $PEERTUBE_DIR
chown -R peertube:peertube $PEERTUBE_DIR
cd /etc/postgresql || exit 34586356
sudo -u postgres psql peertube -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
sudo -u postgres psql peertube -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
systemctl start peertube
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment