tmm1 / flyapp-mastodon Goto Github PK
View Code? Open in Web Editor NEWmastodon on fly.io
mastodon on fly.io
Hello!
I tried using this repo to deploy Mastodon and one issue I had was that going to the URL caused it to hang/not show anything. It was a few days ago so I don't 100% remember what was the result, I remember it just hanging and doing nothing even if the monitoring page said that the "server started on 3000".
I was able to fix by removing the processes = ["rails"]
in the [[services]]
block (marcotteteam@2c1d5c3)
I wonder if anyone else had a similar problem and if removing this processes
is the right fix?
Need to revert this... whoops. Deployments now error with:
overmind: Can't find tmux. Did you forget to install it?
Originally posted by @mountainash in #22 (comment)
I could not promote my own user to Owner and turns out the seeds were missing:
root@3d859385:/# tootctl accounts modify lubien --role Owner
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role owner
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --confirm
OK
root@3d859385:/# tootctl accounts modify lubien --role Owner
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role Owner
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role 'Owner'
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role Owner
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role Admin
Cannot find user role with that name
root@3d859385:/# tootctl accounts modify lubien --role Admin
root@3d859385:/# cd opt/mastodon/
root@3d859385:/opt/mastodon# bundle exec rails db:seed
root@3d859385:/opt/mastodon# cd ..
root@3d859385:/opt# cd ..
root@3d859385:/# tootctl accounts modify lubien --role Owner
Mastodon contains a feature that creates a background job to retry if fetching remote media fails: mastodon/mastodon#11775.
Unfortunately, since Fly cannot mount the same volume in different process VMs, that means Sidekiq creates a valid database record and then writes the image into a container-only temporary file system. At that point Mastodon starts returning 404s for those images, but it has a valid DB record, so there's not any easy way to recover.
I think this means that Puma and Sidekiq have to run inside the same VM for this to work at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.