migrate pleroma database

This commit is contained in:
Bob Mottram 2018-03-08 14:04:43 +00:00
parent 2ad3c4037f
commit 5826c5112a
1 changed files with 4 additions and 0 deletions

View File

@ -755,8 +755,12 @@ function upgrade_pleroma {
fi
sudo -u pleroma mix deps.get
pleroma_recompile
# migrate database
sudo -u pleroma mix deps.clean --build mime
expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS"
create_pleroma_blocklist