Post AWbWNBs08IgKBKDd7w by moanos@chaos.social
 (DIR) More posts by moanos@chaos.social
 (DIR) Post #AWaNgFHAGTveX8snKq by tilvids@mstdn.social
       2023-06-11T15:24:55Z
       
       0 likes, 1 repeats
       
       In order for #decentralization to work, the server install process for services is going to *HAVE* to improve. If I'm interested in running a federated instance of a service, and the first thing I see is a 35-step tutorial about how to configure nginx or arcane PHP requirements, I'm going to bail.I think about Nextcloud, and how I installed a snap for it, and it's updated through 8 major upgrades of the service without me ever doing anything to admin it. That's where we need to get to.
       
 (DIR) Post #AWaO3UP8BRWC78h0JU by deutrino@mstdn.io
       2023-06-11T15:28:57Z
       
       0 likes, 0 repeats
       
       @tilvids I am desperately trying to launch a project with the specific intent of helping this problem - follow @fediseeds for news
       
 (DIR) Post #AWaOIBYAZ733yyvaNc by tilvids@mstdn.social
       2023-06-11T15:31:48Z
       
       0 likes, 0 repeats
       
       @deutrino @fediseeds How is this going to be different from something like Yunohost? Good luck to you!
       
 (DIR) Post #AWaOXxWYTurr7Bh6e0 by jeena@toot.jeena.net
       2023-06-11T15:34:38Z
       
       0 likes, 0 repeats
       
       @tilvids I totally agree and have been struggling with setting up either lemmy or kbin the whole day and am not getting anywhere, and I'm no stranger to devops.Docker's value proposal was that they would abstract all of it, but how it is doing it is by running the 7th instance of postgresql and nginx, no thank you.I'm also impressed by how nextcloud self-updates without any problems, it's amazing.
       
 (DIR) Post #AWaVXDijTfXSjjz80O by tilvids@mstdn.social
       2023-06-11T16:52:56Z
       
       0 likes, 0 repeats
       
       @jeena Agreed Jenna. Tools like Docker and Snap certainly help make things easier, but it's often at the expense of many of the required packages being out of date.I don't know what the solution is, but I do know that I've been using Nextcloud for five years, I'm on almost the latest version, and haven't thought about administering it in ages; it just works. If more decentralized services worked like that, I think we'd see a renaissance of people being able to move away from big tech.
       
 (DIR) Post #AWaWbx9iamG2lRQavY by fediseeds@hostux.social
       2023-06-11T17:04:58Z
       
       0 likes, 0 repeats
       
       @tilvids responded at https://hostux.social/@fediseeds/110526662689461275 in case anyone ends up here looking 🙂
       
 (DIR) Post #AWaarfG5IkEZhs9Xnc by YurkshireLad@mastodon.social
       2023-06-11T17:52:38Z
       
       0 likes, 0 repeats
       
       @tilvids docker-compose certainly help with this.
       
 (DIR) Post #AWabGkfiJNgljf6T8S by lil5@fosstodon.org
       2023-06-11T17:57:09Z
       
       0 likes, 0 repeats
       
       @tilvids @jeena Packages being out of date? Please elaborate.
       
 (DIR) Post #AWacS4eqRc9CrPexvM by art@mastodon.sdf.org
       2023-06-11T18:10:26Z
       
       0 likes, 0 repeats
       
       @tilvids exactly this!
       
 (DIR) Post #AWacZ2xZ9joFcZk156 by Nel@mamot.fr
       2023-06-11T18:11:42Z
       
       0 likes, 0 repeats
       
       @tilvids Hum, do you mean @yunohost ?Choose your federated service, click install and you're done.https://yunohost.org/apps
       
 (DIR) Post #AWacorudzrMhzav2Dw by stuartb@social.teamb.space
       2023-06-11T18:14:31Z
       
       0 likes, 0 repeats
       
       @tilvids@yunohost I've been saying this for years.And I've been laughed at for it.About 5 years ago, my wife, who isn't in any way, shape, or form techy, decided she wanted a blog, so I set her up with some managed hosting, and was just about to set up WP for her, when something came up, and I had to go out.I came back 20 minutes later yo find that, not only had she instslled WP through CPanel, but she had changed the theme, and started writing.And what we need is something like that.
       
 (DIR) Post #AWald8RHcpFLMQfK9g by johntimaeus@sysad.ninja
       2023-06-11T19:53:14Z
       
       0 likes, 0 repeats
       
       @tilvids I have not yet seen a complex install that couldn't be simplified with a relatively trivial script
       
 (DIR) Post #AWarJjW08x0CulXGmu by billseitz@toolsforthought.rocks
       2023-06-11T20:56:58Z
       
       0 likes, 0 repeats
       
       @tilvids https://www.digitalocean.com/community/tutorials/how-to-install-mastodon-with-digitalocean-marketplace-1-click
       
 (DIR) Post #AWbA9wmzpldoJhX3RY by jeena@toot.jeena.net
       2023-06-12T00:28:08Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids So I tried to install lemmy first. But I already have nginx and postgress running so I couldn't just use their docker-compose which starts another instances and then wants to run on the same ports as I have other things running already, same with their ansible setup.There is a "from scratch" description also, which they don't recommend normally but in my case they do https://github.com/LemmyNet/lemmy/issues/2613 I started compiling and got this error https://gist.github.com/jeena/f8f54d47925b22b43f6e63516e2cbfb7
       
 (DIR) Post #AWbATxO5Js5vxoQBPM by jeena@toot.jeena.net
       2023-06-12T00:31:46Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids sadly the error message doesn't say anything about the actual error so I got stuck and in the lemmy matrix room nobody was able to help me.Then I started to write my own docker-compose without the nginx and postgres, there I got some errors that it can't access the database, but that's just my lack of knowledge about docker-compose. After that I had to go to bed.
       
 (DIR) Post #AWbAhutBPBwEGkcjTM by jeena@toot.jeena.net
       2023-06-12T00:34:17Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids similar things happened to /kbin they also offer docker-compose with a second http-server and postgres. There I ran out of space building the php container which for some reason also build caddy so the 4 GB which I had available in /var/lib/docker were not enough.Then it was time to go to bed.
       
 (DIR) Post #AWbBQmMPxckEqkgqdk by dmahtani@mastodon.social
       2023-06-12T00:42:23Z
       
       0 likes, 0 repeats
       
       @tilvids Cloudron makes this super easy.https://www.cloudron.io/
       
 (DIR) Post #AWbISZC0aZdSGicY5o by alwayscurious@infosec.exchange
       2023-06-12T02:01:08Z
       
       0 likes, 0 repeats
       
       @tilvids THIS is why containerization is so important.The install is no longer “do this complex series of steps”.  It is ”run this 1 command”.
       
 (DIR) Post #AWbNzY2MPED00mebsO by yawnbox@disobey.net
       2023-06-12T03:03:07Z
       
       0 likes, 0 repeats
       
       @tilvids 1,000,000% yes
       
 (DIR) Post #AWbWNBs08IgKBKDd7w by moanos@chaos.social
       2023-06-12T04:36:57Z
       
       0 likes, 0 repeats
       
       @tilvids while it certainly does not cover all use cases and is more technical than Yunohost this ansible playbook https://github.com/mother-of-all-self-hosting/mash-playbook can maybe help a lot of people. It can install (and later upgrade) services with a few (well documented) lines of configuration and one command. Currently supported are #Funkwhale, #GoToSocial, #Mobilizon and #Peertube While it certainly does not fit all, I think it can help a ton
       
 (DIR) Post #AWbgv3kxnvD8PCiRWK by lil5@fosstodon.org
       2023-06-12T06:35:10Z
       
       0 likes, 0 repeats
       
       @jeena @tilvids I’m sorry to hear thatAltering a docker compose file to point nginx to a different port isn’t difficult Where it says:ports:  - 80:80Change to:ports:  - 8088:80And you’ll be able to access the nginx server from localhost:8088You might still need to change a config file like lemmy.confIf you’ve done something irreversible run `docker compose down -v`
       
 (DIR) Post #AWbh5tRMV2p1b0iHGS by lil5@fosstodon.org
       2023-06-12T06:37:10Z
       
       0 likes, 0 repeats
       
       @jeena @tilvids If you have that many partitions, honestly it’s on you to resize them appropriately
       
 (DIR) Post #AWbhUil5Ls2thqmGAq by lil5@fosstodon.org
       2023-06-12T06:41:39Z
       
       0 likes, 0 repeats
       
       @jeena @tilvids That’s the beauty of docker compose, you can have a hundred nginx servers running in their own container each with the internal port 80 exposed to you host machine on a separate port
       
 (DIR) Post #AWbugLiM9Zkx7ENNNA by mdione@en.osm.town
       2023-06-12T09:09:20Z
       
       0 likes, 0 repeats
       
       @tilvids in the case of NextCloud, it used to have a Debian (and hence Ubuntu) package, but differences with upstream on how to do upgrades (root vs the webserver) meant the package was orphaned and removed from the distro.as for self-hosted 1-click installs, you basically need a distro that replicates what all these commercial options referred to in this conversation or something like AWS. I can't think of any :(
       
 (DIR) Post #AWc4kXXT8DuUUKv8JE by jeena@toot.jeena.net
       2023-06-12T11:02:14Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids I don't want a second instance of nginx nor postgresql on that server. I need to remove the nginx and postgres parts from the docker-compose. Then I adapted the lemmy.hjson and it seems to be able to connect to my host postgresql, but then I get the error "thread 'main' panicked at 'Couldn't run DB Migrations', crates/db_schema/src/utils.rs:165:25" now I need to figure out what is wrong there.
       
 (DIR) Post #AWc53sgoiYoRaXW1qK by jeena@toot.jeena.net
       2023-06-12T11:05:44Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids other people have similar problems https://github.com/NixOS/nixpkgs/issues/236890
       
 (DIR) Post #AWc5XPJ2Wsk191TOUK by jeena@toot.jeena.net
       2023-06-12T11:11:01Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids but that is a big problem, every instance of nginx hogs resources which I don't have. I can run 1000 vhosts with one nginx instance without any problems but docker wants me to run 1000 nginx instances which all eat cpu and ram so that there is nothing left for the actual application.
       
 (DIR) Post #AWc5kSWprLTCu59KoC by jeena@toot.jeena.net
       2023-06-12T11:13:25Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids yeah I know, I just can't resize them and yes I should have used LVM from the start, but the Ubuntu image which was preinstalled on Hetzner didn't do it and I was too lazy to fix it manually back then and now I'm suffering :D
       
 (DIR) Post #AWc5qevwePin79qoG8 by jeena@toot.jeena.net
       2023-06-12T11:14:33Z
       
       0 likes, 0 repeats
       
       @lil5 @tilvids according to https://github.com/LemmyNet/lemmy-docs/issues/201 the documentation doesn't mention that the postgres user needs to be a superuser.
       
 (DIR) Post #AWex0mEa2up8XVCGO0 by yunohost@mastodon.social
       2023-06-13T13:42:41Z
       
       0 likes, 0 repeats
       
       @moanos @tilvids You said it yourself, it "certainly does not fit all", but honestly nerds/geeks should stop advertising Docker or Ansible as "simple" and think twice about what the word "simple" really means. Sure, Docker is simple if you have a PhD in CSWhen people complain about the lack of simple ways to setup and maintain instances on the long term, and how it impacts the development of the fediverse, hearing "Just learn Docker / Ansible / whatever" is not an acceptable answer...
       
 (DIR) Post #AWex0myfHZgeqQl4DY by yunohost@mastodon.social
       2023-06-13T13:43:17Z
       
       1 likes, 1 repeats
       
       @moanos @tilvids Imagine a world where Linux would have no friendly distro with GUI. People would rant about how they'd love to leave Windows yet how painful it it is to configure 100s of files to have a usable setup. Nerds would proudly encourage people to "just learn apt"Fortunately we live in a world where Ubuntu/Mint exists and a random tinkerer can spin it up in a couple hours and your grandparents can use and keep up to date and never touch the CLI.We need this, but for servers.
       
 (DIR) Post #AWexBythIy4mzzltpI by tilvids@mstdn.social
       2023-06-13T20:21:33Z
       
       0 likes, 0 repeats
       
       @yunohost @moanos Hear hear. And btw, we proudly use @yunohost for tilvids.com Unfortunately, it looks like a breaking change between @peertube 5.0 and the Yunohost script is making it impossible to upgrade at the moment. Haven't had a chance to look into what's going on at the moment. 😢 But prior to that, #Yunohost has been a major part of allowing me to administrate #PeerTube
       
 (DIR) Post #AWeyNRHEEMo29jnzl2 by bloodaxe@fosstodon.org
       2023-06-13T20:34:48Z
       
       0 likes, 0 repeats
       
       @tilvids @yunohost @moanos @peertube I hope this is something we can figure out a solution for in the near future!Hosting #PeerTube and other #Fediverse alternatives to other services is quite important IMO, and the simpler the process is to get going and maintain the better! 😃
       
 (DIR) Post #AXMFTwVyMT66XD8A7s by tilvids@mstdn.social
       2023-07-04T17:39:07Z
       
       0 likes, 0 repeats
       
       @2TonWaffle @yunohost @moanos @peertube Agreed. I love #PeerTube obviously, but installing it is still not something approachable. Yunohost helped a lot, but currently a breaking change with PeerTube 5.0 still has kept me from being able to upgrade easily.Meanwhile, my Nextcloud Snap has updated something like 7 major versions without me even being aware of it, other than it sending me notifications every so often that it happened. 🙂