this post was submitted on 03 Feb 2024
23 points (73.5% liked)

Ask Lemmy

26916 readers
2182 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try [email protected]


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

for some reason this was removed by a mod on ml with no indication as to why it was removed...

There should be a dedicated post every time a new version is released so people can ask questions about bugs\issues they encounter when upgrading their lemmy instance. The support community barely has any activity and theres never an official thread for the latest upgrade. The upgrade instructions are usually vague and then you have to go to matrix to ask questions and nothing is organized and cant be search on search engines.

For example im trying to upgrade from .18.5 to the latest (.19.3) but the ansible instructions are:

  • git pull && git checkout 1.4.0
  • Read Pictrs’ Configuration Changes
  • Amend your vars.yml file to respect the new changes

It doesn’t give any details to where I might find the vars.yml file and it doesnt give an example file of what the file should look like after the correct changes are made.

EDIT: if anyone has the same issue. the issue was that the vars.yml file isnt on the server its on your local machine you run ansible from. located in /(domain)/lemmy-ansible/inventory/host_vars/(domain)/

It’s very strange that a platform that has the best ui for finding fixes to issues etc recommends people go to a separate chat platform to ask for questions that will presumably be asked multiple times since its so difficult to keep track of stuff.

Can we please have an official Lemmy Upgrade thread when a new version is released instead of relying on Matrix?

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 9 months ago

for some reason this was removed by a mod on ml with no indication as to why it was removed...

Because AskLemmy is for open ended discussion, not for tech support or meta discussions about Lemmy's development.

[–] [email protected] 10 points 9 months ago (1 children)

Doesn't all that take place on the Git platform?

Doesn't make sense to have those discussions here when GitHub/lab/tea wherever it is hosted has a discussions area.

[–] [email protected] 5 points 9 months ago

Nope, its partly on github, partly on the join-lemmy docs page, but mainly scattered across 4 matrix channels.

I think it does make sense because this is a discussion platform thats very organized and when people google an issue they can easily find it if its here

[–] [email protected] 7 points 9 months ago

Isn't there [email protected] for this kind of questions?

[–] [email protected] 7 points 9 months ago

Don't take it too hard on yourself, but asklemmy isn't the place to ask for tech support, which is likely why your post was removed on .ml

better places would be on [email protected], lemmy support communities, selfhosted, etc. You should use those support communities even if there hasn't been activity in a while.

The issue is there are several ways of installing Lemmy and the way to upgrade each type may be different. I suppose no one has written documentation on the update process. Best place to have it may be on the join-lemmy.org site through a pull request. Or if that's too much work there should be a community for lemmy mods and admins that want to share their experiences and ask questions.

[–] [email protected] 6 points 9 months ago

The selfhosted community is a bit more active, but also very few admins actually use exactly the provided Ansible stuff, if at all. My distro isn't even supported by it, mine's just a hand written podman-compose. All of the bigger instances are running in the cloud, Kubernetes or otherwise. Some people don't use Docker at all. There's AUR packages for ArchLinux to run it directly.

As a result, each problem one might encounter is different and often they run into different types of problems, none of which are about how to get the new Lemmy version running but rather tweaking and cleaning up the database, moving pict-rs to object storage, etc.

You should go learn Ansible and Docker and actually understand what it does and how to customize it for your own needs. There won't always be someone around to spoonfeed you the answers. Ansible on its own is already made to be super simple so that any random sysadmin can pick it up with zero programming knowledge.

[–] [email protected] 6 points 9 months ago

Wouldn't it make more sense to be asking this in one of the meta / tech focused lemmunities?

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

It doesn’t give any details to where I might find the vars.yml file

I don't run a Lemmy instance, but if you have locate installed on your Linux system, you probably have a cron job that periodically updates the database that locate uses. You can probably just type locate vars.yml.

If you don't, and don't want to have locate installed, I suppose you can always run find / -name vars.yml, though it'll take a bit.