First of all. Your script is awesome. It’s so fckn fast and absoluty simple and genius.

So i was wondering if some of you guys can help me install the script on my server too?

Greets Manuel

@nutomic
mod
admin
34M

What do you mean “install the script on your server”? If you follow the Ansible install instructions, you should have a fully working Lemmy instance on your server (assuming it finishes without errors).

https://lemmy.ml/docs/administration_install_ansible.html

@thesequel
creator
14M

I am now almost done. I have directly installed it on my ubuntu server so i need to add my password i guess.

fatal: [root@h2835324]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: root@h2835324: Permission denied (publickey,password).”, “unreachable”: true}

which line do i have to add in inventory to add the password?

@ajz
14M

Assuming your error output comes from running Ansible :

In the line myuser@example.com domain=example.com letsencrypt_contact_email=your@email.com lemmy_base_dir=/srv/lemmy you should change myuser@example.com into your-username-for-ssh@your-ssh-hostname and then when you run Ansible it will ask for your ssh password (or for your ssh key passphrase).

@thesequel
creator
24M

I did as you see. root@…

@ajz
14M

But your ssh hostname seems incorrect as it doesn’t seem to resolve hence the error it gave based on the error message “unreachable”. It should be a Fully Qualified Domain Name, or some fake name while you add an entry in /etc/hosts or in your ~/.ssh/config or you can use the ip address of your ssh host.

@nutomic
mod
admin
24M

Based on the dm they sent me, it seems that they just replaced it in the logs, cause the error is the same.

@thesequel@lemmy.ml Can you ping the domain, and can you login over ssh?

@ajz
14M

They turn out to be using a rather non-standard setup. And they got it running except for the iframely part getting stuck with an error. ERROR: for lemmy_iframely_1 Cannot start service iframely: OCI runtime create failed: ... applying cgroup configuration for process caused “failed to set memory.kmem.limit_in_bytes, because either tasks have already joined this cgroup or it has children””: unknown

@thesequel
creator
24M

I am really close to get it done. Just iframely is holding me back at the moment :)

@nutomic
mod
admin
24M

You can run Lemmy without iframely, you just wont get link previews then. Not sure what that error is about, I’ve never seen it before.

@thesequel
creator
34M

But that’s why I like Lemmy so much. The Link Previews. :)

Lemmy Administration
!lemmy_admin

    Anything about running your own Lemmy instance. Including how to install it, maintain and customise it.

    Be sure to check out the docs: https://dev.lemmy.ml/docs/administration.html

    If you have any problems, describe them here and we will try to help you fixing them.