Skip to main content


!Friendica Admins I need some help with a transfer. My living situation is up in the air so i need to transfer my environment to a remote setup until it solidifies, I'm trying to migrate the storage to S3 but I keep running into an issue.

When I use console storage move, it works for a bit, moves around 253 items... then starts giving an error message like [Error] Cannot put data for reference 31d56e0ccb8e2a30d6cd79ab2e85c974ed99e87a3339957efbda9a58cbe423bc, the hash changes each time and it just immediately gives me that error no longer moving anything else.

I'm still on 2023.12, I was intending to make the upgrade along with the move due to the involved downtime. I really need to get this transferred right away because I need to have the server on my desk shut down in the next day or two... can y'all help be figure out how to get past this error message and get the storage transferred up?

Friendica Admins reshared this.

in reply to Shiri Bailem

How about moving the storage items back into the database, via the console command?

I did that once and it took quite some time though. Afterwards you can upload the DB and configuration file to a new VPS installation.

It's likly not to be quick, but probably the least experimental.
@Shiri Bailem

in reply to Andy H3

@Andy H3 I need to migrate to S3 because of space constraints on the destination.

Friendica Admins reshared this.

in reply to Shiri Bailem

The idea would be that once everything is back into the DB you could move it to S3 storage.

Just to check are you trying to migrate from local storage to S3?
@Shiri Bailem

in reply to Andy H3

@Andy H3 It's in local storage because it won't fit on the database 😭

In my setup the database is stored locally on a replicated ZFS volume between two servers while the image storage is remotely stored on NFS

Friendica Admins reshared this.

in reply to Shiri Bailem

Oh, that sounds tricky.

I wish I'm wrong, but I'm under the impression that the various storage systems are not yet very well developed.

It you can get some temporary drive linked up for your DB dump that has the pictures moved back, you might be in a better position for S3.

Hopefully someone else might have some better recommendations.
@Shiri Bailem

in reply to Shiri Bailem

Out of desperation and lack of better answers... I've done a find delete on the storage folder of anything that hasn't been touched in 60 days... that cut down the usage drastically and the S3 move seems to have completed successfully.

Friendica Admins reshared this.