Open Tchiimy opened 1 year ago
Did you fix you linked above solve your problem?
Personally, I never trust the webui and only use ncp-config
directly over ssh, but I'm old school like that.
Did you fix you linked above solve your problem?
* Or, try reloading the browser. * Or, try clearing your cache.
Personally, I never trust the webui and only use
ncp-config
directly over ssh, but I'm old school like that.
Yeah I tried these bit it didn't worked for me, so I directly stop the maintenance mode of Nextcloud by modifing the maintenance mode in the config.php file :
sudo nano /portainer/Files/AppData/Config/ncdata/nextcloud/config/config.php
'maintenance' => false
But I'm curious to see if others have the same problem as me or no !
The same issue came up when I tested v1.50.5 (thecalcaholic/ncp-internal-arm64:3851423807-testing). I've updated from v1.50.2.
In the logs I found the following error message:
[Fri Jan 06 16:04:55.354686 2023] [proxy_fcgi:error] [pid 331:tid 281473324396928] [client 192.168.2.212:61945] AH01071: Got error 'PHP message: PHP Warning: scandir(/usr/local/bin/ncp/ncp-backup): Failed to open directory: Not a directory in /var/www/ncp-web/elements.php on line 178PHP message: PHP Warning: scandir(): (errno 20): Not a directory in /var/www/ncp-web/elements.php on line 178PHP message: PHP Fatal error: Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, bool given in /var/www/ncp-web/elements.php:178\nStack trace:\n#0 /var/www/ncp-web/elements.php(178): array_diff()\n#1 /var/www/ncp-web/index.php(236): print_sidebar()\n#2 {main}\n thrown in /var/www/ncp-web/elements.php on line 178', referer: https://192.168.2.100:44443/wizard/
The elements.php script tries to open /usr/local/bin/ncp/ncp-backup as a directory, but this is not a directory. Here the content of /usr/local/bin/ncp:
# ls -la /usr/local/bin/ncp/
total 36
drwxr-xr-x 9 root root 4096 Jan 6 01:42 .
drwxr-xr-x 3 root root 4096 Jan 6 01:44 ..
drwxr-xr-x 2 root root 4096 Jan 6 01:45 BACKUPS
drwxr-xr-x 2 root root 4096 Jan 6 01:46 CONFIG
drwxr-xr-x 2 root root 4096 Jan 6 01:46 NETWORKING
drwxr-xr-x 2 root root 4096 Jan 6 01:45 SECURITY
drwxr-xr-x 2 root root 4096 Jan 6 01:45 SYSTEM
drwxr-xr-x 2 root root 4096 Jan 6 01:45 TOOLS
drwxr-xr-x 2 root root 4096 Jan 6 01:45 UPDATES
lrwxrwxrwx 1 root root 25 Jan 6 01:40 ncp-backup -> /usr/local/bin/ncp-backup
lrwxrwxrwx 1 root root 26 Jan 6 01:42 ncp-restore -> /usr/local/bin/ncp-restore
Could this be the reason for the blank web interface?
Can confirm this issue on Docker image for amd64 as well, there is indeed an issue with the PHP array function trying to read a directory but is pointing to a file (or maybe a symlink?)
Edit: Tobias is already working on it, hadn't seen that in the matrix chat
The original issue is something different, since the bug encountered by @powerflo and @ZendaiOwl is not even in master yet
Oh my bad, was just confirming the issue that powerflo encountered on the testing arm64 image happened on the amd64 as well :)
You had already started fixing that when I wrote tho
Don't worry, I just wanted to have this documented in the issue :)
@Tchiimy Do you still encounter this issue? If so, please add the output of ncp-report
ncp-report
Hmm I've pulled the latest image but I still have this problem :
Is it linked with my system or firefox ?
My ncp-report
:
`<--! Paste this in GitHub report -->
Can you give me the output of cat /var/log/apache2/error.log
I believe there's an invalid file in the config directory of the ncp apps (/data/ncp
)
Can you give me the output of
cat /var/log/apache2/error.log
I believe there's an invalid file in the config directory of the ncp apps (/data/ncp
)cat /var/log/apache2/error.log
Hmm I tried to do it via the command console of the container (portainer) and I got this :
root@ca11270d5d99:/# cat /var/log/apache2/error.log [Tue Jan 24 14:35:42.541769 2023] [ssl:error] [pid 324:tid 547642064912] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT] [Tue Jan 24 14:35:42.541876 2023] [ssl:error] [pid 324:tid 547642064912] AH02604: Unable to configure certificate localhost:4443:0 for stapling [Tue Jan 24 14:35:42.569590 2023] [ssl:error] [pid 325:tid 547642064912] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT] [Tue Jan 24 14:35:42.569664 2023] [ssl:error] [pid 325:tid 547642064912] AH02604: Unable to configure certificate localhost:4443:0 for stapling [Tue Jan 24 14:35:42.575066 2023] [mpm_event:notice] [pid 325:tid 547642064912] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations [Tue Jan 24 14:35:42.575182 2023] [core:notice] [pid 325:tid 547642064912] AH00094: Command line: '/usr/sbin/apache2' [Tue Jan 24 14:35:43.617377 2023] [authz_host:error] [pid 329:tid 547314712960] [client 172.17.0.1:34334] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:35:49.654471 2023] [authz_host:error] [pid 330:tid 547314712960] [client 172.17.0.1:34350] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:35:52.720875 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:35:53.140953 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:35:53.141610 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name [Tue Jan 24 14:35:53.363177 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name [Tue Jan 24 14:35:54.859076 2023] [authz_host:error] [pid 330:tid 546903667072] [client 172.17.0.1:56944] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:35:57.122295 2023] [proxy_fcgi:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01071: Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190' [Tue Jan 24 14:35:57.282576 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /img/view-close.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/css/ncp.css [Tue Jan 24 14:36:00.353169 2023] [authz_host:error] [pid 329:tid 547632361856] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:36:00.500710 2023] [authz_host:error] [pid 329:tid 547272749440] [client 172.17.0.1:55514] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:36:02.934874 2023] [authz_host:error] [pid 329:tid 547623969152] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:36:03.168216 2023] [authz_host:error] [pid 329:tid 547623969152] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:36:03.168626 2023] [authz_host:error] [pid 329:tid 547623969152] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:36:03.342724 2023] [authz_host:error] [pid 329:tid 547623969152] [client 10.201.174.4:56362] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name, referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:36:07.145120 2023] [proxy_fcgi:error] [pid 329:tid 547623969152] [client 10.201.174.4:56362] AH01071: Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190', referer: https://192.168.0.21:4444/wizard/ [Tue Jan 24 14:37:42.749056 2023] [authz_host:error] [pid 330:tid 547071455616] [client 172.17.0.1:44180] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:37:48.125224 2023] [authz_host:error] [pid 329:tid 547188822400] [client 172.17.0.1:44190] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:37:59.069939 2023] [authz_host:error] [pid 329:tid 547155251584] [client 172.17.0.1:49338] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:38:05.081577 2023] [authz_host:error] [pid 329:tid 547180429696] [client 172.17.0.1:45858] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:38:10.275559 2023] [authz_host:error] [pid 329:tid 547255964032] [client 172.17.0.1:37368] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Tue Jan 24 14:38:15.782863 2023] [authz_host:error] [pid 330:tid 547289534848] [client 172.17.0.1:37382] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
How else am I supposed to access it ?
Accessing it like that is totally fine.
That log didn't help, unfortunately. Can you provide the output of bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; jq "." "$cfg" > /dev/null; done'
?
Please use multiline code blocks for pasting the output. The syntax is like this:
```
your
multiline
code
```
bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; jq "." "$cfg" > /dev/null; done'
Okay I've got this :
root@ca11270d5d99:/# bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; jq "." "$cfg" > /dev/null; done'
/usr/local/etc/ncp-config.d/NFS.cfg
/usr/local/etc/ncp-config.d/SSH.cfg
/usr/local/etc/ncp-config.d/UFW.cfg
/usr/local/etc/ncp-config.d/clear-php-opcache.cfg
/usr/local/etc/ncp-config.d/dnsmasq.cfg
/usr/local/etc/ncp-config.d/duckDNS.cfg
/usr/local/etc/ncp-config.d/fail2ban.cfg
/usr/local/etc/ncp-config.d/freeDNS.cfg
/usr/local/etc/ncp-config.d/l10n
/usr/local/etc/ncp-config.d/letsencrypt.cfg
/usr/local/etc/ncp-config.d/metrics.cfg
/usr/local/etc/ncp-config.d/modsecurity.cfg
/usr/local/etc/ncp-config.d/namecheapDNS.cfg
/usr/local/etc/ncp-config.d/nc-admin.cfg
/usr/local/etc/ncp-config.d/nc-audit.cfg
/usr/local/etc/ncp-config.d/nc-automount.cfg
/usr/local/etc/ncp-config.d/nc-autoupdate-nc.cfg
/usr/local/etc/ncp-config.d/nc-autoupdate-ncp.cfg
/usr/local/etc/ncp-config.d/nc-backup-auto.cfg
/usr/local/etc/ncp-config.d/nc-backup.cfg
/usr/local/etc/ncp-config.d/nc-database.cfg
/usr/local/etc/ncp-config.d/nc-datadir.cfg
/usr/local/etc/ncp-config.d/nc-encrypt.cfg
/usr/local/etc/ncp-config.d/nc-export-ncp.cfg
/usr/local/etc/ncp-config.d/nc-fix-permissions.cfg
/usr/local/etc/ncp-config.d/nc-format-USB.cfg
/usr/local/etc/ncp-config.d/nc-forward-ports.cfg
/usr/local/etc/ncp-config.d/nc-hdd-monitor.cfg
/usr/local/etc/ncp-config.d/nc-hdd-test.cfg
/usr/local/etc/ncp-config.d/nc-httpsonly.cfg
/usr/local/etc/ncp-config.d/nc-import-ncp.cfg
/usr/local/etc/ncp-config.d/nc-info.cfg
/usr/local/etc/ncp-config.d/nc-init.cfg
/usr/local/etc/ncp-config.d/nc-limits.cfg
/usr/local/etc/ncp-config.d/nc-maintenance.cfg
/usr/local/etc/ncp-config.d/nc-nextcloud.cfg
/usr/local/etc/ncp-config.d/nc-notify-updates.cfg
/usr/local/etc/ncp-config.d/nc-passwd.cfg
/usr/local/etc/ncp-config.d/nc-prettyURL.cfg
/usr/local/etc/ncp-config.d/nc-previews-auto.cfg
/usr/local/etc/ncp-config.d/nc-previews.cfg
/usr/local/etc/ncp-config.d/nc-ramlogs.cfg
/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg
/usr/local/etc/ncp-config.d/nc-restore.cfg
/usr/local/etc/ncp-config.d/nc-rsync-auto.cfg
/usr/local/etc/ncp-config.d/nc-rsync.cfg
/usr/local/etc/ncp-config.d/nc-scan-auto.cfg
/usr/local/etc/ncp-config.d/nc-scan.cfg
/usr/local/etc/ncp-config.d/nc-snapshot-auto.cfg
/usr/local/etc/ncp-config.d/nc-snapshot-sync.cfg
/usr/local/etc/ncp-config.d/nc-snapshot.cfg
/usr/local/etc/ncp-config.d/nc-static-IP.cfg
/usr/local/etc/ncp-config.d/nc-swapfile.cfg
/usr/local/etc/ncp-config.d/nc-trusted-domains.cfg
/usr/local/etc/ncp-config.d/nc-trusted-proxies.cfg
/usr/local/etc/ncp-config.d/nc-update-nc-apps-auto.cfg
/usr/local/etc/ncp-config.d/nc-update-nc-apps.cfg
/usr/local/etc/ncp-config.d/nc-update-nextcloud.cfg
/usr/local/etc/ncp-config.d/nc-update.cfg
/usr/local/etc/ncp-config.d/nc-webui.cfg
/usr/local/etc/ncp-config.d/nc-wifi.cfg
/usr/local/etc/ncp-config.d/nc-zram.cfg
/usr/local/etc/ncp-config.d/no-ip.cfg
/usr/local/etc/ncp-config.d/samba.cfg
/usr/local/etc/ncp-config.d/spDYN.cfg
/usr/local/etc/ncp-config.d/unattended-upgrades.cfg
Hm okay, looks about right...
I have improved the sensitive of the command a bit. Can you retry with bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; { jq ".params" "$cfg" || echo "error" >&2; } | grep null > /dev/null && echo "missing params"; done'
and give me the result?
Here is the same problem since 1.51.0
Hm okay, looks about right...
I have improved the sensitive of the command a bit. Can you retry with
bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; { jq ".params" "$cfg" || echo "error" >&2; } | grep null > /dev/null && echo "missing params"; done'
and give me the result?
Here´s the result :
root@ca11270d5d99:/# bash -c 'for cfg in /usr/local/etc/ncp-config.d/*; do echo "$cfg"; { jq ".params" "$cfg" || echo "error" >&2; } | grep null > /dev/null && echo "missing params"; done'
/usr/local/etc/ncp-config.d/NFS.cfg
/usr/local/etc/ncp-config.d/SSH.cfg
/usr/local/etc/ncp-config.d/UFW.cfg
/usr/local/etc/ncp-config.d/clear-php-opcache.cfg
/usr/local/etc/ncp-config.d/dnsmasq.cfg
/usr/local/etc/ncp-config.d/duckDNS.cfg
/usr/local/etc/ncp-config.d/fail2ban.cfg
/usr/local/etc/ncp-config.d/freeDNS.cfg
/usr/local/etc/ncp-config.d/l10n
error
/usr/local/etc/ncp-config.d/letsencrypt.cfg
/usr/local/etc/ncp-config.d/metrics.cfg
/usr/local/etc/ncp-config.d/modsecurity.cfg
/usr/local/etc/ncp-config.d/namecheapDNS.cfg
/usr/local/etc/ncp-config.d/nc-admin.cfg
/usr/local/etc/ncp-config.d/nc-audit.cfg
/usr/local/etc/ncp-config.d/nc-automount.cfg
/usr/local/etc/ncp-config.d/nc-autoupdate-nc.cfg
/usr/local/etc/ncp-config.d/nc-autoupdate-ncp.cfg
/usr/local/etc/ncp-config.d/nc-backup-auto.cfg
/usr/local/etc/ncp-config.d/nc-backup.cfg
/usr/local/etc/ncp-config.d/nc-database.cfg
/usr/local/etc/ncp-config.d/nc-datadir.cfg
/usr/local/etc/ncp-config.d/nc-encrypt.cfg
/usr/local/etc/ncp-config.d/nc-export-ncp.cfg
/usr/local/etc/ncp-config.d/nc-fix-permissions.cfg
/usr/local/etc/ncp-config.d/nc-format-USB.cfg
/usr/local/etc/ncp-config.d/nc-forward-ports.cfg
/usr/local/etc/ncp-config.d/nc-hdd-monitor.cfg
/usr/local/etc/ncp-config.d/nc-hdd-test.cfg
/usr/local/etc/ncp-config.d/nc-httpsonly.cfg
/usr/local/etc/ncp-config.d/nc-import-ncp.cfg
/usr/local/etc/ncp-config.d/nc-info.cfg
/usr/local/etc/ncp-config.d/nc-init.cfg
/usr/local/etc/ncp-config.d/nc-limits.cfg
/usr/local/etc/ncp-config.d/nc-maintenance.cfg
/usr/local/etc/ncp-config.d/nc-nextcloud.cfg
/usr/local/etc/ncp-config.d/nc-notify-updates.cfg
/usr/local/etc/ncp-config.d/nc-passwd.cfg
/usr/local/etc/ncp-config.d/nc-prettyURL.cfg
/usr/local/etc/ncp-config.d/nc-previews-auto.cfg
/usr/local/etc/ncp-config.d/nc-previews.cfg
/usr/local/etc/ncp-config.d/nc-ramlogs.cfg
/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg
/usr/local/etc/ncp-config.d/nc-restore.cfg
/usr/local/etc/ncp-config.d/nc-rsync-auto.cfg
/usr/local/etc/ncp-config.d/nc-rsync.cfg
/usr/local/etc/ncp-config.d/nc-scan-auto.cfg
/usr/local/etc/ncp-config.d/nc-scan.cfg
/usr/local/etc/ncp-config.d/nc-snapshot-auto.cfg
/usr/local/etc/ncp-config.d/nc-snapshot-sync.cfg
/usr/local/etc/ncp-config.d/nc-snapshot.cfg
/usr/local/etc/ncp-config.d/nc-static-IP.cfg
/usr/local/etc/ncp-config.d/nc-swapfile.cfg
/usr/local/etc/ncp-config.d/nc-trusted-domains.cfg
/usr/local/etc/ncp-config.d/nc-trusted-proxies.cfg
/usr/local/etc/ncp-config.d/nc-update-nc-apps-auto.cfg
/usr/local/etc/ncp-config.d/nc-update-nc-apps.cfg
/usr/local/etc/ncp-config.d/nc-update-nextcloud.cfg
/usr/local/etc/ncp-config.d/nc-update.cfg
/usr/local/etc/ncp-config.d/nc-webui.cfg
/usr/local/etc/ncp-config.d/nc-wifi.cfg
/usr/local/etc/ncp-config.d/nc-zram.cfg
/usr/local/etc/ncp-config.d/no-ip.cfg
/usr/local/etc/ncp-config.d/samba.cfg
/usr/local/etc/ncp-config.d/spDYN.cfg
/usr/local/etc/ncp-config.d/unattended-upgrades.cfg
Hm, they all seem to be fine. In that case, maybe there's a script in your bin folder, that's not supposed to be there...
What's the output of bash -c 'ls -1 /usr/local/bin/ncp/*/*.sh'
?
For reference, this is how it should look like:
/usr/local/bin/ncp/BACKUPS/nc-backup-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-backup.sh
/usr/local/bin/ncp/BACKUPS/nc-export-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-import-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-restore.sh
/usr/local/bin/ncp/BACKUPS/nc-restore-snapshot.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync.sh
/usr/local/bin/ncp/BACKUPS/nc-snapshot-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-snapshot.sh
/usr/local/bin/ncp/BACKUPS/nc-snapshot-sync.sh
/usr/local/bin/ncp/CONFIG/nc-admin.sh
/usr/local/bin/ncp/CONFIG/nc-database.sh
/usr/local/bin/ncp/CONFIG/nc-datadir.sh
/usr/local/bin/ncp/CONFIG/nc-httpsonly.sh
/usr/local/bin/ncp/CONFIG/nc-init.sh
/usr/local/bin/ncp/CONFIG/nc-limits.sh
/usr/local/bin/ncp/CONFIG/nc-nextcloud.sh
/usr/local/bin/ncp/CONFIG/nc-passwd.sh
/usr/local/bin/ncp/CONFIG/nc-prettyURL.sh
/usr/local/bin/ncp/CONFIG/nc-previews-auto.sh
/usr/local/bin/ncp/CONFIG/nc-scan-auto.sh
/usr/local/bin/ncp/CONFIG/nc-trusted-domains.sh
/usr/local/bin/ncp/CONFIG/nc-webui.sh
/usr/local/bin/ncp/NETWORKING/dnsmasq.sh
/usr/local/bin/ncp/NETWORKING/duckDNS.sh
/usr/local/bin/ncp/NETWORKING/freeDNS.sh
/usr/local/bin/ncp/NETWORKING/letsencrypt.sh
/usr/local/bin/ncp/NETWORKING/namecheapDNS.sh
/usr/local/bin/ncp/NETWORKING/nc-forward-ports.sh
/usr/local/bin/ncp/NETWORKING/nc-static-IP.sh
/usr/local/bin/ncp/NETWORKING/nc-trusted-proxies.sh
/usr/local/bin/ncp/NETWORKING/NFS.sh
/usr/local/bin/ncp/NETWORKING/no-ip.sh
/usr/local/bin/ncp/NETWORKING/samba.sh
/usr/local/bin/ncp/NETWORKING/spDYN.sh
/usr/local/bin/ncp/NETWORKING/SSH.sh
/usr/local/bin/ncp/SECURITY/fail2ban.sh
/usr/local/bin/ncp/SECURITY/modsecurity.sh
/usr/local/bin/ncp/SECURITY/nc-audit.sh
/usr/local/bin/ncp/SECURITY/nc-encrypt.sh
/usr/local/bin/ncp/SECURITY/UFW.sh
/usr/local/bin/ncp/SYSTEM/metrics.sh
/usr/local/bin/ncp/SYSTEM/nc-automount.sh
/usr/local/bin/ncp/SYSTEM/nc-hdd-monitor.sh
/usr/local/bin/ncp/SYSTEM/nc-hdd-test.sh
/usr/local/bin/ncp/SYSTEM/nc-info.sh
/usr/local/bin/ncp/SYSTEM/nc-ramlogs.sh
/usr/local/bin/ncp/SYSTEM/nc-swapfile.sh
/usr/local/bin/ncp/SYSTEM/nc-wifi.sh
/usr/local/bin/ncp/SYSTEM/nc-zram.sh
/usr/local/bin/ncp/TOOLS/clear-php-opcache.sh
/usr/local/bin/ncp/TOOLS/nc-fix-permissions.sh
/usr/local/bin/ncp/TOOLS/nc-format-USB.sh
/usr/local/bin/ncp/TOOLS/nc-maintenance.sh
/usr/local/bin/ncp/TOOLS/nc-previews.sh
/usr/local/bin/ncp/TOOLS/nc-scan.sh
/usr/local/bin/ncp/UPDATES/nc-autoupdate-ncp.sh
/usr/local/bin/ncp/UPDATES/nc-autoupdate-nc.sh
/usr/local/bin/ncp/UPDATES/nc-notify-updates.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps-auto.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps.sh
/usr/local/bin/ncp/UPDATES/nc-update-nextcloud.sh
/usr/local/bin/ncp/UPDATES/nc-update.sh
/usr/local/bin/ncp/UPDATES/unattended-upgrades.sh
Hmm I have this :
root@ca11270d5d99:/# bash -c 'ls -1 /usr/local/bin/ncp/*/*.sh'
/usr/local/bin/ncp/BACKUPS/nc-backup-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-backup.sh
/usr/local/bin/ncp/BACKUPS/nc-export-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-import-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-restore.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync.sh
/usr/local/bin/ncp/CONFIG/nc-admin.sh
/usr/local/bin/ncp/CONFIG/nc-httpsonly.sh
/usr/local/bin/ncp/CONFIG/nc-limits.sh
/usr/local/bin/ncp/CONFIG/nc-passwd.sh
/usr/local/bin/ncp/CONFIG/nc-prettyURL.sh
/usr/local/bin/ncp/CONFIG/nc-previews-auto.sh
/usr/local/bin/ncp/CONFIG/nc-scan-auto.sh
/usr/local/bin/ncp/CONFIG/nc-trusted-domains.sh
/usr/local/bin/ncp/CONFIG/nc-webui.sh
/usr/local/bin/ncp/NETWORKING/dnsmasq.sh
/usr/local/bin/ncp/NETWORKING/duckDNS.sh
/usr/local/bin/ncp/NETWORKING/freeDNS.sh
/usr/local/bin/ncp/NETWORKING/letsencrypt.sh
/usr/local/bin/ncp/NETWORKING/namecheapDNS.sh
/usr/local/bin/ncp/NETWORKING/nc-forward-ports.sh
/usr/local/bin/ncp/NETWORKING/nc-trusted-proxies.sh
/usr/local/bin/ncp/NETWORKING/no-ip.sh
/usr/local/bin/ncp/NETWORKING/spDYN.sh
/usr/local/bin/ncp/SECURITY/modsecurity.sh
/usr/local/bin/ncp/SECURITY/nc-encrypt.sh
/usr/local/bin/ncp/SYSTEM/metrics.sh
/usr/local/bin/ncp/SYSTEM/nc-info.sh
/usr/local/bin/ncp/TOOLS/clear-php-opcache.sh
/usr/local/bin/ncp/TOOLS/nc-fix-permissions.sh
/usr/local/bin/ncp/TOOLS/nc-maintenance.sh
/usr/local/bin/ncp/TOOLS/nc-previews.sh
/usr/local/bin/ncp/TOOLS/nc-scan.sh
/usr/local/bin/ncp/UPDATES/nc-autoupdate-nc.sh
/usr/local/bin/ncp/UPDATES/nc-notify-updates.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps-auto.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps.sh
/usr/local/bin/ncp/UPDATES/nc-update-nextcloud.sh
/usr/local/bin/ncp/UPDATES/unattended-upgrades.sh
It seems that I miss some scripts no ?
Here with the same problem since 1.51.0
/local/bin/ncp/*/*.sh'
/usr/local/bin/ncp/BACKUPS/nc-backup-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-backup.sh
/usr/local/bin/ncp/BACKUPS/nc-export-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-import-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-restore.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync.sh
/usr/local/bin/ncp/CONFIG/nc-admin.sh
/usr/local/bin/ncp/CONFIG/nc-httpsonly.sh
/usr/local/bin/ncp/CONFIG/nc-limits.sh
/usr/local/bin/ncp/CONFIG/nc-passwd.sh
/usr/local/bin/ncp/CONFIG/nc-prettyURL.sh
/usr/local/bin/ncp/CONFIG/nc-previews-auto.sh
/usr/local/bin/ncp/CONFIG/nc-scan-auto.sh
/usr/local/bin/ncp/CONFIG/nc-trusted-domains.sh
/usr/local/bin/ncp/CONFIG/nc-webui.sh
/usr/local/bin/ncp/NETWORKING/dnsmasq.sh
/usr/local/bin/ncp/NETWORKING/duckDNS.sh
/usr/local/bin/ncp/NETWORKING/freeDNS.sh
/usr/local/bin/ncp/NETWORKING/letsencrypt.sh
/usr/local/bin/ncp/NETWORKING/namecheapDNS.sh
/usr/local/bin/ncp/NETWORKING/nc-forward-ports.sh
/usr/local/bin/ncp/NETWORKING/nc-trusted-proxies.sh
/usr/local/bin/ncp/NETWORKING/no-ip.sh
/usr/local/bin/ncp/NETWORKING/spDYN.sh
/usr/local/bin/ncp/SECURITY/modsecurity.sh
/usr/local/bin/ncp/SECURITY/nc-encrypt.sh
/usr/local/bin/ncp/SYSTEM/metrics.sh
/usr/local/bin/ncp/SYSTEM/nc-info.sh
/usr/local/bin/ncp/TOOLS/clear-php-opcache.sh
/usr/local/bin/ncp/TOOLS/nc-fix-permissions.sh
/usr/local/bin/ncp/TOOLS/nc-maintenance.sh
/usr/local/bin/ncp/TOOLS/nc-previews.sh
/usr/local/bin/ncp/TOOLS/nc-scan.sh
/usr/local/bin/ncp/UPDATES/nc-autoupdate-nc.sh
/usr/local/bin/ncp/UPDATES/nc-notify-updates.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps-auto.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps.sh
/usr/local/bin/ncp/UPDATES/nc-update-nextcloud.sh
/usr/local/bin/ncp/UPDATES/unattended-upgrades.sh
Some scripts miss too
Edit: I copied the missing files manually, the problem still exist
Ah sorry, the missing scripts are, because I gave you the non-docker list. That's fine and they should not be added.
The error would not be caused by missing scripts, but rather by additional scripts that exist in the bin directory but miss the config file in /usr/local/etc/ncp-config.d
Okay, I don't think we are getting anywhere with this without additional debug output. I have prepared a version of elements.php that should do two things: 1) It should skip the app that's causing the issue for you, therefore making the web UI work again 2) It should log the file/app that causes the issue to /var/log/apache2/error.log
Please replace your existing /var/www/ncp-web/elements.php with the (extracted!) file attached, fix its permissions and then post the content of /var/log/apache2/error.log here. You can do all of that with the following set of commands:
cd /var/www/ncp-web/
sudo wget -O elements.php.zip https://github.com/nextcloud/nextcloudpi/files/10511917/elements.php.zip
sudo unzip elements.php.zip
sudo rm elements.php.zip
sudo chown www-data: elements.php
# Then open the web UI in your browser
cat /var/log/apache2/error.log
Now working here again, thx, here the log
[Thu Jan 26 13:02:09.645383 2023] [ssl:error] [pid 330:tid 548350873616] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Thu Jan 26 13:02:09.645449 2023] [ssl:error] [pid 330:tid 548350873616] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Thu Jan 26 13:02:09.669322 2023] [ssl:error] [pid 331:tid 548350873616] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Thu Jan 26 13:02:09.669389 2023] [ssl:error] [pid 331:tid 548350873616] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Thu Jan 26 13:02:09.674445 2023] [mpm_event:notice] [pid 331:tid 548350873616] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Thu Jan 26 13:02:09.674590 2023] [core:notice] [pid 331:tid 548350873616] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 26 13:02:34.033157 2023] [proxy_fcgi:error] [pid 337:tid 548190101888] [client 192.168.178.10:53042] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190'
[Thu Jan 26 13:03:04.520519 2023] [proxy_fcgi:error] [pid 337:tid 548164923776] [client 192.168.178.10:53053] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190', referer: https://192.168.178.11:4443/wizard/
[Thu Jan 26 13:03:24.966601 2023] [proxy_fcgi:error] [pid 337:tid 548299207040] [client 192.168.178.10:53075] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190'
[Thu Jan 26 13:06:37.503312 2023] [proxy_fcgi:error] [pid 337:tid 548257243520] [client 192.168.178.10:53391] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190'
[Thu Jan 26 13:08:18.920382 2023] [mpm_event:notice] [pid 331:tid 548350873616] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Jan 26 13:08:18.955312 2023] [proxy_fcgi:error] [pid 337:tid 548139721088] [client 192.168.178.10:53053] AH01067: Failed to read FastCGI header, referer: https://192.168.178.11:4443/wizard/
[Thu Jan 26 13:08:49.495806 2023] [ssl:error] [pid 327:tid 548498112528] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Thu Jan 26 13:08:49.496146 2023] [ssl:error] [pid 327:tid 548498112528] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Thu Jan 26 13:08:49.518203 2023] [ssl:error] [pid 328:tid 548498112528] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Thu Jan 26 13:08:49.518270 2023] [ssl:error] [pid 328:tid 548498112528] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Thu Jan 26 13:08:49.522997 2023] [mpm_event:notice] [pid 328:tid 548498112528] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Thu Jan 26 13:08:49.523113 2023] [core:notice] [pid 328:tid 548498112528] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 26 13:14:10.885161 2023] [authz_host:error] [pid 332:tid 548286960000] [client 172.22.0.1:42306] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Thu Jan 26 13:14:14.596162 2023] [authz_host:error] [pid 332:tid 548286960000] [client 172.22.0.1:42306] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Thu Jan 26 13:14:15.615114 2023] [authz_host:error] [pid 332:tid 548286960000] [client 172.22.0.1:42306] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name, referer: https://localhost:4443/
[Thu Jan 26 13:21:22.750828 2023] [proxy_fcgi:error] [pid 332:tid 548286960000] [client 192.168.178.10:53971] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190'
[Thu Jan 26 13:27:20.814190 2023] [proxy_fcgi:error] [pid 332:tid 548312162688] [client 192.168.178.10:54142] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 190PHP message: PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/ncp-web/elements.php:190\nStack trace:\n#0 /var/www/ncp-web/index.php(236): print_sidebar()\n#1 {main}\n thrown in /var/www/ncp-web/elements.php on line 190'
[Thu Jan 26 14:28:40.042298 2023] [authz_host:error] [pid 332:tid 546970775936] [client 45.134.144.119:53312] AH01753: access check of 'localhost' to /remote/fgt_lang failed, reason: unable to get the remote host name
[Thu Jan 26 14:28:40.042403 2023] [authz_core:error] [pid 332:tid 546970775936] [client 45.134.144.119:53312] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Thu Jan 26 15:00:36.131398 2023] [authz_host:error] [pid 333:tid 547977408896] [client 192.241.137.65:59488] AH01753: access check of 'localhost' to /ab2g failed, reason: unable to get the remote host name
[Thu Jan 26 15:00:36.131598 2023] [authz_core:error] [pid 333:tid 547977408896] [client 192.241.137.65:59488] AH01630: client denied by server configuration: /var/www/ncp-web/ab2g
[Thu Jan 26 15:00:36.620659 2023] [authz_host:error] [pid 333:tid 548253282688] [client 192.241.137.65:59490] AH01753: access check of 'localhost' to /ab2h failed, reason: unable to get the remote host name
[Thu Jan 26 15:00:36.620819 2023] [authz_core:error] [pid 333:tid 548253282688] [client 192.241.137.65:59490] AH01630: client denied by server configuration: /var/www/ncp-web/ab2h
[Thu Jan 26 15:00:42.350428 2023] [authz_host:error] [pid 333:tid 548270084480] [client 192.241.137.65:54454] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Thu Jan 26 15:00:42.350518 2023] [authz_core:error] [pid 333:tid 548270084480] [client 192.241.137.65:54454] AH01630: client denied by server configuration: /var/www/ncp-web/
[Thu Jan 26 17:45:53.205300 2023] [proxy_fcgi:error] [pid 332:tid 548312162688] [client 192.168.178.10:60601] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-restore-snapshot.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot-auto.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-snapshot-auto.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-snapshot-auto.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot-sync.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-snapshot-sync.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-snapshot-sync.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-snapshot.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-snapshot.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-database.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-database.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-database.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-datadir.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-datadir.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-datadir.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-init.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-init.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-init.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-nextcloud.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-nextcloud.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-nextcloud.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/NFS.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'NFS.sh'!, config file: '/usr/local/etc/ncp-config.d/NFS.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/SSH.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'SSH.sh'!, config file: '/usr/local/etc/ncp-config.d/SSH.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-static-IP.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-static-IP.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-static-IP.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/samba.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'samba.sh'!, config file: '/usr/local/etc/ncp-config.d/samba.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/UFW.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'UFW.sh'!, config file: '/usr/local/etc/ncp-config.d/UFW.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/fail2ban.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'fail2ban.sh'!, config file: '/usr/local/etc/ncp-config.d/fail2ban.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-audit.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-audit.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-audit.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-automount.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-automount.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-automount.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-hdd-monitor.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-hdd-monitor.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-hdd-monitor.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-hdd-test.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-hdd-test.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-hdd-test.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-ramlogs.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-ramlogs.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-ramlogs.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-swapfile.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php
[Thu Jan 26 17:45:53.208610 2023] [proxy_fcgi:error] [pid 332:tid 548312162688] [client 192.168.178.10:60601] AH01071: Got error 'on line 186PHP message: Failed loading script 'nc-swapfile.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-swapfile.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-zram.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-zram.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-zram.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/clear-php-opcache.cfg): Failed to open stream: Permission denied in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'clear-php-opcache.sh'!, config file: '/usr/local/etc/ncp-config.d/clear-php-opcache.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-format-USB.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-format-USB.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-format-USB.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-autoupdate-ncp.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-autoupdate-ncp.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-autoupdate-ncp.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-update.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 183PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 186PHP message: Failed loading script 'nc-update.sh'!, config file: '/usr/local/etc/ncp-config.d/nc-update.cfgPHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-restore-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot-auto.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot-sync.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-snapshot.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-database.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-datadir.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-init.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-nextcloud.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 13
[Thu Jan 26 17:45:53.210432 2023] [proxy_fcgi:error] [pid 332:tid 548312162688] [client 192.168.178.10:60601] AH01071: Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/NFS.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/SSH.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-static-IP.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/samba.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/UFW.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/fail2ban.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-audit.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-automount.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-hdd-monitor.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-hdd-test.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to acce
[Thu Jan 26 17:45:53.212531 2023] [proxy_fcgi:error] [pid 332:tid 548312162688] [client 192.168.178.10:60601] AH01071: Got error 's array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-ramlogs.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-swapfile.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-zram.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/clear-php-opcache.cfg): Failed to open stream: Permission denied in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-format-USB.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-autoupdate-ncp.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: file_get_contents(/usr/local/etc/ncp-config.d/nc-update.cfg): Failed to open stream: No such file or directory in /var/www/ncp-web/elements.php on line 138PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 144PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 145PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 146PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/ncp-web/elements.php on line 21PHP message: PHP Warning: foreach() argument must be o
@ChronoWerX82 Okay, so the issue was nc-swapfile
! Can you give me the output of cat /usr/local/etc/ncp-config.d/nc-swapfile.cfg
, please?
cat: /usr/local/etc/ncp-config.d/nc-swapfile.cfg: No such file or directory
Edit:
@ChronoWerX82 nc-swapfile.sh is one of the scripts that shouldn't be present in the first place on docker. Could you remove the following scripts from /data/bin?
nc-autoupdate-ncp
nc-update
nc-automount
nc-format-USB
nc-datadir
nc-database
nc-ramlogs
nc-swapfile
nc-static-IP
nc-wifi
UFW
nc-snapshot
nc-snapshot-auto
nc-snapshot-sync
nc-restore-snapshot
nc-audit
nc-hdd-monitor
nc-hdd-test
nc-zram
SSH
fail2ban
NFS
nc-nextcloud
nc-init
samba
No one of these files are in the folder
Sorry, I was unprecise - they are in the various subfolders of /data/bin/ncp - also, they all have the extension .sh
These folders are all clean
/usr/local/bin/ncp/BACKUPS/nc-backup-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-backup.sh
/usr/local/bin/ncp/BACKUPS/nc-export-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-import-ncp.sh
/usr/local/bin/ncp/BACKUPS/nc-restore.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync-auto.sh
/usr/local/bin/ncp/BACKUPS/nc-rsync.sh
/usr/local/bin/ncp/CONFIG/nc-admin.sh
/usr/local/bin/ncp/CONFIG/nc-httpsonly.sh
/usr/local/bin/ncp/CONFIG/nc-limits.sh
/usr/local/bin/ncp/CONFIG/nc-passwd.sh
/usr/local/bin/ncp/CONFIG/nc-prettyURL.sh
/usr/local/bin/ncp/CONFIG/nc-previews-auto.sh
/usr/local/bin/ncp/CONFIG/nc-scan-auto.sh
/usr/local/bin/ncp/CONFIG/nc-trusted-domains.sh
/usr/local/bin/ncp/CONFIG/nc-webui.sh
/usr/local/bin/ncp/NETWORKING/dnsmasq.sh
/usr/local/bin/ncp/NETWORKING/duckDNS.sh
/usr/local/bin/ncp/NETWORKING/freeDNS.sh
/usr/local/bin/ncp/NETWORKING/letsencrypt.sh
/usr/local/bin/ncp/NETWORKING/namecheapDNS.sh
/usr/local/bin/ncp/NETWORKING/nc-forward-ports.sh
/usr/local/bin/ncp/NETWORKING/nc-trusted-proxies.sh
/usr/local/bin/ncp/NETWORKING/no-ip.sh
/usr/local/bin/ncp/NETWORKING/spDYN.sh
/usr/local/bin/ncp/SECURITY/modsecurity.sh
/usr/local/bin/ncp/SECURITY/nc-encrypt.sh
/usr/local/bin/ncp/SYSTEM/metrics.sh
/usr/local/bin/ncp/SYSTEM/nc-info.sh
/usr/local/bin/ncp/TOOLS/clear-php-opcache.sh
/usr/local/bin/ncp/TOOLS/nc-fix-permissions.sh
/usr/local/bin/ncp/TOOLS/nc-maintenance.sh
/usr/local/bin/ncp/TOOLS/nc-previews.sh
/usr/local/bin/ncp/TOOLS/nc-scan.sh
/usr/local/bin/ncp/UPDATES/nc-autoupdate-nc.sh
/usr/local/bin/ncp/UPDATES/nc-notify-updates.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps-auto.sh
/usr/local/bin/ncp/UPDATES/nc-update-nc-apps.sh
/usr/local/bin/ncp/UPDATES/nc-update-nextcloud.sh
/usr/local/bin/ncp/UPDATES/unattended-upgrades.sh
@theCalcaholic any news or solutions?
Hello,
I'm running NextcloudPi (docker ARM version), on a RPI4.
After the update of this container it seems that the NextcloudPi interface is "blank' :
It seems to be something similar to this but I don't know if someone had the same problem with the docker version.
Any ideas ?