Upgrading net-im/mastodon

I have a solo server i'm hosting mastodon on. Thus far i've been using the pkg version but it's now stuck on 4.3.6 (latest version as of writing is 4.5). I see servers like bsd.cafe are runnning the latest version, so my question is:

What do i do now? Last time I upgraded from a really old version i had to start all over, i was unable to continue using my old account etc.

  1. The easiest thing would be to update the distinfo and Makefile for 4.5? Just edit a few lines in the pkg files and build it should build up 4.5?
    1. i don't mind adopting the port but i'm not sure i'm up for it. doesn't seem too complex for this particular port?
    2. WHere am i getting the timestamp number from? Ideally i'd find the hash directly from mastodon but i can't seem to find that on the github either?
  2. As I said, i'd like to make it as painless as possible and i'm sort of worried as every time i have upgraded mastodon I've had a lot of trouble getting it start up again (when i went from 4.2 to 4.3 I was unable to use my old databases so i had to recreate everything from scratch).

Anyone have experience with running mastodon on FreeBSD, any guides on what you're doing? or just using git without pkg?
 
TjPhysicist there is PR 290097 and the good news so far is, that people are actually working on it.
If you are in a hurry get the latest attachment there and try to build locally.
In many cases that works, while porting takes more time and effort for reasons.
 
Oh awesome. Thank you. I'll wait. I managed to build it on my own but I'm scared to install, when I went from 4.3 to 4.3.6 I had to manually migrate my pgsql database and i'd rather not lose that again since this is a production server I use often.
And thank you in advance to all who end up fixing the port.
 
Back
Top