I changed the domain on my gitlab installation from ABC to XYZ according to the procedure described here:
How to change the url of a working GitLab installation?
The problem is that the old uploaded assets (images added to problems in the projects) still point to the old ABC domain:
https://ABC/uploads/...
The site uses SSL. The old ABC SSL certificate is no longer valid. Therefore, these assets generate "net :: ERR_INSECURE_RESPONSE" in the browser and are not displayed.
Is there a way to renew these assets to use the new domain name? I tried:
bundle exec rake assets:precompile RAILS_ENV=production
to no avail.
Newly uploaded images on the new domain are displayed correctly.
source
share