Interesting case.. Pureftp shows wrong directory

Discussion in 'ISPConfig 3 Priority Support' started by Turgut Kalfaoglu, Mar 9, 2025.

  1. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    hi.. deleted and re-created an FTP user. when I ftp using that (pureftp) to that site, instead of seeing my files, I only see this:
    ftp> dir
    227 Entering Passive Mode (178,63,47,182,22,119)
    150 Accepted data connection
    drwxr-xr-x 3 5166 client130 28 Mar 9 03:19 .
    drwxr-xr-x 3 5166 client130 28 Mar 9 03:19 ..
    drwxr-xr-x 2 5166 client130 6 Mar 9 03:19 backup
    226-Options: -a -l
    226 3 matches total
    Whereas there are plenty of files at the regular home page..

    I found a bug:
    Yesterday I moved this domain from another user (every migration had created a new user, so he had 3 users, I moved the domains to one user). However, most of the system still remembers the old username. including ISPCONFIG, it thinks the web site is at another clientNN. whereas there is only a 'backup' folder there now, and the web site is somewhere else.
    Not sure how to fix all this. It seems MySQL CLI will be needed :(
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can see the exact directory of the user on the options tab of the user.

    ISPConfig alters the paths when you change the client who owns a site. But it might be that the site could not be altered because apache did not accept some custom made configs or a SSL cert so the old config (with old paths) had to be rolled back to avoid apache being down. You can find such info in the logs and also check sites-availeble folder from apache if you got a .err file for this vhost.
     
    Turgut Kalfaoglu likes this.

Share This Page