Nextcloud not finding folders

Nextcloud version (eg, 20.0.5): 27
Operating system and version (eg, Ubuntu 20.04): Ubuntu server 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.4): 8.1

Hey, after a reboot of my server i had to remount my external storage so nextcloud can access the files again. I transfered ownership to root:root since i am using nextcloud snap.
When i try to create a folder i get the error folder could not be created, but when i navigate to the directory on my server console, i can see it there.
All files that i had uploaded before the restart were found again, but new files are not shown in the file exploerer in the web GUI.
When i navigate to the Photos tab, all my Photos show up, but not in the Files tab.
Any help is appreciated!

Hi,

So how were the new files added to your server in between rebooting your NC instance and remounting your external storage?

What is the restart you refer to, did you mean reboot?

How are you adding your external storage endpoint?