Nextcloud: Home Folder mapped to / and smb share empty, but accessible editing the URL

Nextcloud version (eg, 20.0.5): 24.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 21.04
Apache or nginx version (eg, Apache 2.4.25): Unknown, using docker version fpm.
PHP version (eg, 7.4): 7.4?

The issue you are facing:
Hello everyone.
I’ve setup nextcloud and have it running from a long time ago.
I have an smb external mount on truenas mapped to the / folder. Credentials saved in session.
This home folder (\\nas\$user) is properly accessible for every user when using a windows PC.
For my user (domain admin, the only one that works) the files appear with no issue.
For other users, when they login to nextcloud, the list of folder appears empty. However, if I edit the url and change the “dir=/” part to e.g. “dir=/Fotos” or “dir=/Documentos” which are existing folders, the folder is shown with its data and files can be modified.
If I edit the external mount and instead of mapping it to / I map it to /Personal or other subfolder name, it works perfectly and files are listed properly inside the mapped folder, files are hidden only if mapped to /.
I’ve checked ACL on the smb share and they are the same for my account and for other accounts.
I’ve used php occ log:watch while accessing the folder, and no messages are shown on debug log.
I’m puzzled as to what to do next to ensure the home folder is mapped to this share. (the nextcloud docker container does not holds data).

Thanks for the feedback
Is this the first time you’ve seen this error? (Y/N): Y

log output while refreshing the folder:

Cwww-data@54863db82319:~/html$ php occ log:watch
Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:26+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:26+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:28+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:28+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:31+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:31+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:32+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:32+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:32+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:32+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:33+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:38+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:38+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:41+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:41+00:00

Debug metadata /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:41+00:00

Debug extract /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-05-22T17:28:41+00:00

Hello, this issue was already reported. Please upvote it here: [Bug]: files app bugs out when setting an external storage as root storage · Issue #32367 · nextcloud/server · GitHub