Enabling FTP - ERR error loading required template: open templates/webadmin/base.html: no such file or directory panic #673
-
Hi, im not sure if I am being dumb or not but I seem to be having issues enabling FTPD. SFTP works fine and I want to run both services. I have modifed sftpgo.json but only in 2 fields. "ftpd": { When I do these changes the webgui on 8080 won't load I also get this when trying to run the service. 2022-01-12T14:51:24.233 INF No host keys configured and "id_rsa" does not exist; try to create a new host key goroutine 123 [running]: Its on a fresh install of ubuntu, new install of SFTPgo via pp and the only other service I have running is webmin. Could you point me in the right direction please? Have I enabled ftpd the right way? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, please set a port such 2121, to listen on port 21 you need to execute SFTPGo as root user or to enable the correct capability, take a look here for details. I guess you get the second error while trying to start SFTPGo manually (and so the correct config file is not used), please use the systemd unit:
to see the relevant logs please use |
Beta Was this translation helpful? Give feedback.
-
as simple as that. thank you, I have been going round in a circle the past couple of days. I had tried a different port but failed. thanks again |
Beta Was this translation helpful? Give feedback.
Hi,
please set a port such 2121, to listen on port 21 you need to execute SFTPGo as root user or to enable the correct capability, take a look here for details.
I guess you get the second error while trying to start SFTPGo manually (and so the correct config file is not used), please use the systemd unit:
to see the relevant logs please use
journalctl -f