After Update from old Version - 550: Unable to open Directory list

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
schliessfach2021
500 Command not understood
Posts: 4
Joined: 2021-11-11 13:18

After Update from old Version - 550: Unable to open Directory list

#1 Post by schliessfach2021 » 2021-11-11 13:29

Hello guys,

i recently updated my Filezilla Server from 0.9.60 Beta to the latest 1.1.0 nightly build.
The conversion from old to new config, went nearly flawless, but now my previously working network share isn't working anymore.

It doesn't matter how I try to reenable it (\\SERVER\SHARE or driveletter:\SHARE), it results in "550: Unable to open Directory list"

The client is Filezilla 3.56.2 - which should be a up2date version.

Is there a way to fix this problem?

Thanks in advance!

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: After Update from old Version - 550: Unable to open Directory list

#2 Post by botg » 2021-11-11 14:32

Does the Windows account the FileZilla Server service is running under (SYSTEM by default) have permissions to access the share? Note that if you map a drive through Explorer, it is only for the user Explorer runs under. I'm not sure what the correct way is to map network shares to drive letters for all users these days.

schliessfach2021
500 Command not understood
Posts: 4
Joined: 2021-11-11 13:18

Re: After Update from old Version - 550: Unable to open Directory list

#3 Post by schliessfach2021 » 2021-11-12 05:58

Hey botg, thanks for your quick response.

The shared (\\SERVER\SHARE) should be accessible by everyone on the other side, but I'll try to mount it under SYSTEM (on FTP). This could be the underlying problem - I might have run the old installation as an elevated user...
Firewall on both sides, SERVER and FTP, is turned off and both systems are free to communicate with eachother. Just to rule that point out. :)

Will give feedback on this topic asap.

schliessfach2021
500 Command not understood
Posts: 4
Joined: 2021-11-11 13:18

Re: After Update from old Version - 550: Unable to open Directory list

#4 Post by schliessfach2021 » 2021-11-12 08:40

Doesn't seem to change anything.

Here is a debug log, I just redacted some ip related information.

/SHARE points to Z:\ which was mounted using psexec as SYSTEM using "net use z: \\SERVER\SHARE /user:xxx password:xxx". Also tried it while mounted as SYSTEM and /SHARE points to \\SERVER\SHARE.

Code: Select all

