From f90ea9bbdf5f2bd00111c6140f31136ba80d23b1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 14 Mar 2020 00:47:41 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/setup_pleroma_otp.sh | 4 ++++ buster/setup_scripts/setup_pleroma_source.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/buster/setup_scripts/setup_pleroma_otp.sh b/buster/setup_scripts/setup_pleroma_otp.sh index b22adcf..7a38d79 100755 --- a/buster/setup_scripts/setup_pleroma_otp.sh +++ b/buster/setup_scripts/setup_pleroma_otp.sh @@ -50,6 +50,7 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen \ --dbhost localhost \ --dbname pleroma \ --dbuser pleroma \ +--db-configurable N \ --rum N \ --indexable Y \ --uploads-dir /var/lib/pleroma/uploads \ @@ -76,6 +77,9 @@ chown pleroma:nogroup /var/lib/pleroma/static/pixel.png #cp "${config_tree_prefix}/other_files/pleroma_terms-of-service.html" /var/lib/pleroma/static/static/terms-of-service.html #cp "${config_tree_prefix}/other_files/pleroma_robots.txt" /var/lib/pleroma/static/robots.txt +# Hack to fix +curl https://git.pleroma.social/pleroma/pleroma/-/raw/4271cfb81a8983f5ec6a878cab1fb3fbd164245d/priv/static/static/static-fe.css?inline=false >> /var/lib/pleroma/static/static/static-fe.css + # Prepare NGINX config for Pleroma. cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx sed -i "s/example\.tld/${domain}/g" /etc/nginx/sites-available/pleroma.nginx diff --git a/buster/setup_scripts/setup_pleroma_source.sh b/buster/setup_scripts/setup_pleroma_source.sh index fb390b4..2385fb4 100755 --- a/buster/setup_scripts/setup_pleroma_source.sh +++ b/buster/setup_scripts/setup_pleroma_source.sh @@ -36,7 +36,7 @@ mix pleroma.instance gen \ --output config/generated_config.exs \ --output-psql /tmp/setup_db.psql \ --domain ${domain} \ ---instance-name plom-roma \ +--instance-name plomroma \ --admin-email ${mail} \ --notify-email ${mail} \ --dbhost localhost \ -- 2.30.2