committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 165 deletions
-
26README.md
-
27README_fr.md
-
13conf/owncloud_migration
-
45conf/owncloud_post_migration.sh
-
4manifest.json
-
75scripts/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 |
#!/bin/bash |
||||
|
|
||||
# Last available Nextcloud version |
# Last available Nextcloud version |
||||
next_version="20.0.4" |
|
||||
|
next_version="20.0.5" |
||||
|
|
||||
# Nextcloud tarball checksum sha256 |
# Nextcloud tarball checksum sha256 |
||||
nextcloud_source_sha256="269f1622e326f5d11e387d3861aad4e2b0e79334ae97eed5a7b3352ba7661420" |
|
||||
|
nextcloud_source_sha256="5c70dd33024012a1651fd099133d052d129a4dadc6935f44bb9c3e2b360befe3" |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue