-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Gitea 1.9.3 fails to start #8412
Comments
did the raspberry shutdown normaly? |
The power was cut |
Maybe the database is now corupt .. but sqlite should be quite resistant ... |
If that's the case, then, perhaps, someone can help me recreate the necessary database for gitea and copy the old content into the newly created one. |
I think it's not the database (which I suggest you change from sqlite anyway) but the bleve indexes. These are located in |
@guillep2k Thanks for the feedback! Where can I locate this folder Edit 1: |
The path is written in the app.ini config file |
@guillep2k It worked, thanks a lot! |
@guillep2k is correct. The bleve index was corrupted when you lost power. Bleve should have some tool to try to fix these indexes but the simplest and often quickest thing to do is to delete it. I'm not sure what we could do better - I don't like that we Fatal for this but there's not much option other than deleting the index files in these cases, and that has a feeling of being something that we should not do automatically. As that solves the issue I'm going to close this issue. |
@zeripath perhaps add something to FAQ and/or print link to this issue or the FAQ if this hapens into the log? |
I've made #7753 to rebuild the indexes via cmd (wink, wink). |
I got exatly the same with 1.9.3 - but I'm running MariaDB.
|
Ok, using also the gitea backup folder solves the problem. |
Description
Yesterday I was able to access my gitea page without any kind of problems but today I was not due to this error:
My first instinct was to update to the latest version (from 1.9.2) but that didn't solve it.
I have to mention that my power was down for a couple of hours, maybe that corrupted the page? When accessing the page I get: 502 Bad Gateway error, everything else that I host works normally.
The text was updated successfully, but these errors were encountered: