Hello, I have Cubieboard with sata hdd (Alwinner A20, 2Gb RAM).
Iām trying to install NextCloud on Armbian Stretch , using armbian-config.
It fails on installation:
Reading 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/ubuser
Installing NextCloudPiā¦
ERROR: distro not supported:
Debian GNU/Linux 9 \n \l
So, is this impossible now?
Ok, Iāve installed Armbian Buster.
On Armbian Buster install process lasts for a long time and finishes with some errors:
Setting 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
I 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.