try:
./rcstack cli cmd ping you-host
try:
./rcstack cli cmd ping you-host
It fails! With error:
[FATAL tini (11)] exec ping failed: No such file or directory
Everything is OK from ./rcstack status
, the web interface is working and my repositories are updatable.
How is it possible?
Hi,
Sorry this should have been:
./rcstack cli cmd curl you-host
sudo ./rcstack cli cmd curl <URL>
attaching /home/ubuntu/docker-rhodecode/config/_shared under: /vol/confvolume
ENTRYPOINT: Running rhodecode_vcsserver with cmd 'curl'
checking if config files needs bootstrapping
curl: (7) Failed to connect to <URL> port 443 after 0 ms: Connection refused
which sounds bad. Same thing happens with port 80.
But a simpler cURL call like
curl <URL>
gives an HTTP 302 response (âyou should be redirected automaticallyâ), which is OK.
And consistent, because as I said, the web portal just works.
Am Iâm missing something obvious?
Itâs very weird, like something is wrong with domain resolution.
Whatâs the way to rollback to the previous version of rcstack?
you can do this:
./rcstack self-update --force --cli-revision v5.5.0 --docker-revision v5.5.0
or use any other versionâŚ
Okay,
So sudo ./rcstack self-update --force --cli-revision v5.3.0
doesnât seem to change anything to my problem.
The issue is that sudo ./rcstack self-update --force --cli-revision v5.3.0 --docker-revision v5.3.0
tries to set RC_VERSION=4.28.0
(which is equivalent to âbetaâ if I understand well). Thus it doesnât downgrade my docker images. Or does it?
4.28.0 isnât beta this image is pre 5.X release. If rcstack rollback doesnât change try trying dongrade to lower beta image. But we doubt this is anything related to rcstack or image itself. How does your domain resolve do you use a custom DNS maybe ?
No, I only configured the DNS of my domain provider.
But I donât think I have modified its configuration recently, so itâs very hard to tell why this feature broke down by itself. It did work at the beginning of the monthâŚ
This is not critical for me at the moment, I wonât investigate many much more but Iâm going to monitor how things go for the coming days.
Could you maybe try using the indexer this way?
./rcstack cli cmd rhodecode-index --api-host=http://rhodecode:10020 --api-key=xxx
Youâre right, with api-host=http://rhodecode:10020
it works!
I take this as a solution because I canât explain why it doesnât work with the domain name.
Thank you!
Weâre not sure why does this happen, but somehow from within a container thereâs sometimes troubles with DNS resolution, on code.rhodecode.com works always because itâs from route53 AWS DNS.
however if you use a custom DNS, or a /etc/hosts file it wouldnât work in Docker and you need to fallback to using the direct docker service name instead.
Hello,
./rcstack --version => 5.7.0
rhodecode-docker-5.0.0.beta40
Could you confirm itâs expected that the --index-types=commits
option (Whoosh indexer) prevent the Repository Groups to report the latest modification date of its children repositories? Just like in the image below:
If yes, what should I do to get these?
The indexer should have nothing to do with the repository groups data, since those are updates based on the last change of latest repository inside them
OK then, whatâs the mechanism which should update the data?
And what can cause those to not be updated correctly?
You can manually do this for a repository group:
from group â settings â advanced
in EE thereâs a celery job that does that refresh automatically via background jobs