Tried to update to v1.0.1 through āncp-configā or type āsudo ncp-updateā but i always have:
root@nextcloudpi:~# sudo ncp-update
Downloading updates
Performing updates
Running nc-autoupdate-nc
/usr/local/etc/library.sh: line 117: echo: write error: No space left on device
root@nextcloudpi:~#
same with NextcloudPi Panel (green led but no output in the white window)
same after rebooting Odroid HC2
Note: if you are logged in as root, there is no need for sudo
Sudo is used for user pi or other privileged users, that are members of sudo group.
Edit: @groby forgot to ask, also useful for devs to have logs, if possible to get output of ncp,log, on pastbin.com or similar, and add link to it below, thank you.
Hello!
I got the same error. Canāt update NCP to v1.0.2 neither.
root@nextcloudpi:~# ncp-update
Downloading updates
Performing updates
Running nc-autoupdate-nc
/usr/local/etc/library.sh: line 117: echo: write error: No space left on device
When trying to open a log file, the following error appears:
[ Error writing lock file ./.ncp.log.swp: No space left on device ]
Log file seems to be completely empty but iām not sure if it canāt be read because of the missing lock file (?)
NextCloudPi v1.0.1 is outdated
update to v1.0.2 through 'ncp-config' or type 'sudo ncp-update'
You have new mail.
root@nextcloudpi:~# du -shc /var/log/*?
0 /var/log/alternatives.log
4.0K /var/log/apache2
4.0K /var/log/apt
0 /var/log/armbian-hardware-monitor.log
4.0K /var/log/auth.log
0 /var/log/btmp
0 /var/log/daemon.log
0 /var/log/debug
0 /var/log/dpkg.log
0 /var/log/fail2ban.log
0 /var/log/kern.log
4.0K /var/log/letsencrypt
0 /var/log/lynis.log
48K /var/log/lynis-report.dat
48M /var/log/mail.info
0 /var/log/mail.log
0 /var/log/mail.warn
0 /var/log/messages
4.0K /var/log/mysql
0 /var/log/ncp.log
4.0K /var/log/ntpstats
0 /var/log/php7.2-fpm.log
4.0K /var/log/redis
68K /var/log/samba
0 /var/log/syslog
4.0K /var/log/sysstat
0 /var/log/ufw.log
4.0K /var/log/unattended-upgrades
0 /var/log/user.log
4.0K /var/log/wicd
0 /var/log/wtmp
48M total
root@nextcloudpi:~#
i tried to delete āapache2 logsā and āncp.logā but looks like āmai.infoā is taking space.
Donāt know what to delete, i donāt want to mess everything.
Looks like Fail2ban alert didnāt like my protonmail address, i had tons of:
Oct 4 03:33:37 nextcloudpi postfix/pickup[1887]: 5221A1950: uid=0 from=ncp-fail2ban@ownyourbits.com
Oct 4 03:33:37 nextcloudpi postfix/cleanup[14061]: 5221A1950: message-id=201810015516516221A1950@65f4123548
Oct 4 03:33:37 nextcloudpi postfix/qmgr[1888]: 5221A1950: from=ncp-fail2ban@ownyourbits.com, size=3005, nrcpt=1 (queue active)
Oct 4 03:34:07 nextcloudpi postfix/smtp[14063]: connect to mail.protonmail.ch[185.70.40.101]:25: Connection timed out
Oct 4 03:34:37 nextcloudpi postfix/smtp[14063]: connect to mailsec.protonmail.ch[185.70.40.102]:25: Connection timed out
i changed this to the email address i configured in nextcloud.
anyway i did sudo rm /var/log/mail.info
but still canāt update
:~# sudo rm /var/log/mail.info
You have new mail in /var/mail/root
root@nextcloudpi:~# ncp-update
Downloading updates
Performing updates
Running nc-autoupdate-nc
/usr/local/etc/library.sh: line 117: echo: write error: No space left on device
root@nextcloudpi:~# du -shc /var/log/*
0 /var/log/alternatives.log
4.0K /var/log/apache2
4.0K /var/log/apt
0 /var/log/armbian-hardware-monitor.log
4.0K /var/log/auth.log
0 /var/log/btmp
0 /var/log/daemon.log
0 /var/log/debug
0 /var/log/dpkg.log
0 /var/log/fail2ban.log
0 /var/log/kern.log
4.0K /var/log/letsencrypt
0 /var/log/lynis.log
48K /var/log/lynis-report.dat
0 /var/log/mail.log
0 /var/log/mail.warn
0 /var/log/messages
4.0K /var/log/mysql
0 /var/log/ncp.log
4.0K /var/log/ntpstats
0 /var/log/php7.2-fpm.log
4.0K /var/log/redis
68K /var/log/samba
0 /var/log/syslog
4.0K /var/log/sysstat
0 /var/log/ufw.log
4.0K /var/log/unattended-upgrades
0 /var/log/user.log
4.0K /var/log/wicd
0 /var/log/wtmp
156K total
i 've checked my smtp setup now looks fine. and i just left one admin user in nextcloud.
(previously iāve transfered and deleted āncpā who was the default admin in nextcloud after the first setup, to another admin name).
what should i delete in /var/log.hdd?