flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

need to create ccd file manually #112

Closed eatrisno closed 2 years ago

eatrisno commented 2 years ago

time="2022-04-08T19:35:26Z" level=info msg="Bind: http://0.0.0.0:8080" time="2022-04-08T19:36:10Z" level=info msg="13.228.245.226:51833/api/users/list" time="2022-04-08T19:36:10Z" level=info msg="13.228.245.226:51834/api/server/settings" time="2022-04-08T19:36:14Z" level=info msg="13.228.245.226:51833/api/user/ccd" time="2022-04-08T19:36:14Z" level=fatal msg="open /mnt/ccd/haris: no such file or directory"

error log ovpn_admin

eatrisno commented 2 years ago

but, after create touch /mnt/ccd/haris its working

eatrisno commented 2 years ago

when create user / read, ccd should be created automaticaly

mewallkit commented 2 years ago

there is a repair code here https://github.com/flant/ovpn-admin/pull/92

eatrisno commented 2 years ago

Hi thanks, let you know if its workingg

eatrisno commented 2 years ago

its working