DietPi v8.25.1 and Nextcloud Issues at RasPi 4

At best remove those PHP 7.4 packages as well. They are as well from Ondrej’s repo and newer than the ones from Debian, keeping some other dependencies on the system which can cause issues. We can reinstall it later cleanly with a Nextcloud reinstall:

G_AGP $(dpkg -l | grep 'php')

Then check for other packages from the repo:

dpkg -l | grep -E 'debian11|gbp'

Sidenote, it might be possible NC not working for a moment as we need to fix these incorrect packages first.

1 Like

Thx for your support!
I am not shure but I think I must setup my DietPi from scratch again.

I have tried to perform a backup and Mount a share on my PC. I can see that DietPi writes the testfile. Neverthless he is not writing a backup - even the back tells me that it was successfull.

Last try is to fix the php issues. If this do not help at all I will setup dietpi with bookworm

root@Donnervogel:~# dpkg -l | grep -E 'debian11|gbp'
ii  libgd3:armhf                  2.3.3-9+0~20230207.13+debian11~1.gbp649015         armhf        GD Graphics Library
ii  libpcre2-8-0:armhf            10.40-1+0~20220713.16+debian11~1.gbpb6cec5         armhf        New Perl Compatible Regular Expression Library- 8 bit runtime files
ii  libpcre3:armhf                2:8.45-1+0~20230620.10+debian11~1.gbp8792c4        armhf        Perl 5 Compatible Regular Expression Library - runtime files
ii  libxml2:armhf                 2.9.14+dfsg-0.1+0~20230421.14+debian11~1.gbpf14485 armhf        GNOME XML library

and now?

Try the following:

apt install --reinstall --allow-downgrades 'libgd3=2.3.0-2' 'libpcre2-8-0=10.36-2+deb11u1' 'libpcre3=2:8.39-13' 'libxml2=2.9.10+dfsg-6.7+deb11u4'

And confirm the downgrades when asked.

Thx for your support. Finally I have setup the RasPi on Bookworm from scratch. In addition I found the failure in my backup (what I never noticed bfore): you need a NFS filesystem and not a samba share :scream:

However, one final question: when I adapt the apache2 config for the virtual host do I need for each port a seperate config or can I add them all to the nextcloud config?

yes, because on SAMBA you will lose all Linux file system permission and symbolic links. One of the reason dietpi-backup is not supporting SAMBA

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.