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

This commit is contained in:
yalh76 2020-03-11 00:31:19 +01:00
parent 5f8f06ace8
commit 0693dd5efd
6 changed files with 13 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

@ -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"