modmail-dev / Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
https://docs.modmail.dev
GNU Affero General Public License v3.0
1.58k stars 4.59k forks source link

Heroku needs to be phased out in official setup instructions #3180

Closed Ast3risk-ops closed 1 year ago

Ast3risk-ops commented 2 years ago

Is your feature request related to a problem? Please elaborate.

Heroku will be phasing out free dynos as of November 28th, 2022. I would recommend finding an alternative so that people can still host their own instances and logger.

Describe the solution you'd like

you could use something like Back4App, AWS or Firebase as an alternative in the setup instructions

Does your solution involve any of the following?

Describe alternatives you've considered

A Self-host.

Who will this benefit?

Everyone who would like the bot and logger all in one place with everything at their fingertips and who don't want to mess with the bot's config. Really, everyone.

EDIT: added: Really, everyone

Additional Information

message

An email they sent to me (they being Heroku)

StephenDaDev commented 2 years ago

Our team is working on testing and vetting countless other alternatives to find the best possible alternative. As our support documentation, and resources within the server are widespread and complex, and our reputation is tied directly to what we recommend, we will make sure we can stand behind and support whatever we recommend. We will have instructions for migrating to our new recommended platform, and for new setups on our recommended platform before the deadline from Heroku. (As soon as possible based on when we agree on a suitable replacement).

Anyone who has any suggestions to replace Heroku can leave them as a comment on this issue, or let us know on our support server.

Ast3risk-ops commented 2 years ago

Our team is working on testing and vetting countless other alternatives to find the best possible alternative. As our support documentation, and resources within the server are widespread and complex, and our reputation is tied directly to what we recommend, we will make sure we can stand behind and support whatever we recommend. We will have instructions for migrating to our new recommended platform, and for new setups on our recommended platform before the deadline from Heroku. (As soon as possible based on when we agree on a suitable replacement). Anyone who has any suggestions to replace Heroku can leave them as a comment on this issue, or let us know on our support server.

Thanks.

Taaku18 commented 2 years ago

I don't know if it would work, but Cloudflare Workers might work for this - it's free for 100,000 requests/day it looks like.

Thank you for your suggestion. Cloudflare Workers is used to deploy serverless code for website backends. Unfortunately, Modmail cannot be hosted on that.

We are currently testing Render, Fly.io, Python Anywhere, and Railway. You can help out by trying these services and let us know if they work.

If there's any other service you feel we should test, please do let us know!

Ast3risk-ops commented 2 years ago

PythonAnywhere

I used that for a site, it might work

Ast3risk-ops commented 2 years ago

also feel free to close the issue if a solution is found

ghost commented 2 years ago

From what I understand, Render only has web services on their free plan? Wouldnt this mean modmail cant be deployed there? image

I have used Railway in the past, and I still do for hosting my logviewer and its an amazing service imo but with their change in pricing etc its 500 hours or $5 credits based on usage, whichever is earlier.

Ast3risk-ops commented 2 years ago

We could use Firebase for the whole thing, or Vercel for just the logger.

Ast3risk-ops commented 2 years ago

What if we used a replit with a web server that would be pinged every 5 minutes with UptimeRobot to keep the replit from shutting down... host the bot on that...

sebkuip commented 2 years ago

What if we used a replit with a web server that would be pinged every 5 minutes with UptimeRobot to keep the replit from shutting down... host the bot on that...

There is no support for replit and we want to keep it that way. It’s not a suitable host, having many issues from performance to security.

lidistat67 commented 2 years ago

What if we used a replit with a web server that would be pinged every 5 minutes with UptimeRobot to keep the replit from shutting down... host the bot on that...

No, Replit has been already discussed that would not be a candidate for now or in the future.

Ast3risk-ops commented 1 year ago

uhhh, this thread is inactive and I see no change in the official setup docs, so I'll probably end up self-hosting, as I already have a server, domain, etc good to go.

Ast3risk-ops commented 1 year ago

@StephenDaDev Inactive so far... Just wanna say I tried Railway and it works, but that 500 h/month would deplete fast with a logviewer too... What about GitHub Codespaces?

Ast3risk-ops commented 1 year ago

But Railway is great, auto variable detection and all. My ModMail is humming, and i've put the logviewer on another server of mine that's too slow for ModMail, but not everybody has that luxury :P

StephenDaDev commented 1 year ago

We have guides in our server, we are still discussing internally how we want to move forward with the wiki

Ast3risk-ops commented 1 year ago

Okay, you might want to update the wiki’s pictures though. Discord doesn’t look like that anymore

On Mon, Dec 5, 2022 at 21:36, Stephen @.***> wrote:

We have guides in our server, we are still discussing internally how we want to move forward with the wiki

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Ast3risk-ops commented 1 year ago

There's no activity here and new docs at https://docs.modmail.dev, closing.