I'm such a noob on the Linux command line. I now have an Ubuntu environment in Windows (WSL), and connected Cloudron CLI. Do you think it's possible to mount the S3 bucket in the WSL's file system and pull the files directly to the S3 bucket via Cloudron CLI?
Could also download a current backup and shoot those files to the S3 on my local PC first. Sorry for thinking loud in public, but I am open for suggestions.

nichu42
Posts
-
Installing awscli to move media to S3 -
Installing awscli to move media to S3The Mastodon backup takes roughly 6 hours each day.
Including the cache, though. Which is limited to 7 days. -
Installing awscli to move media to S3@nebulon That would mean putting my public instance offline for a whole working day. Can you think of another way to solve this?
I am currently thinking if I could rsync the files to a Hetzner Storage Box volume and then rclone them from there to S3.
Once to prepare, then move, then repeat to sync any missing file. -
Backing up media cache@robi Good idea, thanks. Continuing in https://forum.cloudron.io/post/105874
-
Installing awscli to move media to S3Splitting from thread https://forum.cloudron.io/post/105859
I'm trying to install awscli in order to copy the local media files to S3.
Following the instructions found at https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html, I end up with the following error when trying to start the installation:mkdir: cannot create directory β/usr/local/aws-cliβ: Read-only file system
Seems logic. But I'm running in circles. How do I get the files out of the container? Is there another way?
-
Backing up media cacheI think the thread title might have caused some confusion. I originally started this thread because I was having issues with backups. I managed to resolve those for the most part by aggressively clearing the cache, so I postponed the S3 topic.
However, my (public) instance has continued to grow since then, and some users are posting plenty of pictures and videos. As a result, the local storage usage keeps climbing relentlessly, so now I really need to make the move to S3.The guides linked here in the thread all mention migrating the cache folder. That's why I had intended to do that too. But honestly, I'm not really care about the cache. As @nebulon rightly pointed out, it'll just get repopulated anyway. Sure, that might lead to some performance hits, but that's a secondary concern.
My main concern is really the assets that are permanently stored on my instance. I can't just leave those behind. Since there's no fallback mechanism, all existing media files will inevitably result in 404 errors. Once S3 is activated, Mastodon will only look for files in the S3 storage. So, uploading everything to the S3 bucket is essential. I intended to use awscli for this, but installing it in the container following Amazon's instructions failed. It's possible I did something wrong, though. I'd be really grateful if someone could point me in the right direction here.
Thanks a lot!
-
Backing up media cacheWell, all the guides linked in this thread say you should do this. I want to get rid of my locally stored assets altogether.
-
Backing up media cacheBonus question @nebulon: Would you be able to include awscli in the Mastodon package?
-
Backing up media cache@doodlemania2 Could you please elaborate a bit more on how you managed to get awscli working inside the Cloudron container? I'm having trouble installing it (getting "file system is read-only" errors all the way long).
-
Best way to change DNS providers from Cloudflare to an EU provider?I am currently trying bunny.net for the same reason.
-
postiz won't log out@nebulon Still excited. This is the way!
-
Open registrationThat worked! Thank you so much.
-
Open registration@robi Whatever. I could create 1 user (me), but failed to add more.
-
Open registrationHas anyone here managed to register more than one user?
-
Open registration@nebulon yes
-
Open registrationI tried setting this to true, but that didn't work either.
I've also invited some people via UI, but they cannot register or login via "lost password". -
postiz won't log outSame thing here.
No OICD, @jdaviescoates -
Open registrationI have
export DISABLE_REGISTRATION=false
Shouldn't that allow new registrations?
-
Postiz - social media scheduling tool