rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.13k stars 209 forks source link

Can't create admin account from config file #579

Closed vyachkoslav closed 4 months ago

vyachkoslav commented 5 months ago

When I try creating admin profile with running hfs by appending create-admin: password to config.yaml, server logs that admin account is created, clears the create-admin line, but the account doesn't appear in config and I can't login to admin:password.

Environment (please complete the following information):

rejetto commented 5 months ago

i tried to reproduce the problem, but couldn't. i'm not good with docker and alpine. what's the content of your config after those steps?

rejetto commented 5 months ago

ok, maybe i've found, keep you posted

rejetto commented 5 months ago

ok, i've fixed the bug and it will be included in next release. thanks for reporting. are you using npx?

vyachkoslav commented 5 months ago

yes, but I also install hfs with npm i on non-root user while building container

rejetto commented 5 months ago

can you workaround by editing the config file, until i publish the fix?

vyachkoslav commented 5 months ago

yep, no problem

rejetto commented 4 months ago

fixed in 0.52.5