-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not use forever-webui on forever module #31
Comments
on app.js:30
should be fixed like :
|
@opjlmi It seems to be an issue introduced by #29 (from @Cinezaster), don't hesitate to send a PR to fix this, I will merge it :) |
Indeed users.json was intended to be in the root-folder of forever-webui and not of ~/ even in you run your forever module on ~/. On some servers it could be an issue to write to ~/ because you're not permitted to. I can see the issue of setting users.json in the forever-webui folder because if you npm update forever-webui the file might be deleted. I suggest to store the users.json in ../users.json. Any thoughts? |
Ok, I got it. I use git clone to download this, when I update, it won't delete the file. I still thank you for your reply 😄 |
I'm looking into other options for persistent data. like http://lokijs.org/ Since this is actually a standalone application this shouldn't be in npm. In that case the data should be stored in /var/lib/ |
This is the forever module log :
However, I have added the users.json.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14035536-can-not-use-forever-webui-on-forever-module?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).I think maybe the users.json is on my ~/dev/forever-webui,
and I run forever module on ~/
The text was updated successfully, but these errors were encountered: