I have been using Gitea for a while now on a NAS at work. I have wanted to set up locally on my home NAS (under Docker - or Container Manager as the Synology NAS calls it). After a lot of issues with it failing with permissions I ended up having to install the “latest-rootless” version (“latest” kept failing saying it couldn’t create directories because of permission denied in the directories) and creating a user “gitea” which then happens to have a uid of “1039”. It is installed with port 3000 mapped to 3000 and 22 to 2222. I have created a repository and looking at the code tab it says the ssh address is
ssh://gitea@gitea.chandlerfamily.org.uk:2222/alan/homeinfo.git
I have also installed and verified by public ssh key.
On my desktop, inside my home info repository the origin is set to …
[remote "origin"]
url = ssh://gitea@gitea.chandlerfamily.org.uk:2222/alan/homeinfo.git
fetch = +refs/heads/*:refs/remotes/origin/*
But when I try and push it fails with
Connection closed by 192.168.0.190 port 2222
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can see this is very an ssh issue, but I’ve no idea where to look for any logs etc to find out why.
Can someone give me some guidance of where to look for some help with debugging this.
Thanks