Salamander
  • 9 Posts
  • 76 Comments
Joined 1Y ago
cake
Cake day: Dec 19, 2021

help-circle
rss

The MAX_TITLE_LENGTH is applied to posts that are fetched from other instances using activitypub. The posts that are posted within an instance do not pass through that processing step.


Yup, this was fixed in version 0.0.24! No worries.


What version do you have? I think you have one of the older versions, you can find the latest one here: https://github.com/dessalines/jerboa/releases/tag/0.0.26


I think that the newest update changed something such that the the instances that updated to 17.0 are no longer being recognized by the crawler. So the crawler hasn’t been updated to deal with the changes.


Great job figuring that out!

At some point it would be fun to work on some new guides anyway :-)


I think that if you use the new docker-compile file, the one that includes the NGINX block, then you might not need to go through the step of the nginx configuration.

I have not tested this myself though, but I can test it when I make the updated tutorial.


I can do that, but I can’t right now, I am very busy writing for my thesis unfortunately :/

If I manage to write enough tonight I might be able to do it tomorrow.


Oh no! It is possible to save your SSL certificates by simply copying the files into your computer, then you don’t need to run the certbot again.


Try removing the lemmy.conf file from /etc/nginx/sites-enabled,

And then run:

sudo wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/uebishe.conf /etc/nginx/sites-enabled/uebishe.conf

sudo systemctl restart nginx


Or, I have made an nginx config file that will work for you

If you already created an nginx configuration file, move it somewhere else. Then, get the new configuration file to the nginx folder, and then restart the nginx service by running these two commands:

sudo wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/uebishe.conf /etc/nginx/sites-enabled/uebishe.conf

sudo systemctl restart nginx

Ah! So you skipped this step:

Now i skip old step about “wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf”

You need to have the lemm.conf file under /etc/nginx/sites-enabled, this is the file that tells nginx how to manage the connection. Don’t skip that step! Get that file and modify it by adding your domain name



Sorry, I did not realize that these files had not yet been updated with the changes necessary for version 0.17.0, which are described here: https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md#lemmy-v0170-release-2023-01-31

I could not find an example of the files configured correctly in github, so I have uploaded some example files. You get them this way:

wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/lemmy.hjson
wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/docker-compose.yml

Then modify the variables inside {}, like the domain name and the database password.


Remove the following blocks from the docker-compose file:

networks:
  # communication to web and clients
  lemmyexternalproxy:
  # communication between lemmy services
  lemmyinternal:
    driver: bridge
    internal: true
  proxy:
    image: nginx:1-alpine
    networks:
      - lemmyinternal
      - lemmyexternalproxy
    ports:
      # only ports facing any connection from outside
      - 80:80 
      - 443:443
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
      # setup your certbot and letsencrypt config 
      - ./certbot:/var/www/certbot
      - ./letsencrypt:/etc/letsencrypt/live
    restart: always
    depends_on:
      - pictrs
      - lemmy-ui

And try again. Does it work?


Do you want to install a fresh instance, or do you want to upgrade an instance?

If you are installing fresh, most of that tutorial is still going to work out. But you now need to pull the config file this way:

wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/config/defaults.hjson lemmy.hjson

If you install the more recent docker version, you don’t have to install docker-compose the same way. Follow the instructions from the website, and use ‘docker compose’ instead of ‘docker-compose’.

The nginx configuration does not need to change.

What problems are you getting?



An issue was opened for that three days ago:

https://github.com/LemmyNet/lemmy/issues/2678

I don’t think it is possible through the UI at the moment.


Gracias! (Posted from Jerboa)



Oh, that looks like an error in your lemmy.hjson settings file. If you share that one too with the passwords redacted I can check.



How do you feel about this personal e-mail format?

Let’s say as an example that my full name is Robert Frankel …

fedilink

Is it in bad taste to take content directly from Reddit/Stack exchange?

I would like to make a community dedicated to posting interesting science questions that have been asked and answered in other sites. …

fedilink

Have you experienced ASMR?

ASMR’ - or ‘Autonomous Sensory Meridian Response’ exploded in popularity a few years ago as the ASMR youtube channels emerged. …

fedilink

Have you had success correcting your bad posture?

I slouch a lot, so my shoulders are a bit rounded at my neutral posture. I have tried to get into the habit of doing wall glides, stretching my chest, doing back exercises, and sitting properly. But after quite a few years of testing strategies, tools, and trying to build consistent habits, I usuall…

fedilink

Is there a simple way to remove a banned user's profile description?

A user was created in my instance to spam phishing links to some google sites that look like bank login sites and crypto wallets. I banned the user and removed their content, but the links were also added to the description in their profile page, and they still live there. Is there a way to delete t…

fedilink