diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index aded581..de2af82 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,12 +1,5 @@ -* Any known limitations, constrains or stuff not working, such as (but not limited to): - * requiring a full dedicated domain ? - * architectures not supported ? - * not-working single-sign on or LDAP integration ? - * the app requires an important amount of RAM / disk / .. to install or to work properly - * etc... +* How to post-install: + * The database credentials are send to the admin be email. -* Other infos that people should be aware of, such as: - * any specific step to perform after installing (such as manually finishing the install, specific admin credentials, ...) - * how to configure / administrate the application if it ain't obvious - * upgrade process / specificities / things to be aware of ? - * security considerations ? +* How to upgrade: + * `https://www.domain.ltd/mybb/install/upgrade.php` and follow the post install. diff --git a/scripts/upgrade b/scripts/upgrade index 5fe48f5..a488297 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -70,22 +70,12 @@ ynh_system_user_create --username=$app --home_dir="$final_path" if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - # Create a temporary directory - #tmpdir="$(mktemp -d)" - - #cp -a "$final_path/inc/config.php" "$tmpdir/config.php" - #ynh_secure_remove --file="$final_path" # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" - #mv $final_path/Upload/* $final_path/ - #ynh_secure_remove --file="$final_path/Documentation" - #ynh_secure_remove --file="$final_path/Upload" - # If install exist, remove it - #if [ -d "$final_path/install" ]; then - # ynh_secure_remove --file="$final_path/install" - #fi - #cp -a "$tmpdir/config.php" "$final_path/inc/config.php" + + #This remoses the lock to do the post upgrade process. + ynh_secure_remove --file="$final_path/install/lock" fi chmod 750 "$final_path"