Closed Ra5CZ closed 3 years ago
Thanks for the bug report. Are any errors written to the console in the Gokapi container? And did you run the setup on first startup?
All settings attributes are in ENV variables. In example upwards is only GOKAPI_USERNAME and GOKAPI_PASSWORD but I tried almost all settings include GOKAPI_CONFIG_FILE, GOKAPI_DATA_DIR, GOKAPI_SALT_ADMIN etc.
So no...no setup. I thought that settings in ENV variables is enough.
Here is log:
RAM usage is interesting too:
Can you post the whole output? If there are some sensitive values, you can black them out.
`f0rc3-gokapi1 date,stream,content 2021-05-11 10:14:28,stdout,Password: ***
2021-05-11 10:14:28,stdout,Username: petr
2021-05-11 10:14:28,stdout,"First start, creating new admin account " 2021-05-11 10:14:28,stdout,Gokapi v1.2.0 starting
2021-05-11 10:14:28,stdout,
2021-05-11 10:14:28,stdout, ██████ ██████ ██ ██ ██ ██ ██ ██
2021-05-11 10:14:28,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██
2021-05-11 10:14:28,stdout,██ ███ ██ ██ █████ ███████ ██████ ██
2021-05-11 10:14:28,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██
2021-05-11 10:14:28,stdout,██████ ██████ ██ ██ █████ ██████ ██
2021-05-11 10:14:28,stdout,
2021-05-11 10:13:50,stdout,Password needs to be at least 6 characters long
2021-05-11 10:13:50,stdout,
2021-05-11 10:13:50,stdout,Password: ***
2021-05-11 10:13:50,stdout,Username: petr
2021-05-11 10:13:50,stdout,"First start, creating new admin account " 2021-05-11 10:13:50,stdout,Gokapi v1.2.0 starting
2021-05-11 10:13:50,stdout,
2021-05-11 10:13:50,stdout, ██████ ██████ ██ ██ ██ ██ ██ ██
2021-05-11 10:13:50,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██
2021-05-11 10:13:50,stdout,██ ███ ██ ██ █████ ███████ ██████ ██
2021-05-11 10:13:50,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██
2021-05-11 10:13:50,stdout,██████ ██████ ██ ██ █████ ██████ ██
2021-05-11 10:13:50,stdout,`
That's all. Firstime I had short password, so I changed it and run again.
Hm weird. Can you confirm that you have the following env variables set?
admin
)123456
)53842
)http://localhost:53842
)https://github.com/Forceu/Gokapi/
)With run setup is everything fine.
With your advice it works without run setup...nice.
Thank you very much...for your advice and for your work on Gokapi too.
Sorry for my bad english again :)
Great to hear it is working now! I will probably update the Readme in that regard as well
Hi, I'm trying run gokapi in docker on Synology NAS and neither after maybe tens attempts i'm don't have any success. Can you help me with settings please? I'm runnig many other containers but with this....i don't know.
My container minimal settings:
{ "cap_add" : null, "cap_drop" : null, "cmd" : "/app/gokapi", "cpu_priority" : 50, "devices" : null, "enable_publish_all_ports" : false, "enable_restart_policy" : false, "enabled" : true, "env_variables" : [ { "key" : "PATH", "value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, { "key" : "GOKAPI_PASSWORD", "value" : "xxxxxxxxxxxxxxxxxx" }, { "key" : "GOKAPI_USERNAME", "value" : "myName" } ], "exporting" : false, "id" : "2379bc3ac01d530858f539bc131313d61cf54dbe0ea20b90694e015ad338875f", "image" : "f0rc3/gokapi:latest", "is_ddsm" : false, "is_package" : false, "links" : [], "memory_limit" : 0, "name" : "f0rc3-gokapi1", "network" : [ { "driver" : "bridge", "name" : "bridge" } ], "network_mode" : "bridge", "port_bindings" : [ { "container_port" : 53842, "host_port" : 0, "type" : "tcp" } ], "privileged" : false, "shortcut" : { "enable_shortcut" : false }, "use_host_network" : false, "volume_bindings" : [] }
Result:
Sorry for my bad eglish.