Kenny
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
I moved the template from
2023/2023-01-01
to 2023-01-01
. It copied all the files, but also left the originals, so I have a couple directories (2023
, 2022
) that have the same files as the outer ones51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
oh... I see. Yes, I tried that when I still had the files on her phone and the app tried to reupload them all anyway, but in this case maybe that'd be better
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
at least it seems everything failed safe, in that it duplicated files instead of losing any
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
true... except I uploaded them then told my daughter she could let ___Photos do the cleanup it wanted to do 🙂
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
(I could probably just
rm -rf 2023
to remove the duplicates, but might as well let rmlint
verify they actually are duplicates first)51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
The duplicates are in 1 user with around 3000 files. The oddness is in a second user with only around 300 files
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
okay. I was thinking I'd run an
rmlint
to remove the duplicates (keeping the right version), then deal with what's missing in the db. Actually I have those so maybe I'll just upload them again... I know the android app still isn't all that happy about it's counts unless it does the upload51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
Okay. On some other digging, it looks like uploads/uploads has files that were originally truncated by too low of a limit on nginx. Will they be cleaned up automatically and/or are they safe to delete?
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
I can script something up to run some checks locally, just want to confirm that 'assets' is the only place I need to pay attention to (there's no albums yet)
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
good advice. I did a btrfs snapshot of the subvolume so I knew the files were safe. I probably should have dumped the assets table too
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
perhaps... I was concerned the bug might be around doing to different migrations near the same time
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
I can poke around at getting things where I want. I don't suppose there's an
fsck
tool to verify that all the originals match the db?51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
oh, for the other user it seems to have duplicated all the files to the new template path, but not removed the old ones. Looks like all db entries are updated in that case though. Curiouser and curiouser
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
looks like about half the files were moved, both on the disk and in the db. None of the files were deleted. About half the db entries appear to be missing
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
yes, looking at originalPath
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
Is the assets table the authorative source for what exists? (ie if I script up something that writes entries in there, will everything 'just work'?)
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
Looking at the db, I don't see any records in
assets
with the admin tag51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
oh... when/how do I move them?
51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
(I also seem to have some files is
.../upload/uuid
for the user... but I don't know what they're about, so maybe they're a red herring)51 replies
IImmich
•Created by Kenny on 7/20/2023 in #help-desk-support
When storage template migration shows as not active, is it still working?
Looking at the webui it's called 'Storage Label'
51 replies