In the “Self-hosting” category, user gvalchca reported an issue where uploaded figures failed to display in a local Docker-based Discourse instance running on Ubuntu, despite successful upload confirmations. While profile logos worked, content images did not. Community members Vernam and riking suggested checking directory permissions and clarifying the installation’s purpose. The issue was ultimately resolved by gvalchca, who identified that the DISCOURSE_HOSTNAME variable in containers/app.yml had been incorrectly configured.
Dear meta.discourse community,
I am trying to set up an instance of discourse on the local machine. I have used a Docker installation, together with apache2 on Ubuntu3.13. Everything seems to be running except of uploading pictures, both in the posts and e.g. profile pictures. I have checked the upload limits in apache2. I did check the trust levels and allowed extensions on the file. Im not using S3 for uploads.
Discourse informs me the upload was successful but after refreshing the figure doesn’t show. It is interesting though, I was able to upload the logos and background picture for my profile,
please help!
Hey,
thanks a lot for your responses.
The problem turned out to be trivial (as usual I guess),
wrongly set the DISCOURSE_HOSTNAME variable in containers/app.yml