Skip to main content

CPANEL-39589 - [File Manager] Path error

Comments

12 comments

  • 24x7server
    It might be an issue with user ownership. You can use the chown command to correct the directory's ownership: chown username.username /home/username
    0
  • KhaedAlkhamesi
    It might be an issue with user ownership. You can use the chown command to correct the directory's ownership: chown username.username /home/username

    Greate. How i can do that for all user by one commend?
    0
  • cPRex Jurassic Moderator
    Before changing anything with "chown" I would strongly recommend confirming that is indeed the actual issue, but checking the files on the system. Did you confirm that was indeed the issue? If so, it is also very unlikely to be happening on all accounts on the system.
    0
  • KhaedAlkhamesi
    Before changing anything with "chown" I would strongly recommend confirming that is indeed the actual issue, but checking the files on the system. Did you confirm that was indeed the issue? If so, it is also very unlikely to be happening on all accounts on the system.

    The problem appears in most sites and when I delete the following folders at the user: .cpanel .cphorde .htpassword .pki .spamassasin .ssh .subaccounts
    The user's file manager is working properly and he doesn't have this problem again
    0
  • cPRex Jurassic Moderator
    Did you delete those directories? If so, that's going to cause issues for the account in the future. If you have an account where it's not properly showing up in File Manager, we'd like to see a ticket about that.
    0
  • fenix83
    After update WHM, I have the same error in all cpanel accounts. How to fix it?
    0
  • cPRex Jurassic Moderator
    @fenix83 - can you clarify the error you're seeing a bit more? Is the issue with File Manager showing the wrong home directory for the user?
    0
  • willjusti
    @cPRex We are facing the same issue here. What happens is that when some user sign-in at his cPanel account, let`s say "userabc", and open the File Manager, the inicial directory should be /home/userabc, but instead, it try to show other random account directory, like /home/userf34. Is the same as described in the image sent by @KhaedAlkhamesi . It happens for every user in ouer server.
    0
  • fenix83
    Did you delete those directories? If so, that's going to cause issues for the account in the future. If you have an account where it's not properly showing up in File Manager, we'd like to see a ticket about that.

    Yes, it's the same as @KhaedAlkhamesi's original image. It started after one of the last updates (about 6 months ago or something)
    0
  • cPRex Jurassic Moderator
    We have case CPANEL-39589 open with our developers to resolve this issue. Our team is currently working on that, but I don't know what cPanel version will contain the fix just yet. You can likely resolve this on an individual account basis by editing the file at /home/username/.cpanel/nvdata/defaultdir and updating that path to the correct value. You may also need to run this command to update the cache so those changes are live in the interface: mv /home/username/.cpanel/nvdata/.cache {,.bak-`date +%Y%m%d`}
    0
  • okanc
    I'm having the same problem.This solution didn't work. Any progress ?
    0
  • cPRex Jurassic Moderator
    @okanc - I don't see any additional updates from the development team just yet, and I don't have any alternative workarounds. If you need us to check the system you can always submit a ticket to our team if you have root access to the server.
    0

Please sign in to leave a comment.