Ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given

Using Sage has become a terrible pain. No matter what I do, it keeps throwing problems. I’m using Sage on WSL (which was also horrible to set up). The thing is, it doesn’t create the folders; I had to manually create the Arcon cache folders, grant permissions, and once that was done, it worked. But now it’s throwing this error: “ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given.” It has become extremely frustrating.

Hola @tavo379!

I’m also using Sage 10 on windows with WSL as well and everything runs smoothly, I mean it is little bit of a mess to have to use windows but it’s company’s policy. :woman_shrugging:t3:

Anyway you might try to run something like this to fix all your permissions on the main folder:

chown -R www-data:www-data *

find * -type d -exec chmod 775 {} \;

find * -type f -exec chmod 664 {} \;

Let me know if it helps. :wink: