No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
11 changed files with 44 additions and 193 deletions
-
28README.md
-
29README_fr.md
-
3conf/config.json
-
4conf/nginx.conf
-
13conf/owncloud_migration
-
45conf/owncloud_post_migration.sh
-
6manifest.json
-
8pull_request_template.md
-
19scripts/_common.sh
-
76scripts/upgrade
-
4scripts/upgrade.d/upgrade.last.sh
@ -1,13 +0,0 @@ |
|||
# File to migrate from Owncloud |
|||
|
|||
# Final path |
|||
/var/www/$app |
|||
|
|||
# Data directory |
|||
/home/yunohost.app/$app |
|||
|
|||
# Nginx config |
|||
/etc/nginx/conf.d/$domain.d/$app.conf |
|||
|
|||
# php-fpm config |
|||
/etc/php5/fpm/pool.d/$app.conf |
|||
@ -1,45 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
# Ending the migration process from Owncloud to Nextcloud |
|||
|
|||
set -u |
|||
|
|||
#================================================= |
|||
# IMPORT GENERIC HELPERS |
|||
#================================================= |
|||
|
|||
source /usr/share/yunohost/helpers |
|||
|
|||
#================================================= |
|||
# SET VARIABLES |
|||
#================================================= |
|||
|
|||
old_app="__OLD_APP__" |
|||
new_app="__NEW_APP__" |
|||
script_name="$0" |
|||
|
|||
#================================================= |
|||
# MOVE HOOKS |
|||
#================================================= |
|||
|
|||
hooks_dir="/etc/yunohost/hooks.d/" |
|||
mv "$hooks_dir/post_user_create/50-$old_app" "$hooks_dir/post_user_create/50-$new_app" |
|||
|
|||
#================================================= |
|||
# DELETE OLD APP'S SETTINGS |
|||
#================================================= |
|||
|
|||
ynh_secure_remove "/etc/yunohost/apps/$old_app" |
|||
yunohost app ssowatconf |
|||
|
|||
#================================================= |
|||
# REMOVE THE OLD USER |
|||
#================================================= |
|||
|
|||
ynh_system_user_delete $old_app |
|||
|
|||
#================================================= |
|||
# DELETE THIS SCRIPT |
|||
#================================================= |
|||
|
|||
echo "rm $script_name" | at now + 1 minutes |
|||
@ -1,7 +1,7 @@ |
|||
#!/bin/bash |
|||
|
|||
# Last available Nextcloud version |
|||
next_version="20.0.4" |
|||
next_version="20.0.7" |
|||
|
|||
# Nextcloud tarball checksum sha256 |
|||
nextcloud_source_sha256="269f1622e326f5d11e387d3861aad4e2b0e79334ae97eed5a7b3352ba7661420" |
|||
nextcloud_source_sha256="8ced82b772bf0af67d5be1323e40f977429bc0a2bcc864095efc78767500b72b" |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue