Good morning.
Today I was trying to get a self-hosted Sourcehut instance running in a virtual machine with Alpine Linux 3.15, so I downloaded and configured meta.sr.ht and git.sr.ht following the official instructions.
The problem is, as you can say in this [1] video, that the git.sr.ht interface can't create a new repository when I try to without even leaving any error in the logs.
I've tried to check every config file that may be involved, but everything seems to be alright.
So, here I am asking if anyone of you can help me debug this strange behavior in order to get this instance running.
In case it can be helpful, I attach my config.ini, nginx.conf, git.sr.ht.conf and meta.sr.ht.conf [2] files.
Thank you in advance for your help.
--
Riccardo Sacchetto
Student and Open Source developer
Email: sacchetto.ricky@protonmail.com
GnuPG Key: B08C8826D870416E5FA92C9FB5721186D477ABB3
[1]: https://cloud.nexxontech.it/s/C8yAgMEWQcXMGX2
[2]: https://paste.sr.ht/~occhioverde/0d663adc06ff66a63daadf0b2f8d87761f7eb19f
On Fri, Jul 08, 2022 at 07:13:44PM +0000, Riccardo Sacchetto wrote:
> Good morning.
Moin,
> Today I was trying to get a self-hosted Sourcehut instance running in a> virtual machine with Alpine Linux 3.15, so I downloaded and configured> meta.sr.ht and git.sr.ht following the official instructions.> The problem is, as you can say in this [1] video,
} The problem is, as you can see in this [1] video,
wget -O video.mpg4 https://cloud.nexxontech.it/s/C8yAgMEWQcXMGX2/download/Repo%20creation%20on%20srht-git.mp4> that the git.sr.ht interface can't create a new repository when I try> to without even leaving any error in the logs.
Getting log entries will get us further.
> I've tried to check every config file that may be involved,> but everything seems to be alright.
I'm sorry for not yet knowning were to find log files.
I even can't tell if the documentations tells about them.
Self hosting of Source Hut is a future project for me.
I do hope this discussion will provide log file location,
and I'm happy with a `find them under /var/log/...`
or `it is documentented at ....`.
Groeten
Geert Stappers
[1]: https://cloud.nexxontech.it/s/C8yAgMEWQcXMGX2
"HTML", not the video.
--
Silence is hard to parse
On Fri Jul 8, 2022 at 7:13 PM UTC, Riccardo Sacchetto wrote:
> [2]: https://paste.sr.ht/~occhioverde/0d663adc06ff66a63daadf0b2f8d87761f7eb19f
Just fyi, you need to rotate your secrets, since they are included in
that paste. Assuming the secrets in the paste are what you are using in
your instance.
-gildarts