this post was submitted on 03 Aug 2020
1 points (100.0% liked)

Lemmy Administration

698 readers
1 users here now

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

Be sure to check out the docs: https://join-lemmy.org/docs/en/administration/administration.html

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

founded 4 years ago
MODERATORS
 

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

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 4 years ago (1 children)

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

[–] [email protected] 0 points 4 years ago* (last edited 4 years ago) (2 children)

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?

[–] [email protected] 1 points 4 years ago* (last edited 4 years ago) (1 children)

Assuming your error output comes from running Ansible :

In the line [email protected] domain=example.com [email protected] lemmy_base_dir=/srv/lemmy you should change [email protected] 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).

[–] [email protected] 1 points 3 years ago* (last edited 3 years ago) (1 children)

I have this problem too in trying to set up a new instance. Could you point me to something to help me understand how I can get a ssh connection working? The resources I've found so far (such as this ) don't resolve it for me.

[–] [email protected] 1 points 3 years ago

Still trying to get around this and struggling. The setup (ansible-playbook lemmy.yml --become) has a fatal error due to not being able to connect. Any further suggestions? I think I have the wrong x@x input, but I don't know what I should be putting in there - at the moment using the server login and ip address?

[–] [email protected] 1 points 3 years ago

Maybe the problem is this:

https://lemmy.ml/post/79861

Are trying to install Lemmy (executing Ansible) from the server where Lemmy will been working?