SQL Error during login
-
Thanks for the suggestions.
Running the migration manually doesn't have any effect though:/app/code# sudo -E -u www-data -- /app/code/console core:update --yes Everything is already up to date.I'll try to revert to an older backup or set up a clone from an older backup
-
Thanks for the suggestions.
Running the migration manually doesn't have any effect though:/app/code# sudo -E -u www-data -- /app/code/console core:update --yes Everything is already up to date.I'll try to revert to an older backup or set up a clone from an older backup
-
Unfortunately, since I'm using a free version of Cloudron I can only have 2 apps on a single Cloudron and therefore I'm not in the possibility to clone from an older version because I already have another app on that same Cloudron.
And when importing a backup on another Cloudron, the versions of the old and new app should be identical and I can only install the latest version of the app on the new Cloudron, so I would only be able to clone from the latest version.Or is there a way to clone an older version of the app to another server?
-
Unfortunately, since I'm using a free version of Cloudron I can only have 2 apps on a single Cloudron and therefore I'm not in the possibility to clone from an older version because I already have another app on that same Cloudron.
And when importing a backup on another Cloudron, the versions of the old and new app should be identical and I can only install the latest version of the app on the new Cloudron, so I would only be able to clone from the latest version.Or is there a way to clone an older version of the app to another server?
@guyds said in SQL Error during login:
Or is there a way to clone an older version of the app to another server?
I think there may be ways to install older versions of apps using the Cloudron CLI, but having never actually used it I couldn't tell you how.
-
Unfortunately, since I'm using a free version of Cloudron I can only have 2 apps on a single Cloudron and therefore I'm not in the possibility to clone from an older version because I already have another app on that same Cloudron.
And when importing a backup on another Cloudron, the versions of the old and new app should be identical and I can only install the latest version of the app on the new Cloudron, so I would only be able to clone from the latest version.Or is there a way to clone an older version of the app to another server?
-
@guyds mm, indeed that would be problematic. Are you able to send us a mail at support@cloudron.io , we can debug it directly then ?
-
Been debugging this a bit. The issue is that the
brute_force_logtable has a missing field in @guyds instance. Maybe a missing migration
mysql> describe brute_force_log; +--------------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------+-------------+------+-----+---------+----------------+ | id_brute_force_log | bigint | NO | PRI | NULL | auto_increment | | ip_address | varchar(60) | YES | MUL | NULL | | | attempted_at | datetime | NO | | NULL | | +--------------------+-------------+------+-----+---------+----------------+ 3 rows in set (0.04 sec) -
OK, I had to do this:
- Run MySQL command
UPDATEoptionSET option_value = "4.2.0" WHERE option_name = "version_core"; sudo -E -u www-data -- /app/code/console core:update
Works now. This is document upstream in https://matomo.org/faq/how-to-update/faq_179/
- Run MySQL command
-
G girish has marked this topic as solved on
-
G girish has marked this topic as unsolved on
-
G girish has marked this topic as solved on
-
Thanks @girish, I'm glad you found the issue.
Before posting here, I did a search on the error but that didn't bring me to the Matomo FAQ. Probably my search was too specific.The question now is if/how this can be prevented in the future

For starters it might be a good idea to add this info to the documentation for the Matomo app? -
Thanks @girish, I'm glad you found the issue.
Before posting here, I did a search on the error but that didn't bring me to the Matomo FAQ. Probably my search was too specific.The question now is if/how this can be prevented in the future

For starters it might be a good idea to add this info to the documentation for the Matomo app?@guyds I think this was just a one off error specific to your instance. A migration was not run from 5-6 releases ago. I am not sure why, I just reran the migration.
As for docs, I prefer not to put these "sensitive" things there. I don't want our users to run commands by copy/pasting. This required some debugging before I ran those commands. One has to actually figure which migrations to run by inspecting the code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login