8

not this weekend, not next weekend, but i'm thinking soon™ i'm going to attempt to migrate jstpst to a non-heroku server

Submitted by hollyhoppet admin in meta (edited )

originally i put jstpst on heroku during a time where VPSes were more expensive. nowadays i'm paying just about as much for heroku as i would for a VPS capable of hosting postmill.

there will be a number of benefits to this.

  • assuming postmill can hook to a s3-compatible image host, we could actually start hosting images on bacbklaze which these days is basically free until x number of images used, which means finally getting thumbnails.
  • upgrades will be substantially easier. in fact one of the reasons i haven't upgraded yet is because heroku just doesn't seem to play nice with newer versions of certain postmill dependencies any time i try. it's been long enough i don't remember which specific ones but i recall them being substantial, like server architecture stuff.
  • customizing the code will be substantially easier

theoretically, this would be simple as getting a backup of the db from heroku, running whatever migrations need to be done in the upgrade process, then pointing to the fresh new server. i would leave the heroku version up just in case for a week or two (though wouldn't be accessible to anyone) and if things are working fine shut it down after then.

in the move we may lose some of the customizations because the new code base may just have too many incompatibilities for me to bother, but as before i'll have a repo accessible for anyone who might want to make edits. not that this detail matters that much but it's on gitlab at the moment but i'm considering hosting my own gitea in the future.

Comments

You must log in or register to comment.

3

Moonside wrote

assuming postmill can hook to a s3-compatible image host, we could actually start hosting images on bacbklaze which these days is basically free until x number of images used, which means finally getting thumbnails

Wow does this mean I might upload background images to css themes in the future?

3

hollyhoppet wrote

i figure it might only be for thumbnails but i guess we'll find out when we find out

2

twovests wrote

if you need an extra pair of hands for anything, hmu! i've been using linux on the desktop for 15 years, hosting my own VPSes for 6 years, and an informal sysadmin for a few years.

the idea of images on jstpst is exciting, and i am sure we all will be very responsible about it

2

toasthaste wrote

c-could we have user avatars? 🥺 is that even possible....

3

hollyhoppet wrote

i mean it's probably possible but sadly far beyond my web programming capabilities which are pretty minimal. i didn't make postmill in the first place emma did