[Eisfair] [e1-32] nextcloud startet nicht mehr

Juergen Edner juergen at eisfair.org
Mo Okt 13 21:58:36 CEST 2025


Hallo Christian,

> nach längerer Zeit habe ich ein Update für nextcloud installiert, 
> welches nun nicht mehr startet:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library 'pdf.so' 
> (tried: /usr/lib/php8/extensions/pdf.so (libpdf.so.6: cannot enable 
> executable stack as shared object requires: Invalid argument), /usr/lib/ 
> php8/extensions/pdf.so.so (/usr/lib/php8/extensions/pdf.so.so: cannot 
> open shared object file: No such file or directory)) in Unknown on line 0
> An unhandled exception has been thrown:
> OCP\HintException: [0]: Configuration was not read or initialized 
> correctly, not overwriting /data/www/htdocs/nextcloud/config/config.php ()
> 
> Alle Pakete sind aktuell, und die bemängelten libs sind vorhanden.
> Was kann ich tun?

die Libraries haben mit dem Problem meines Erachtens nichts zu tun, 
trotzdem hier einmal die Abhängigkeiten:

# ldd /usr/lib/php8/extensions/pdf.so
ldd: warning: you do not have execution permission for 
`/usr/lib/php8/extensions/pdf.so'
         linux-vdso.so.1 (0x00007fff83f0c000)
         libpdf.so.6 => /usr/lib64/libpdf.so.6 (0x00007fd5d53db000)
         libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fd5d5000000)
         libm.so.6 => /usr/lib64/libm.so.6 (0x00007fd5d52e8000)
         libc.so.6 => /usr/lib64/libc.so.6 (0x00007fd5d4e01000)
         libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fd5d52b8000)
         /lib64/ld-linux-x86-64.so.2 (0x00007fd5d55e4000)

# ldd /usr/lib64/libpdf.so.6
ldd: warning: you do not have execution permission for 
`/usr/lib64/libpdf.so.6'
         linux-vdso.so.1 (0x00007ffddd771000)
         libm.so.6 => /lib64/libm.so.6 (0x00007feb4cfe1000)
         libc.so.6 => /lib64/libc.so.6 (0x00007feb4cde2000)
         /lib64/ld-linux-x86-64.so.2 (0x00007feb4d2ae000)

Ich denke dies ist die Meldung auf dies es ankommt:

 > An unhandled exception has been thrown:
 > OCP\HintException: [0]: Configuration was not read or initialized
 > correctly, not overwriting 
/data/www/htdocs/nextcloud/config/config.php ()

Wurden eventuell die Zugriffsrechte der Datei geändert? Siehe hier:

https://help.nextcloud.com/t/configuration-was-not-read-or-initialized-correctly/152414/5

Gruß Jürgen


-- 
Mail: juergen at eisfair.org


Mehr Informationen über die Mailingliste Eisfair