home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 13 Mar 2020 23:47:41 +0000 (00:47 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 13 Mar 2020 23:47:41 +0000 (00:47 +0100)
buster/setup_scripts/setup_pleroma_otp.sh
buster/setup_scripts/setup_pleroma_source.sh

index b22adcfc00613f1d51f2e14b6b76806e50e344a6..7a38d79398c543ce64fc07c238ce553e77fac3b6 100755 (executable)
@@ -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 <https://git.pleroma.social/pleroma/pleroma/issues/1616>
+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
index fb390b404dfc0d843279402b1366768eaa76bcde..2385fb402313b29e5d0f9e769bc8eb1c3d06c45f 100755 (executable)
@@ -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 \