mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
get logs in case of errors
This commit is contained in:
parent
61109608e7
commit
65dc5ae2d9
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
|
|||
pushd "$NETDATA_TMPDIR"
|
||||
# the installer.sh script will append "netdata" after the --install-prefix arg
|
||||
if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
|
||||
tail -n50 $tmplog
|
||||
cat $tmplog
|
||||
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
|
||||
fi
|
||||
popd
|
||||
|
|
|
@ -34,7 +34,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
|
|||
pushd "$NETDATA_TMPDIR"
|
||||
# the installer.sh script will append "netdata" after the --install-prefix arg
|
||||
if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
|
||||
tail -n50 $tmplog
|
||||
cat $tmplog
|
||||
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
|
||||
fi
|
||||
popd
|
||||
|
|
|
@ -39,7 +39,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
|
|||
pushd "$NETDATA_TMPDIR"
|
||||
# the installer.sh script will append "netdata" after the --install-prefix arg
|
||||
if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
|
||||
tail -n50 $tmplog
|
||||
cat $tmplog
|
||||
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
|
||||
fi
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue