Comments (8)
Hi @MarcelRobitaille
I think when calling the pure-pw
commands you may need to pass the path to the db file, e.g.
-f /etc/pure-ftpd/passwd/pureftpd.passwd
Hope this helps.
from docker-pure-ftpd.
Hi @stilliard. Thanks for the answer. I tried that. It may work to recreate the db, but it does not fix the problem permanently for me because it is still trying to use the old password file when I try to log in with ftp localhost
. That's what I think based on what I experienced, but I am by no means an expert.
from docker-pure-ftpd.
Weird, nothing's changed for that version as it's tagged.
I'm unable to test right now but will try to over the weekend to see if there was an issue in that version maybe or something.
from docker-pure-ftpd.
Yeah it's really weird. I didn't update anything or even re-pull the container. I just rebooted my computer. It was working before and broken after.
from docker-pure-ftpd.
Hi everyone. I am possibly running into the same issue, as my container was also running fine for a longer period of time. Today I realized that the server was not responding after a reboot of the host system.
The logs indicate that there is indeed a problem with the passwd
file:
root@srv0:/pool0/srv/cfg/paperless# docker-compose logs ftpd
Attaching to paperless_ftpd_1
ftpd_1 | Creating user...
ftpd_1 | Password:
ftpd_1 | Error.
ftpd_1 | Check that [ftp] doesn't already exist,
ftpd_1 | and that [/etc/pure-ftpd/passwd/pureftpd.passwd.tmp] can be written.
ftpd_1 | Enter it again:
ftpd_1 | Setting default port range to: 30010-30019
ftpd_1 | Setting default max clients to: 5
ftpd_1 | Setting default max connections per ip to: 5
ftpd_1 | Starting Pure-FTPd:
ftpd_1 | pure-ftpd -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -R -P 192.168.178.130 -p 30010-30019 -c 5 -C 5
from docker-pure-ftpd.
Hi @MarcelRobitaille & @coilock ,
I've tested today starting the latest version, stopping it and starting again using your example docker-compose.yml file.
All worked as expected and I was able to use it on first start using the paperless user as well as after a stop and restart.
My only difference is rather than using the image: stilliard/pure-ftpd:hardened-1.0.36
tag I just used the latest one: image: stilliard/pure-ftpd
The output of the 2nd start does show an error saying:
pure-ftpd | Enter it again: Error.
pure-ftpd | Check that [paperless] doesn't already exist,
pure-ftpd | and that [/etc/pure-ftpd/passwd/pureftpd.passwd.tmp] can be written.
However, this is just that it's trying to create the user again on start up and as the user already exists it does not need to so it's more of a warning that the user already exists.
Hope this helps clarify that message.
from docker-pure-ftpd.
Also I tested by exec'ing into the server with:
docker-compose exec pure_ftpd bash
and running:
pure-pw show paperless -f /etc/pure-ftpd/passwd/pureftpd.passwd
to confirm it shows the correct details and no error.
from docker-pure-ftpd.
I'm not sure what paperless
is btw but as you both have a user called that I assume it's some platform for running docker maybe?
Is it possible that platform has some issue with keeping the volumes?
I'd suggest testing the container directly if possible by starting it, ftping in to check it works, stopping and starting it again to check you can still ftp in.
Hope this helps.
from docker-pure-ftpd.
Related Issues (20)
- 421 Service not available, remote server has closed connection HOT 2
- Please fix docs about --tls flags "Automatic TLS certificate generation" HOT 1
- Replace `hardened` branch with a `--hardened` flag on run.
- Connection Refused errors when called within docker HOT 3
- Home directory not available HOT 1
- Please add a new enviroment variable to enable pure-ftpd-virtualchroot HOT 2
- Add Support for FTP HASH command HOT 3
- Possilble to access with SFTP aka with ssh-key file instead of user+password? HOT 2
- How to use RSA private key to connect HOT 1
- Logs & ban user multiple failed logins with fail2ban HOT 6
- Update to bullseye HOT 3
- TLS mode 2 and i can connect whit filezilla in plain mode HOT 4
- FTPs (TLS) causing the connection to throw connection error HOT 3
- "Sorry, but I can't trust you" issue HOT 3
- Can't copy file from bash FTP HOT 7
- [SOLVED] (not an error) 550 Can't check for file existence HOT 11
- Can't access my FTP from outside HOT 2
- Cannot list directory when new user added. HOT 1
- Slow transfert speed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-pure-ftpd.