File not found immediately after sharing?

Nextcloud version 24.0.3
Operating system and version Ubuntu 20.04)
Apache or nginx version Apache/2.4.41
PHP version PHP 7.4.3

The issue you are facing:

Is this the first time you’ve seen this error? Y

I share a file via the share menu. Making a normal link but the link is immediately expired.
Certain folders do work (which as it happen are all on the external storage added disk). But when I use my main folder so to speak, I get the error of file not found etc. COuld there be like a blockade on sharing certain folders etc…?

The output of your Nextcloud log in Admin > Logging:

Nothing about sharing or fitting in that time frame, only about the successful update

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

I...somehow can't find it... even though the LOG etc are there (which I guess is the install location?)

The output of your Apache/nginx/system log in /var/log/____:

[Wed Aug 10 00:00:01.774497 2022] [mpm_prefork:notice] [pid 1637] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Wed Aug 10 00:00:01.774518 2022] [core:notice] [pid 1637] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 10 05:36:57.400028 2022] [php7:error] [pid 74621] [client 115.124.120.233:34843] script '/mnt/www/vicsfilesharing/wp-sid.php' not found or unable to stat, referer: victoroos.nl


none relevant to that time