1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Upgrade to 2.0.0

Upgrade to 2.0.0
This commit is contained in:
yalh76 2020-03-11 23:20:17 +01:00 committed by GitHub
commit 5c4f143575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 15 deletions

View file

@ -25,7 +25,7 @@ For user friendly details about Pleroma: [see here](https://blog.soykaf.com/post
- Tootdon (Android + iOS)
- Tootle (iOS)
**Shipped version:** 1.1.9
**Shipped version:** 2.0.0
## Important points to read before installing

View file

@ -27,6 +27,8 @@
upgrade=1 from_commit=3e88dd59d8e5593fb60a86ab955aafde76abdf2e
# 1.1.8
upgrade=1 from_commit=0a839da33898b7a58f12a27b5b51799694021353
# 1.1.9
upgrade=1 from_commit=eedad6977760c31d7fb94ced247b9136824da580
backup_restore=1
multi_instance=0
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/94058/artifacts/download
SOURCE_SUM=cc0f4af2cc5f87536a1049f45dbfb7ee38d19bbbf9a16aae08cf350b7936a8b4
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/100179/artifacts/download
SOURCE_SUM=ed4256dd42f6dcabbf61f92e8238a20c83802356f7da44ff80b5d1cf209d3292
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=pleroma-v1.1.9-arm.zip
SOURCE_FILENAME=pleroma-v2.0.0-arm.zip

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/94060/artifacts/download
SOURCE_SUM=2134613e3f6b2ab0a1b14279a682aaed1aec7cdcd4121d35ebec9f50edd08d30
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/100181/artifacts/download
SOURCE_SUM=aa0cfdc2634eb8f9e8ef26bcf01ba8280f41373138b8f14fd5129815cbf76c02
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=pleroma-v1.1.9-arm64.zip
SOURCE_FILENAME=pleroma-v2.0.0-arm64.zip

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/94056/artifacts/download
SOURCE_SUM=5f9b4ce809885b9ba45702aa1bb8de142a86be3a1913b089de7ea2a7a330af29
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/jobs/100177/artifacts/download
SOURCE_SUM=daada8893d8afa515c4c50967d411d39186632d540851ff9e8581ffef02b417c
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=pleroma-v1.1.9-x86-64.zip
SOURCE_FILENAME=pleroma-v2.0.0-x86-64.zip

View file

@ -6,7 +6,7 @@
"en": "Pleroma is an OStatus-compatible social networking server written in Elixir, compatible with GNU Social and Mastodon",
"fr": "Pleroma est un réseau social écrit en Elixir, compatible avec OStatus, GNU Social et Mastodon"
},
"version": "1.1.9~ynh1",
"version": "2.0.0~ynh1",
"url": "https://git.pleroma.social/pleroma/pleroma",
"license": "AGPL-3.0-only",
"maintainer": [

View file

@ -195,9 +195,6 @@ ynh_print_info --message="Making setup..."
chown -R "$app":"$app" "$final_path"
pushd $final_path/$app
#Workaround for static-dir error
ynh_replace_string --match_string="_dir" --replace_string="" --target_file="/var/www/pleroma/pleroma/releases/1.1.9/releases.exs"
#Generate instance
su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl instance gen --force \
--output $config \
@ -215,7 +212,8 @@ pushd $final_path/$app
--uploads-dir $datadir/uploads \
--static-dir $datadir/static \
--listen-ip 127.0.0.1 \
--listen-port $port"
--listen-port $port \
--db-configurable Y"
su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate"