Hi all,
Hoping someone can help me out here. I just did the upgrade, I’ve updated my ENV variables, and started, and I get:
2024-05-18T19:13:07.047224829Z 2024-05-18T19:13:07.046998Z INFO migrate_04: pict_rs::repo::migrate: Running checks
2024-05-18T19:13:08.177484313Z 2024-05-18T19:13:08.177294Z INFO migrate_04: pict_rs::repo::migrate: Checks complete, migrating repo
2024-05-18T19:13:08.177524752Z 2024-05-18T19:13:08.177323Z INFO migrate_04: pict_rs::repo::migrate: 362224 hashes will be migrated
I then proceed to get the following item for 110,670 files:
2024-05-18T19:13:08.196186995Z 2024-05-18T19:13:08.196036Z ERROR pict_rs::repo::migrate: Failed to migrate hash 0000181884f6a92c7f6ee411dc8049474b2872204fafebbc6b0170e7499d902b, skipping
2024-05-18T19:13:08.207066220Z
2024-05-18T19:13:08.207078792Z 0: Error in store
2024-05-18T19:13:08.207089618Z 1: Requested file is not found
2024-05-18T19:13:08.207099605Z 2: No such file or directory (os error 2)
2024-05-18T19:13:08.207109313Z
2024-05-18T19:13:08.207119231Z Location:
2024-05-18T19:13:08.207129638Z /drone/src/src/repo/migrate.rs:32
And then pict-rs just exits.
Turning on debug gives me more info, but nothing helpful after each of the above errors:
|lemmy-pictrs | 2024-05-18T19:21:15.631508936Z 2024-05-18T19:21:15.631417Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576771 to 102576797
|lemmy-pictrs | 2024-05-18T19:21:15.631606646Z 2024-05-18T19:21:15.631504Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576797 to 102576823
|lemmy-pictrs | 2024-05-18T19:21:15.631643803Z 2024-05-18T19:21:15.631531Z DEBUG sled::pagecache::iobuf: wrote lsns 3029152387-3029152412 to disk at offsets 102576771-102576796, maxed false complete_len 26
|lemmy-pictrs | 2024-05-18T19:21:15.631661473Z 2024-05-18T19:21:15.631541Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576823 to 102576849
|lemmy-pictrs | 2024-05-18T19:21:15.631676419Z 2024-05-18T19:21:15.631549Z DEBUG sled::pagecache::iobuf: mark_interval(3029152387, 26)
|lemmy-pictrs | 2024-05-18T19:21:15.631689340Z 2024-05-18T19:21:15.631561Z DEBUG sled::pagecache::iobuf: new highest interval: 3029152387 - 3029152412
My env (left old values in, too):
- PICTRS_OPENTELEMETRY_URL=http://otel:4137
- PICTRS__API_KEY=...
- PICTRS__SERVER__API_KEY=...
- RUST_LOG=debug
#- RUST_BACKTRACE=full
- PICTRS__MEDIA__VIDEO_CODEC=vp9
- PICTRS__MEDIA__GIF__MAX_WIDTH=256
- PICTRS__MEDIA__GIF__MAX_HEIGHT=256
- PICTRS__MEDIA__GIF__MAX_AREA=65536
- PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=400
- PICTRS__MEDIA__ANIMATION__MAX_WIDTH=256
- PICTRS__MEDIA__ANIMATION__MAX_HEIGHT=256
- PICTRS__MEDIA__ANIMATION__MAX_AREA=65536
- PICTRS__MEDIA__ANIMATION__MAX_FRAME_COUNT=400
- PICTRS__MEDIA__VIDEO__ENABLE=True
- PICTRS__MEDIA__VIDEO__MAX_FILE_SIZE=20
Any idea how to get pict-rs started? Or what I should look to for figuring this out.
Edit: Scanning the logs more closely I see that I never get the Migration complete
message from here https://git.asonix.dog/asonix/pict-rs/src/commit/d45e3fa386e62e0538b3d7ba399ceaec80fdd7ca/src/repo/migrate.rs#L175, but I do get percentage completes up to Migration 59% complete - 213698/362224
. Nothing else indicates, though.
You must log in or register to comment.