Iâm running Armbian. Is it recommended to upgrade to bullseye by means of sudo ncp-dist-upgrade, or rather the Armbian-way (which I didnât sort out yet)?
Just made an successful ncp-dist-upgrade to Bullseye on NCP v1.47.2 on Rock64 board. Thanks to all the developers.
Then I upgraded kernel from legacy(4.4) to current (5.15.35-rockchip64) and that broke booting from USB3-SSD
Error
Begin: Running /scripts/local-block ⊠done.
Begin: Running /scripts/local-block ⊠done.
Gave up waiting for root file system device âŠ
ALERT uuid=⊠does not exist. Dropping to a shell!
Booting from USB2-attached SSD still works. Plugging device in USB3 after boot also works⊠Looks like a bug in armbian/kernel/bootloader(?) described here
Be prepared, Rock64 owners.
Hi everyone! little premise, I am really a beginner, but until now for a couple of years I could use Nextcloud on a RaspberryPi 4 with lot of fun
I tried the update as suggested, with ncp-dist-upgrade to Bullseye, and during the installation process I had the following error:
Calculating upgrade⊠Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6+rpi1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Something went wrong. Fix it and try again
I tried rolling back to Buster and I could run the upgrade succesfully after:
apt-get update
apt install gcc-8-base (probably useless but I did itâŠ)
I just tried to run the ncp-dist-upgrade job. and got the following error:
sed: canât read /etc/systemd/system/dhcpcd.service.d/wait.conf: No such file or directory Something went wrong. Fix it and try again
I found out the directory dhcpcd.service.d was missing. i only have a file dhcpcd5.service in the system directory.
I am not really a developer ⊠more an user :). You have a clue how i can solve this? Many thanks in advance
Below the ncp-report output. Report is too big to add in total. I try to cut it in a decent way.
<â! Paste this in GitHub report â
NextCloudPi diagnostics
sudo: php: command not found
NextCloudPi version v1.47.2
NextCloudPi image NextCloudPi_02-06-18
OS Raspbian GNU/Linux 10. 5.10.103-v7+ (armv7l)
automount yes
USB devices sda
datadir /media/USBdrive/ncdata
data in SD no
data filesystem ext2/ext3
data disk usage 245G/2.7T
rootfs usage 3.2G/15G
swapfile /media/c9af4f9f-f6c6-4304-b1b9-38c32ac2569a/swap
dbdir /media/USBdrive/ncdatabase
Nextcloud check error
HTTPD service up
PHP service down
MariaDB service up
Redis service up
HPB service down
Postfix service up
internet check ok
port check 80 closed
port check 443 closed
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
interface enxb827eb818da6
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 117days
Nextcloud configuration
sudo: php: command not found
HTTPd logs
[Thu Jul 07 13:11:01.233734 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:01.383267 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:01.383753 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:01.469134 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:05.420397 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /css/ncp.css failed, reason: unable to get the remote host name, referer: https://192.168.2.15:4443/?app=nc-previews-auto
[Thu Jul 07 13:11:07.183711 2022] [authz_host:error] [pid 12507:tid 1749468160] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:07.514724 2022] [authz_host:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:07.599604 2022] [authz_host:error] [pid 12507:tid 1858573312] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:18.052571 2022] [authz_host:error] [pid 12507:tid 1774646272] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:19.687274 2022] [authz_host:error] [pid 12507:tid 1749468160] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:21.430283 2022] [authz_host:error] [pid 12507:tid 1749468160] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:11:21.430311 2022] [authz_host:error] [pid 12507:tid 1774646272] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /img/green-circle.svg failed, reason: unable to get the remote host name, referer: https://192.168.2.15:4443/css/ncp.css
[Thu Jul 07 13:11:21.502004 2022] [authz_host:error] [pid 12507:tid 1749468160] [client 192.168.2.55:52522] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Jul 07 13:26:38.204978 2022] [proxy_fcgi:error] [pid 12507:tid 1766253568] [client 192.168.2.55:52522] AH01067: Failed to read FastCGI header
[Thu Jul 07 13:26:38.208786 2022] [proxy_fcgi:error] [pid 12507:tid 1766253568] (104)Connection reset by peer: [client 192.168.2.55:52522] AH01075: Error dispatching request to :4443:
[Thu Jul 07 13:26:40.269050 2022] [mpm_event:notice] [pid 875:tid 1996238272] AH00493: SIGUSR1 received. Doing graceful restart
[Thu Jul 07 13:26:40.401350 2022] [ssl:warn] [pid 875:tid 1996238272] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 07 13:26:40.407900 2022] [mpm_event:notice] [pid 875:tid 1996238272] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Thu Jul 07 13:26:40.407957 2022] [core:notice] [pid 875:tid 1996238272] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jul 07 13:26:41.315982 2022] [authz_host:error] [pid 24006:tid 1682277376] [client 192.168.2.55:54908] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
I found how to create the wait.conf file ⊠via sudo raspi-conf, select wait for network connection and reboot. But now i cant restart ncp-dist-upgrade. Anyone knows what to do now? Thanks.
For future reference. I had a similar problem still after changing the wait.conf and found that my php 7.3 was no longer working after the upgrade. I followed this guide to upgrade to 7.4. Afterwards I had to disable the maintenance mode manually by changing âmaintenanceâ to âfalseâ under /var/www/nextcloud/config/config.php.