Ubuser
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Ubuser
-
-
2 hours ago, nachoparker said:
@Ubuser what is the filesystem in `/var`?
Quoteubuser@ncp:~$ df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 145G 1.2G 142G 1% /
ubuser@ncp:~$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
udev devtmpfs 959996 0 959996 0% /dev
tmpfs tmpfs 205844 9236 196608 5% /run
/dev/sda1 btrfs 151552000 1257916 148334596 1% /
tmpfs tmpfs 1029208 0 1029208 0% /dev/shm
tmpfs tmpfs 5120 4 5116 1% /run/lock
tmpfs tmpfs 1029208 0 1029208 0% /sys/fs/cgroup
tmpfs tmpfs 1029208 4 1029204 1% /tmp
/dev/mmcblk0p1 ext4 7532668 971984 6456680 14% /media/mmcboot
/dev/sda2 ext4 4596980 2115676 2228072 49% /media/swap
/dev/zram0 ext4 49584 1024 44976 3% /var/log
tmpfs tmpfs 205840 0 205840 0% /run/user/1000
-
On Armbian Buster install process lasts for a long time and finishes with some errors:
QuoteSetting up dphys-swapfile (20100506-5) ...
Job for dphys-swapfile.service failed because the control process exited with error code.
See "systemctl status dphys-swapfile.service" and "journalctl -xe" for details.
invoke-rc.d: initscript dphys-swapfile, action "start" failed.
* dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file
Loaded: loaded (/lib/systemd/system/dphys-swapfile.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-09-18 14:05:31 MSK; 104ms ago
Docs: man:dphys-swapfile(8)
Process: 651 ExecStart=/sbin/dphys-swapfile setup (code=exited, status=0/SUCCESS)
Process: 683 ExecStart=/sbin/dphys-swapfile swapon (code=exited, status=255/EXCEPTION)
Main PID: 683 (code=exited, status=255/EXCEPTION)Sep 18 14:05:31 cubietruck systemd[1]: Starting dphys-swapfile - set up, mount/unmount, and delete a swap file...
Sep 18 14:05:31 cubietruck dphys-swapfile[651]: computing size, want /var/swap=4040MByte, restricting to config limit: 2048MBytes, generating swapfile ... of 2048MBytes
Sep 18 14:05:31 cubietruck dphys-swapfile[683]: swapon: /var/swap: swapon failed: Invalid argument
Sep 18 14:05:31 cubietruck systemd[1]: dphys-swapfile.service: Main process exited, code=exited, status=255/EXCEPTION
Sep 18 14:05:31 cubietruck systemd[1]: dphys-swapfile.service: Failed with result 'exit-code'.
Sep 18 14:05:31 cubietruck systemd[1]: Failed to start dphys-swapfile - set up, mount/unmount, and delete a swap file.
dpkg: error processing package dphys-swapfile (--configure):
installed dphys-swapfile package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u1) ...
Errors were encountered while processing:
dphys-swapfile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running nc-init
Setting up a clean Nextcloud instance... wait until message 'NC init done'
Setting up database...
Setting up Nextcloud...
Nextcloud was successfully installed
Set mode for background jobs to 'cron'
System config value tempdirectory set to string /var/www/nextcloud/data/tmp
System config value mysql.utf8mb4 set to boolean true
System config value trusted_domains => 11 set to string 178.57.XX.XX
System config value trusted_domains => 1 set to string 178.57.XX.XX
System config value trusted_domains => 5 set to string nextcloudpi.local
System config value trusted_domains => 7 set to string nextcloudpi
System config value trusted_domains => 8 set to string nextcloudpi.lan
System config value mail_smtpmode set to string sendmail
System config value mail_smtpauthtype set to string LOGIN
System config value mail_from_address set to string admin
System config value mail_domain set to string ownyourbits.com
cp: cannot stat '/var/www/ncp-app': No such file or directory
Softy - Armbian post deployment scripts, https://www.armbian.comI do not know if these are critical errors or not. I have activated 4GB swap partition /dev/sda2 on the hard drive in /etc/fstab.
The final status is "Nextcloud was successfully installed", but http://ip or http://ip/nextcloud redirects to https and shows "Not Found. The requested URL / was not found on this server."
I don't know what to do next, help please.
-
Hello, I'm trying to install NextCloud on Armbian Stretch , using armbian-config. The board is Cubietruck.
It fails on installation:
QuoteReading state information... Done
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
sudo is already the newest version (1.8.19p1-2.1).
wget is already the newest version (1.18-5+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/tmp/nextcloudpi.2y1pVz /home/ubuser
/home/ubuserInstalling NextCloudPi...
ERROR: distro not supported:
Debian GNU/Linux 9 \n \lSofty - Armbian post deployment scripts, https://www.armbian.com
So, this is impossible now?
I've tried to install it on Armbian Buster before, but got some errors too. I'll try once more and post log there, any help is appreciated.
NextCloudPi on Armbian ( tested odroid HC1 )
in Advanced users - Development
Posted
@nachoparker
There is my topic: https://help.nextcloud.com/t/help-please-to-install-ncp-on-armbian-cubietruck/