Closed ReneBoehm closed 3 years ago
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!
The problem is that you request /hooks/gitlab which redirects to /hooks/gitlab/, but the redirection leads to GET being used instead of POST. It seems to be the nginx causing redirection, it might be related to https://github.com/WeblateOrg/docker/pull/857, can you try upgrading your container?
After the update of all images and the restart, the issue still exists.
reg. the trailing slash...it doesn't work in both cases, with or without trailing slash
Ok, I've used the recommendation from WeblateOrg/docker#857 and mounted a patched default.tpl file, where the second server config is removed. Now the hooks are working again.
The fix is part of newer container, upgrade should resolve that without need for manual patching (I've already mentioned this in https://github.com/WeblateOrg/weblate/issues/5032#issuecomment-744455690).
I've seen that but it didn't solve the issue for me. See my comment above (https://github.com/WeblateOrg/weblate/issues/5032#issuecomment-745404400). Did a docker-compose pull
, images got downloaded and the stack has been restarted. Problem still existed. But I can try again.
OK, did the update again and it downloaded a new image. Now the issue is solved using the defaults. Don't know what image got downloaded yesterday when I've tried that recommendation.
The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.
Describe the issue
We are using weblate in a dockerized environment and since we've upgraded from version 3.x to 4.3 out gitlab hooks are no longer working. When I refresh the repo in the GUI it's working but the hooks are not. We are using PO files with weblate POT extension.
I already tried
To Reproduce
Expected behavior
the project will be updated
Screenshots
If applicable, add screenshots to help explain your problem.![image](https://user-images.githubusercontent.com/7972273/102060744-dc293480-3df2-11eb-8222-f8fff04c9a41.png)
Server configuration and status
Weblate deploy checks
docker-compose exec --user weblate weblate weblate check --deploy doesn't return, so here are the log entries
Exception traceback
Additional context