-
Notifications
You must be signed in to change notification settings - Fork 48
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 i reset the password or salvage my links? #102
Comments
Hey, could potentially be caused by setting a (new) value for Regardless in your case access you should fix it with the following commands:
(The second and third command have to be executed inside your container. The third one sets a new password for the first user in your database.) |
This seems to have worked indeed. Though now I have another issue, all the thumbnails have disappeared (or some are there, but definitely not as many as it was before). I tried doing
Shouldn't it start from 1 ? Not to mention I don't have only 24 posts. Edit: this is the thumbnails folder, it contains only the ones it created now.
|
The thumbnail command works differently. It visits every website with an actual browser and tries to make a screenshot of it. It only takes care of links that do not have a thumbnail in the database. All your old links have a thumbnail path stored in the database. This never happend before, to my knowledge, and I can only speculate. Did you somehow change your volume ? Have you checked if there are multiple volumes for this application (that are not containing the database) ? Edit: Your original problem could be related to that. Could it theoretically be possible that you used no volume at the beginning? |
I did a fresh reinstall of Docker for a completely unrelated issue, but it was after the first issue appeared. Though my Docker has been bugging out before that, so it might have played a role. In regards to the 2nd issue with the thumbnails, the original volume with the thumbnails was deleted altogether with the Docker fresh reinstall, which was expected. The links and various posts survived with the rest of Benotes' database because they're in a remote database. So I was hoping that Benotes would recreate the missing thumbnails, either automatically or I could trigger it manually, but it seems like it thinks the thumbnails are already created so it won't bother. I guess it writes this info in its database (of which thumbnails are already done)? Is there some way to trigger the recreation of thumbnails? I mean other than just deleting the database altogether and reimporting every link, but it's well over 300+ at this point, and trying to mass import them previously as HTML has always lead to error 500. |
I had to set an associative array. It returned
|
It is not really designed for assuming the database still exists, yet all other files are lost.
Thanks @johnchristopher for pointing out my typo ! |
Hey,
I'm running Benotes via Docker compose and today after rebooting the host computer it suddenly stopped working. Or rather, it works fine, but won't accept my credentials (that were working an hour ago, before the reboot).
There's nothing out of the ordinary in the docker logs from what I can see:
Is there some way to reset the password or at least salvage my links? Or is everything lost? I'm using sqlite as the database.
Edit: I can't use the "Forgot password" link, because the email I used is non-existent, I'm the only user of the program and it runs on my 2nd PC at home.
The text was updated successfully, but these errors were encountered: