Skip to content

Managing uploads

Every command should be ran as the akkoma user from it's home directory. For example if you are superuser, you would have to wrap the command in su akkoma -s $SHELL -lc "$COMMAND".

From source note about MIX_ENV

The mix command should be prefixed with the name of environment your Akkoma server is running in, usually it's MIX_ENV=prod

Migrate uploads from local to remote storage

 ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
mix pleroma.uploads migrate_local <target_uploader> [option ...]


  • --delete - delete local uploads after migrating them to the target uploader

A list of available uploaders can be seen in Configuration Cheat Sheet