Skip to content

[stable27] Move oc_file_metadata.metadata migration to a background job - #43580

Merged
skjnldsv merged 1 commit into
stable27from
artonge/fix/metdata_column_migration
Feb 22, 2024
Merged

[stable27] Move oc_file_metadata.metadata migration to a background job#43580
skjnldsv merged 1 commit into
stable27from
artonge/fix/metdata_column_migration

Conversation

@artonge

@artongeartonge commented Feb 14, 2024

Copy link
Copy Markdown
Collaborator

Fix#43571

Detailsnc_reset_instance server1 stable26 -o -c v26.0.0 cp ~/Pictures/Wallpapers/* ./data/admin/files/ occ files:scan admin occ files:scan admin --generate-metadata git add .htaccess git reset --hard mysql --password=password -u nextcloud_server1 -e "SELECT * FROM oc_file_metadata;" nextcloud_server1 nc_reset_instance server1 stable27 -u -o -c artonge/fix/metdata_column_migration php ./cron.php mysql --password=password -u nextcloud_server1 -e "SELECT * FROM oc_file_metadata;" nextcloud_server1

@artongeartonge self-assigned this Feb 14, 2024
@artongeartonge added 2. developing Work in progress feature: files php Pull requests that update Php code labels Feb 14, 2024
@artongeartonge added this to the Nextcloud 27.1.7 milestone Feb 14, 2024
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch 3 times, most recently from 045cfb8 to 82703e7CompareFebruary 14, 2024 17:50
@artonge
artonge marked this pull request as ready for review February 14, 2024 17:59
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from 82703e7 to a5ecfe8CompareFebruary 14, 2024 17:59
@artongeartonge changed the title Move oc_file_metadata.metadata migration to a background job[stable27] Move oc_file_metadata.metadata migration to a background jobFeb 15, 2024
Comment threadcore/BackgroundJobs/MetadataMigrationJob.php Outdated
This was referenced Feb 20, 2024
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from a5ecfe8 to 273cd1dCompareFebruary 22, 2024 09:45
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from 273cd1d to 15d2498CompareFebruary 22, 2024 10:41
@artongeartonge added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 22, 2024
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from 15d2498 to c519bceCompareFebruary 22, 2024 11:11
@skjnldsv

This comment was marked as resolved.

@skjnldsv
skjnldsvforce-pushed the artonge/fix/metdata_column_migration branch 2 times, most recently from 69b62b4 to e726318CompareFebruary 22, 2024 15:52
Comment threadlib/private/Repair/AddMetadataMigrationJob.php Outdated
Comment threadlib/private/Repair/AddMetadataMigrationJob.php
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from e726318 to 1adc392CompareFebruary 22, 2024 16:41
Comment threadcore/BackgroundJobs/MetadataMigrationJob.php Outdated
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge
artongeforce-pushed the artonge/fix/metdata_column_migration branch from 1adc392 to 261efaaCompareFebruary 22, 2024 17:12
@skjnldsv
skjnldsv merged commit a891cbc into stable27Feb 22, 2024
@skjnldsv
skjnldsv deleted the artonge/fix/metdata_column_migration branch February 22, 2024 19:33
@max-nextcloud

Copy link
Copy Markdown
Contributor

/backport to stable26

@max-nextcloud

Copy link
Copy Markdown
Contributor

Proposing a backport as the migration was also backported to stable26

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: fileshighphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@artonge@skjnldsv@max-nextcloud@nickvergessen@ArtificialOwl@sorbaugh