Nextcloud | Collabora | Errors

NethServer Version: 7.9 behind an OPNSense (no firewall, no Thread Shield, no IPS installed)
Module: NextCloud 23.0.1 | Collabora 21.06.13.1
Only common NC-Modules (Calendar, Adress Book, External Storage) installed

Every time I start editing one Collabora document three errors occur.

1.Host was not connected:

[no app in context] Warnung: Host 192.168.221.20 was not connected to because it violates local access rules

GET /index.php/core/preview?fileId=4652&x=32&y=32
from 11.222.333.44 by 8F8C1AAC-C6AE-44D3-A2E2-7853FDCF0924 at 2022-02-20T20:40:51+00:00

Additional info: 192.168.221.20 (the Nethservers IP himself) still added to trusted networks

2. OC_Image::fixOrientation(): No image loaded:

[core] Error: OC_Image::fixOrientation(): No image loaded:
 
GET /index.php/core/preview?fileId=1101&c=8e187f39eb7e3e3e458f6bb0ed7a0a2c&x=500&y=500&forceIcon=0&a=0
 from 93.245.167.65 by 8F8C1AAC-C6AE-44D3-A2E2-7853FDCF0924 at 2022-02-20T20:40:50+00:00

3. Invalid or uninitialized Zip object

[PHP] Error: ZipArchive::getStream(): Invalid or uninitialized Zip object at /usr/share/nextcloud/lib/private/Archive/ZIP.php#154

GET /index.php/core/preview?fileId=1101&c=8e187f39eb7e3e3e458f6bb0ed7a0a2c&x=500&y=500&forceIcon=0&a=0
from 93.245.167.65 by 8F8C1AAC-C6AE-44D3-A2E2-7853FDCF0924 at 2022-02-20T20:40:50+00:00

Does anyone have experience with it and hints for me?

Best regards, Marko

Regarding the first warning: You may need to add a config entry in Nextcloud:

2 Likes

I seems that all of those errors are related to this php config. All are gone.
Thank you.

1 Like