Upgraded and hosed my server (I think)
Moderator: Project members
-
- 504 Command not implemented
- Posts: 7
- Joined: 2020-07-09 00:12
- First name: Thomas
- Last name: Andersson
Upgraded and hosed my server (I think)
I've been running FileZilla server for ages and I think I was behind on updates. A user complained about transfer issues and complaints about certificates so checked for latest version and there was one (v1.0.1). I was running 0.9.60-beta 2 so probably should have looked deeper before upgrading.
After install no users, no groups, nothing.
My entire server was set up on a virtual machine with all storage on a NAS (UNC paths)
Trying to manually set up the old users and groups failed as there's no UNC support any more.
Tried setting up with absolute paths with shared drives from the NAS, no go either. All I ever see is /, no folder, no files, nothing.
I'm running the server as the same administrative user sharing the NAS folders that have full rights to see and edit them, but still nothing is visible from within FTP.
Anything I need to to to set up this scenario from scratch using 1.0+ ?
I read that UNC support is coming, anyone have a ETA on that? (but thinking this is more of a permissions issue than the actual path, all I know is that it worked perfectly before 1.0)
After install no users, no groups, nothing.
My entire server was set up on a virtual machine with all storage on a NAS (UNC paths)
Trying to manually set up the old users and groups failed as there's no UNC support any more.
Tried setting up with absolute paths with shared drives from the NAS, no go either. All I ever see is /, no folder, no files, nothing.
I'm running the server as the same administrative user sharing the NAS folders that have full rights to see and edit them, but still nothing is visible from within FTP.
Anything I need to to to set up this scenario from scratch using 1.0+ ?
I read that UNC support is coming, anyone have a ETA on that? (but thinking this is more of a permissions issue than the actual path, all I know is that it worked perfectly before 1.0)
Re: Upgraded and hosed my server (I think)
Hi, I was in the same boat as you. Unfortunately, upgrading from legacy doesn't automatically convert your old configs. You have to use filezilla-server-config-converter.exe that's in the installation folder
viewtopic.php?f=6&t=54066
Also make sure that you update windows firewall because even though you probably installed/upgraded in place. It won't update the windows firewall rule. You'll have to add/allow a new program. Delete the old rule if its there.
Lastly, and this one I'm still working through. The first time a user connects, it seems to work fine but you'll see a message about the password being upgraded from old style to new style. Seems like after this happens they can't login again. But then after several attempts it seemed to work again.
I changed logging to verbose to try and figure that out.
viewtopic.php?f=6&t=54066
Also make sure that you update windows firewall because even though you probably installed/upgraded in place. It won't update the windows firewall rule. You'll have to add/allow a new program. Delete the old rule if its there.
Lastly, and this one I'm still working through. The first time a user connects, it seems to work fine but you'll see a message about the password being upgraded from old style to new style. Seems like after this happens they can't login again. But then after several attempts it seemed to work again.
I changed logging to verbose to try and figure that out.
Re: Upgraded and hosed my server (I think)
The old configuration is automatically converted if you used the old version's installer to install the old version.
Until UNC support can be added back in, you can map the network shares to drive letters.
Until UNC support can be added back in, you can map the network shares to drive letters.
-
- 504 Command not implemented
- Posts: 7
- Joined: 2020-07-09 00:12
- First name: Thomas
- Last name: Andersson
Re: Upgraded and hosed my server (I think)
Thank you, I tried configuring manually afterwards with no success at all. I just have 2 groups (that at this point could just be one group) and not that many users currently (it's mainly backup access for those who can't stream via my Plex with quality).ZenMasta wrote: ↑2021-09-30 16:25Hi, I was in the same boat as you. Unfortunately, upgrading from legacy doesn't automatically convert your old configs. You have to use filezilla-server-config-converter.exe that's in the installation folder
viewtopic.php?f=6&t=54066
Thank you again, this one I figured out fairly fast, I disabled the firewall for testing and then access was no problem.
I saw that but it didn't seem to pose a problem. My main issue now is that non file or directory structure is visible whatsoever through the FTP.ZenMasta wrote: ↑2021-09-30 16:25Lastly, and this one I'm still working through. The first time a user connects, it seems to work fine but you'll see a message about the password being upgraded from old style to new style. Seems like after this happens they can't login again. But then after several attempts it seemed to work again.
I changed logging to verbose to try and figure that out.
-
- 504 Command not implemented
- Posts: 7
- Joined: 2020-07-09 00:12
- First name: Thomas
- Last name: Andersson
Re: Upgraded and hosed my server (I think)
I tried that, but nothing is visible when connected. I get the / location and nothing else, this even when running the server as the admin account mounting the mapped drives and with read/write access to the NAS.
Re: Upgraded and hosed my server (I think)
Try to connect the network drives in a shell with admin rights. The network drive connection over the GUI is with standard rights and cannot be seen by the server.
If it still isn't visible, you need to change the user the FileZilla Server service runs under. Default is SYSTEM that might not have proper access to external resources.
Code: Select all
Example:
net use Z: \\computer\foo
net use Y: \\computer\bar
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 7
- Joined: 2020-07-09 00:12
- First name: Thomas
- Last name: Andersson
Re: Upgraded and hosed my server (I think)
Thanks, I will try that. The server IS running as a an elevated admin though, same that is used to mount and access the mapped folders.boco wrote: ↑2021-09-30 18:34Try to connect the network drives in a shell with admin rights. The network drive connection over the GUI is with standard rights and cannot be seen by the server.
If it still isn't visible, you need to change the user the FileZilla Server service runs under. Default is SYSTEM that might not have proper access to external resources.Code: Select all
Example: net use Z: \\computer\foo net use Y: \\computer\bar
Re: Upgraded and hosed my server (I think)
How do you map? The Windows Explorer is always stripping Administrator rights, you cannot run Explorer as Administrator. Thus, all shares mapped from Explorer are with standard rights.
Only the Admin command line shell works. Note: created mappings will usually not show in Explorer.
Only the Admin command line shell works. Note: created mappings will usually not show in Explorer.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 7
- Joined: 2020-07-09 00:12
- First name: Thomas
- Last name: Andersson
Re: Upgraded and hosed my server (I think)
Ah, I am mapping the drives using the GUI function "Map network drive". Guess that's the problem then. With FZ server 0.9.6 I always used UNC paths so never hit that snag I guess.boco wrote: ↑2021-10-01 02:05How do you map? The Windows Explorer is always stripping Administrator rights, you cannot run Explorer as Administrator. Thus, all shares mapped from Explorer are with standard rights.
Only the Admin command line shell works. Note: created mappings will usually not show in Explorer.
Re: Upgraded and hosed my server (I think)
Hi,
UNC support has been added back in. You can try it out by downloading the latest nightly build from here: https://filezilla-project.org/nightly.php?type=server
UNC support has been added back in. You can try it out by downloading the latest nightly build from here: https://filezilla-project.org/nightly.php?type=server