-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Migration old albums from old 3.x to 4.x version #621
Comments
It seems that the migration could not find the said v3 tables.
You can still edit the |
Hello, In Connection.php line 671: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails ( In PDOStatement.php line 129: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails ( In PDOStatement.php line 127: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails ( I have 5 existing albums in it. It looks it tries to insert invalid data when migrating images to new table; specifically album_id which does not exist neither in old table or new one. Albums records were migrated ok to new table. All 5 records looks ok. |
That is most likely because you are using a 32 bit architecture. |
@XMMM1 please git pull and try again |
Hello, yes this was it. Thanks for fix. |
Hi,
i recently update my old Lychee version from 3.x to 4.0.6. I follow detaily to the migration guide described in documentation and everything went ok through. Although, my old albums were not migrated to new structure. Script says everything went ok, installation log has no errors written in it.
I also tried to run
I check the db, there was new tables created, but records in old ones were not migrated. Also prefix table was set in .env file as described.
Diagnostics
-------
Info: Latest version of PHP is 7.4
Warning: Using 32 bit PHP, recommended upgrade to 64 bit
Warning: Dropbox import not working. dropbox_key is empty.
System: RPI debian
Any further needed info can be provided.
The text was updated successfully, but these errors were encountered: