• 3 Posts
  • 27 Comments
Joined 2Y ago
cake
Cake day: Jun 17, 2023

help-circle
rss

Thanks for the perspective! I am a reluctant newcomer to Docker so I appreciate it. Time for me to get with the times and embrace Docker since that’s the most popular installation method for many of my favorite self hosted platforms these days. It might take a while for me to really get used to it though. Since I have this setup and working it will probably remain as is, but I’ll make a point to do a pure Docker setup on a similar build in the future.


Thanks for the suggestion. What would be the benefit of switching to a docker install of Mastodon?


Thanks for pointing that out! In this case I am using subdomains so hopefully I won’t run into any issues with that. I recently bought fdr8.us with the intention of creating subdomains under it for my federated projects. Mastodon.fdr8.us and Lemmy.fdr8.us are now live. If I do a kbin instance it will probably follow the same format.


Thank you for sharing your config and advice! I appreciate it. I got it working along with ssl certs installed with certbot and all is well. Cheers!


I didn’t plan it that way. I installed Mastodon first and didn’t use a Docker install. I configured Nginx and reverse proxy and then tried a non-Docker Lemmy install from scratch. That failed, and I believe the reason was some minor version differences in the dependencies. That’s when I asked for advice and got a few recommendations to try the Lemmy Easy Deployment script. I would prefer to have done the from scratch install if there was current documentation and dependencies were available, but if there is I wasn’t finding it. The Docker compose Lemmy install method worked well enough though so I’m happy with that.


Thanks for talking through it with me, everyone. I got it working with a Docker compose install of Lemmy and a non-Docker Mastodon install. Reverse proxy was configured manually in nginx. Mastodon.fdr8.us and Lemmy.fdr8.us are now live! I have some fine tuning to do still and a lot of setup, but I’m happy that they are working. Cheers!


This worked great! Thanks again for the advice! When the from scratch install didn’t work, multiple people suggested the easy deployment script. For my setup the Docker compose deployment was perfect and offered the opportunity for customization I needed. The easy deployment script does look pretty slick though if someone just wants a turnkey setup and wants to dedicate their whole box to it.


I just got it working. I used a Docker install for Lemmy but not for Mastodon and setup reverse proxy manually. I still have some fine tuning to do, but it works! Woot!


Yes, it’s very similar in Apache, but different enough for me to feel a little out of my comfort zone. I appreciate the tips.


Thanks for the tips! That sounds like a great approach. I’ll give it a shot.


I have reverse proxy configured for Mastodo using Nginx. It’s the Lemmy Easy Deploy script trying to bind all traffic on port 443 where I run into problems.


Thanks for the advice. I’m actually very experienced with vhosts, but my understanding was that vhosts are an Apache thing and Nginx uses different terminology. Unfortunately I am still very green when it comes to Nginx. What you described is exactly what I intend to implement though, and I believe my Mastodon install is already configured properly for that to work. It’s just the Lemmy Easy Deploy script that tries to bind all traffic on port 443 where I run into problems.


Interesting point. I hadn’t given that any consideration but if my Mastodon/Lemmy plans don’t work out I might give it a shot.


Anyone hosting Lemmy and Mastodon on the same server?
I have Mastodon running on a VPS running Debian 11. Now I would like to add a Lemmy instance on the same server. I tried using the from scratch method from Lemmy documentation, but ran into errors that likely stemmed from minor version incompatibilities of the dependencies. I tried using the Lemmy easy deploy script but it wants to bind all traffic on port 443 for Lemmy which would break my Mastodon install. Has anyone managed to get Lemmy and Mastodon running on the same box, and if so, can you share any details of your setup?
fedilink

Except much like your comment, they aren’t actually trying to have a good faith discussion.


I gave that a try but actually ran into a problem with that too. I setup Mastodon on the same server earlier and was planning to use Nginx server blocks to send traffic for mastodon.fdr8.us and lemmy.fdr8.us to the appropriate destination, but the script failed when it tried to bind all traffic on port 443 and Mastodon is already listening on port 443. I had hoped for both to listen on port 443. This is actually somewhat unfamiliar territory for me as usually I am working with Apache and virtual hosts, but I’m hopeful I can make it work. I am very familiar with Apache virtual hosts and have worked with them extensively. I hope I wasn’t crazy to assume I could run Lemmy and Mastodon on the same server on Nginx in a similar fashion.



Thanks for the advice. I’m old school and never use Docker, but maybe it’s time I get over that. I’m actually out of my element anyway in that I do a lot of self-hosting but up to this point it has almost all used Apache and MySQL rather than Nginx and Postgres. Hopefully someone will come along with a solution for the diesel-async compiling error while I’m at work for the next few hours, but if not I’ll give your suggestion a shot this evening.


The policy still exists. I am located in California and had to attest to where I am from and how I intend to use the domain.


Trouble compiling Lemmy server
I'm attempting to get a Lemmy server running on Debian 11 using this documentation: https://join-lemmy.org/docs/administration/from_scratch.html The following command fails as a result of some minor version incompatibilities: cargo install lemmy_server --target-dir /usr/bin/ --locked --features embed-pictrs Removing --locked seems to work, but it fails compiling later in the process with the following output: Compiling diesel-async v0.1.1 error[E0405]: cannot find trait `RowGatWorkaround` in module `diesel::row` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-async-0.1.1/src/pg/row.rs:16:23 | 16 | impl<'a> diesel::row::RowGatWorkaround<'a, diesel::pg::Pg> for PgRow { | ^^^^^^^^^^^^^^^^ not found in `diesel::row` error[E0405]: cannot find trait `RowGatWorkaround` in module `diesel::row` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-async-0.1.1/src/pg/row.rs:30:39 | 30 | ...diesel::row::RowGatWorkaround<'b, diesel::pg::Pg>>::Field> | ^^^^^^^^^^^^^^^^ not found in `diesel::row` For more information about this error, try `rustc --explain E0405`. error: could not compile `diesel-async` (lib) due to 2 previous errors error: failed to compile `lemmy_server v0.17.4`, intermediate artifacts can be found at `/usr/bin/` Does anyone know how I can remedy this?
fedilink

Thanks for the feedback! After days of thinking about it and checking availability it was the best I had come up with so I just went for it. Those urls should work soon if all goes according to plan.


And yes, definitely watch those renewal costs. There are some domains that look like a great deal right now with the introductory deals, like .host, but be ready to pay $85 per year at renewal time!


That has been my approach so far but I think it’s getting pretty picked through. :)



I’m thinking general instance, but I don’t want a bunch of right wing or religious stuff so I will have some ground rules.


They’re more expensive, but check out ODroid H3+. Very low power consumption and great options for storage with pcie m.2 and on board SATA, and RAM slots.



Thanks for the input. At least I know I’m not alone. I’ll probably just have to settle for something soon and stop wasting time.


Thanks for the suggestion! Unfortunately the closest thing is trinity.tech and it’s been in use since 2007. If it were available they’d probably charge me a premium rate for it too. Single dictionary words are generally more expensive. I’m kind of being a choosing beggar I guess but I really want a catchy domain name cheap.


Ready to take the plunge and spin up a Lemmy server but I’m already stuck trying to come up with a domain name.
As the title says, I'm ready to fire up a Lemmy server of my own. I have a suitable VPS running Debian 11. I think I can probably make short work of it once I get past this one difficult point. What should I call my Lemmy server? With catchy names out there like "Lemmy.World" and "sh.itjust.works", I really want to come up with something good. Unfortunately after thinking it over for three days now and checking tons of names for availability, I don't feel any closer to deciding on a name. It doesn't help that almost all the dictionary words are sold at premium rates these days, even with a fairly obscure tld. Any name suggestions or techniques for choosing a good name would be appreciated. It probably sounds silly but this part just isn't my strong suit and I'm frustrated that it's holding up the project.
fedilink