2021-11-12T08:31:45.843Z == ===== New logging started =====
2021-11-12T08:31:45.937Z == Settings written to C:\Windows\system32\config\systemprofile\AppData\Local\filezilla-server\settings.xml.
2021-11-12T08:31:46.078Z DD [Administration Server] tls_layer_impl::on_read()
2021-11-12T08:31:46.188Z == Settings written to C:\Windows\system32\config\systemprofile\AppData\Local\filezilla-server\settings.xml.
2021-11-12T08:31:46.621Z DD [Administration Server] tls_layer_impl::on_read()
2021-11-12T08:31:46.733Z == Settings written to C:\Windows\system32\config\systemprofile\AppData\Local\filezilla-server\settings.xml.
2021-11-12T08:31:53.591Z DD [FTP Session 1 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:53.606Z DD [FTP Session 1 4.3.2.1 test] tls_layer_impl::failure(-110)
2021-11-12T08:31:53.606Z !! [FTP Session 1 4.3.2.1 test] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
2021-11-12T08:31:53.606Z == [FTP Session 1 4.3.2.1 test] Client did not properly shut down TLS connection
2021-11-12T08:31:53.606Z !! [FTP Session 1 4.3.2.1 test] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.
2021-11-12T08:31:53.606Z !! [FTP Server] Session 1 ended with error from source 0. Reason: ECONNABORTED - Connection aborted.
2021-11-12T08:31:53.606Z II [FTP Session 1 4.3.2.1] Session 0x238635f5f90 with ID 1 destroyed.
2021-11-12T08:31:53.606Z II [FTP Session 2 4.3.2.1] Session 0x238635f5f90 with ID 2 created.
2021-11-12T08:31:53.624Z >> [FTP Session 2 4.3.2.1] AUTH TLS
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] securer(1) ENTERING state = 0
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] calling tls_layer_->set_certificate_file("C:\Windows\system32\config\systemprofile\AppData\Local\filezilla-server\certificates\HASHVALUE\key.pem", "C:\Windows\system32\config\systemprofile\AppData\Local\filezilla-server\certificates\HASHVALUE\cert.pem", "****")
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] securer(1) EXITING state = 1
2021-11-12T08:31:53.624Z << [FTP Session 2 4.3.2.1] 234 Using authentication type TLS.
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] ~securer(1) ENTERING state = 1
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] calling tls_layer_->set_alpn("ftp")
2021-11-12T08:31:53.624Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::server_handshake()
2021-11-12T08:31:53.624Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::continue_handshake()
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] ~securer(1) EXITING state = 2
2021-11-12T08:31:53.624Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_send()
2021-11-12T08:31:53.624Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::continue_handshake()
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_read()
2021-11-12T08:31:53.638Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::continue_handshake()
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Received CLIENT HELLO
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Processed CLIENT HELLO
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: About to send SERVER HELLO
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Sent SERVER HELLO
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: About to send ENCRYPTED EXTENSIONS
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Sent ENCRYPTED EXTENSIONS
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: About to send CERTIFICATE
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Sent CERTIFICATE
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: About to send CERTIFICATE VERIFY
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Sent CERTIFICATE VERIFY
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: About to send FINISHED
2021-11-12T08:31:53.638Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Sent FINISHED
2021-11-12T08:31:53.656Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_read()
2021-11-12T08:31:53.656Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::continue_handshake()
2021-11-12T08:31:53.656Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_read()
2021-11-12T08:31:53.656Z VV [FTP Session 2 4.3.2.1] tls_layer_impl::continue_handshake()
2021-11-12T08:31:53.656Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Received FINISHED
2021-11-12T08:31:53.656Z DD [FTP Session 2 4.3.2.1] TLS handshakep: Processed FINISHED
2021-11-12T08:31:53.656Z II [FTP Session 2 4.3.2.1] TLS Handshake successful
2021-11-12T08:31:53.656Z II [FTP Session 2 4.3.2.1] Protocol: TLS1.3, Key exchange: ECDHE-SECP384R1-ECDSA-SECP256R1-SHA256, Cipher: AES-256-GCM, MAC: AEAD
2021-11-12T08:31:53.656Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_read()
2021-11-12T08:31:53.656Z >> [FTP Session 2 4.3.2.1] USER test
2021-11-12T08:31:53.656Z << [FTP Session 2 4.3.2.1] 331 Please, specify the password.
2021-11-12T08:31:53.670Z DD [FTP Session 2 4.3.2.1] tls_layer_impl::on_read()
2021-11-12T08:31:53.670Z >> [FTP Session 2 4.3.2.1] PASS ****
2021-11-12T08:31:53.733Z DD [File-based Authenticator] authenticate: is_from_system: 0, impersonation_token: { username: "", home: "" }
2021-11-12T08:31:53.733Z << [FTP Session 2 4.3.2.1 test] 230 Login successful.
2021-11-12T08:31:53.749Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:53.749Z >> [FTP Session 2 4.3.2.1 test] PBSZ 0
2021-11-12T08:31:53.749Z << [FTP Session 2 4.3.2.1 test] 200 PBSZ=0
2021-11-12T08:31:53.765Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:53.765Z >> [FTP Session 2 4.3.2.1 test] PROT P
2021-11-12T08:31:53.765Z << [FTP Session 2 4.3.2.1 test] 200 Protection level set to P
2021-11-12T08:31:53.765Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:53.765Z >> [FTP Session 2 4.3.2.1 test] PWD
2021-11-12T08:31:53.765Z << [FTP Session 2 4.3.2.1 test] 257 "/" is current directory.
2021-11-12T08:31:57.543Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:57.543Z >> [FTP Session 2 4.3.2.1 test] CWD /SHARE
2021-11-12T08:31:57.543Z << [FTP Session 2 4.3.2.1 test] 250 CWD command successful
2021-11-12T08:31:57.562Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:57.562Z >> [FTP Session 2 4.3.2.1 test] TYPE I
2021-11-12T08:31:57.562Z << [FTP Session 2 4.3.2.1 test] 200 Type set to I
2021-11-12T08:31:57.576Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:57.576Z >> [FTP Session 2 4.3.2.1 test] PASV
2021-11-12T08:31:57.576Z DD [FTP Session 2 4.3.2.1 test] TLS handshakep: About to send NEW SESSION TICKET
2021-11-12T08:31:57.576Z DD [FTP Session 2 4.3.2.1 test] TLS handshakep: Sent NEW SESSION TICKET
2021-11-12T08:31:57.576Z VV [FTP Session 2 4.3.2.1 test] Trying: data_listen_socket_->listen(1, 0)
2021-11-12T08:31:57.576Z << [FTP Session 2 4.3.2.1 test] 227 Entering Passive Mode (1,2,3,4,194,30)
2021-11-12T08:31:57.592Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:31:57.592Z >> [FTP Session 2 4.3.2.1 test] MLSD
2021-11-12T08:31:57.592Z DD [File-based Authenticator/impersonator client, user: <not impersonating>] open_directory: fd = -1, res = 4
2021-11-12T08:31:57.592Z << [FTP Session 2 4.3.2.1 test] 550 Couldn't open the directory
2021-11-12T08:32:06.203Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::on_read()
2021-11-12T08:32:06.203Z DD [FTP Session 2 4.3.2.1 test] tls_layer_impl::failure(-110)
2021-11-12T08:32:06.203Z !! [FTP Session 2 4.3.2.1 test] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
2021-11-12T08:32:06.203Z == [FTP Session 2 4.3.2.1 test] Client did not properly shut down TLS connection
2021-11-12T08:32:06.203Z !! [FTP Session 2 4.3.2.1 test] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.
2021-11-12T08:32:06.203Z !! [FTP Server] Session 2 ended with error from source 0. Reason: ECONNABORTED - Connection aborted.
2021-11-12T08:32:06.203Z II [FTP Session 2 4.3.2.1] Session 0x238635f5f90 with ID 2 destroyed.
2021-11-12T08:32:14.066Z DD [Administration Server] tls_layer_impl::on_read()
2021-11-12T08:32:14.066Z == [Administration Server] Administration client with ID 2 disconnected without error.

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: After Update from old Version - 550: Unable to open Directory list

#5 Post by botg » 2021-11-12 10:29

Unable to reproduce, after mounting a share as system using psexec64 -s I could access it just fine.

schliessfach2021
500 Command not understood
Posts: 4
Joined: 2021-11-11 13:18

Re: After Update from old Version - 550: Unable to open Directory list

#6 Post by schliessfach2021 » 2021-11-12 18:48

Okay I found a workaround by changing the processing user of the ftp server.
New user, freshly mounted share and autologon.

Now everything is working like before.

If anyone needs a detailed instruction, I can provide a tutorial.

J1M41D14
500 Command not understood
Posts: 1
Joined: 2022-01-11 10:35
First name: Ole
Last name: Jensen

Re: After Update from old Version - 550: Unable to open Directory list

#7 Post by J1M41D14 » 2022-01-11 10:37

Hey I would love to see a tutorial of what you did ??

Post Reply