When navigate in SMB shared, sometimes its send me to the root of my user


Nextcloud version (eg, 26.0.1):
Operating system and version (eg, Rocky Linux release 8.6):
Apache or nginx version (eg, Apache/2.4.37):
PHP-FPM version (eg, v8.1.9):

The issue you are facing:

When navigate in SMB shared, sometimes its send me to the root of my user

Is this the first time you’ve seen this error? (N):

Steps to replicate it:

  1. Mount SMB Shared
  2. Navigate In this SMB Shared
  3. Sometime, i’m forward to the root

The output of your Nextcloud log in Admin > Logging:

Icewind\SMB\Exception\ForbiddenException: Invalid request for / (ForbiddenException)
Files not found: 1364175

I Use the extension of php-smb

Hi @Jason-linux:

  • What is your SMB share hosted on? i.e. what is your SMB server? Do its logs have any clues?
  • Is the problem reproducible on the same file or folder? It’s going to be very challenging track down the cause without some way to reproduce the issue.
  • When sharing the log, make sure to always include the full log entry since the stack trace is necessary if you want someone to see what’s going on in the code and possibly figure out the cause. Use “Copy Raw” if looking under Admin->Logging to get the full entry or grab it directly from nextcloud.log.

Since the last time i solved it :
My config :

  • SMB : Windows Server
  • Nextcloud Server Linux

TIPS : To avoid this error you need to setup your external storage as “User entered, store in database” that’s dont work with “Log-in credentials, save in session”

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.