mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
armbian.sh: Add debug output on failure
This commit is contained in:
parent
6ed2c17b06
commit
502a5c8be3
@ -33,7 +33,12 @@ echo -e "\nInstalling NextCloudPi"
|
|||||||
|
|
||||||
hostname -F /etc/hostname # fix 'sudo resolve host' errors
|
hostname -F /etc/hostname # fix 'sudo resolve host' errors
|
||||||
|
|
||||||
CODE_DIR="$(pwd)" DBG=x bash install.sh
|
CODE_DIR="$(pwd)" DBG=x bash install.sh || {
|
||||||
|
echo "SOMETHING WENT WRONG, EXITING..."
|
||||||
|
! [ -f /var/log/redis.log ] || cat /var/log/redis.log
|
||||||
|
sleep 120
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
echo -e "\nPostinstall..."
|
echo -e "\nPostinstall..."
|
||||||
run_app_unsafe post-inst.sh
|
run_app_unsafe post-inst.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user