Comments (3)
Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it.
Based on the detailed logs and configuration you provided, it appears that the error you're encountering during the Authelia startup is related to a failed database migration from schema version 6 to 7. The specific error message indicates a problem with the MySQL database: "Error 1728 (HY000): Cannot load from mysql.proc. The table is probably corrupted."
This error suggests that there might be corruption in the MySQL system tables, specifically mysql.proc
, which is used to store stored procedures and functions. Here are a few steps you can take to resolve this issue:
-
Check and Repair MySQL Tables: You can use the MySQL
CHECK TABLE
andREPAIR TABLE
commands to check for corruption and attempt to repair it. For themysql.proc
table, you can run:CHECK TABLE mysql.proc; REPAIR TABLE mysql.proc;
-
Restore from Backup: If you have a backup of your MySQL database, consider restoring from the backup before the corruption occurred.
-
Reinitialize the Database: Since you mentioned that you don't have anything important in the Authelia database and already tried dropping all tables, you might consider reinitializing the database entirely. Make sure to drop the entire database and recreate it, rather than just dropping the tables, to ensure all system tables are correctly recreated.
-
Upgrade MySQL: If you're running an older version of MySQL, consider upgrading to a newer version. Sometimes, bugs related to system table corruption are resolved in newer versions.
-
Check MySQL Logs: Look into the MySQL error logs for any additional messages that might give more insight into what caused the corruption and how to prevent it in the future.
-
Re-run Authelia with a Clean Setup: After addressing the database issues, ensure that your Authelia configuration is correct and try running Authelia again. Make sure that the database connection settings in your
configuration.yml
are correct and that Authelia has the necessary permissions to access and modify the database.
If the problem persists after trying these steps, you might need to delve deeper into the specific configurations of your MySQL server or consider getting professional support for MySQL.
This comment was generated by Glime.
from authelia.
Tried 1.
and 3.
, don't have a backup for this particular database, and I'm already running latest mariadb. (recently upgraded, if that could cause any issues)
from authelia.
Performing mysql_upgrade
is not optional with MySQL/MariaDB when changing versions, it must be performed every time you upgrade it, as per their documentation. This is not a bug, it's a corrupt MySQL/MariaDB installation. See our docs for more information on why this isn't supported.
from authelia.
Related Issues (20)
- Synology docker - invalid memory address or nil pointer derefernce - PGID not correct HOT 7
- TOTP is a hit or a miss (mostly a miss) HOT 6
- BUG: `AUTHELIA_TOPT_DISABLE` environment variable not respected in place of configuration.yml setting HOT 3
- INACCURATE DOCS: Docs claim `AUTHELIA_TOPT_DISABLE` environment variable is valid HOT 5
- authelia storage encryption change-key not working properly HOT 2
- Create a change password workflow HOT 1
- Relying party support for OIDC HOT 1
- UnifiedPush (ntfy) support for Mobile Push HOT 13
- Error while deploying authelia HOT 1
- Add inspect menu to totp credentials in user settings HOT 2
- SMTP - Authelia does not atempt to authenticate on custom mail server HOT 8
- SCIM 2.0 API support
- After login the "Loading" page keeps refreshing every seconds HOT 1
- Implement configuration to allow admins to disable password change HOT 1
- Webhook Notifier
- Support of multiple authentication methods on GUI HOT 6
- Client Assertion fails with jti was already used error on first use. HOT 17
- LDAP group attribute is now case sensitive (unexpected/breaking change?) HOT 7
- Set password expiration policy HOT 2
- Cloudflare Zero Trust validation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authelia.