Hello I install discourse version 2.2. I have a cache problem that after I save the data and check from the database and see the data in the tables. I refresh the page and old data comes to the page. What should I do? It is really urgent !!!
You aren’t really giving us a lot of information to work with here.
What’s the URL for the site?
How was it installed? Did you follow our install guide or use a third-party package?
Is this a single container install?
Are you using Cloudflare or any kind of reverse proxy?
It is a single server with 5 different docker containers:
And Installation steps are as follows:
We install the package with
RAILS_ENV=production DISCOURSE_DB_HOST=10.222.13.1 DISCOURSE_REDIS_HOST=redis DISCOURSE_SERVE_STATIC_ASSETS=true GIFSICLE_VERSION=1.91 PNGQUANT_VERSION=2.12.1 PNGCRUSH_VERSION=1.8.13 DISCOURSE_VERSION=forum-test
sudo docker build --no-cache --tag the-installation-package.app.1.0.0 sudo docker login -u frm -p 123456 http://22.214.171.124:80 sudo docker tag t the-installation-package.app.1.0.0 126.96.36.199:80/the-installation-package.app.1.0.0 sudo docker push 188.8.131.52:80/the-installation-package.app.1.0.0 git clone --branch frm1.0.0 https://firstname.lastname@example.org/the-installation-package.1.0.0-web.git sudo docker build --no-cache --tag the-installation-package.web:1.0.0 . sudo docker tag t the-installation-package.web.1.0.0 184.108.40.206:80/the-installation-package.web.1.0.0 sudo docker push 220.127.116.11:80/the-installation-package.web.1.0.0 git clone --branch rm1.0.0 https://email@example.com/the-installation-package.1.0.0-compose.git sudo docker network create lb_web sudo docker network create back ./scripts/install sudo docker-compose pull sudo docker-compose stop && sudo docker-compose rm -f sudo docker-compose run app bash -c "sleep 30 && bundle exec rake db:migrate assets:precompile" sudo docker-compose run app bash -c "bundle exec rake admin:create" sudo docker-compose up -d sudo docker-compose ps
Then we have docker list that we have 5 dockers with state up.
We start to change the settings of the site on the localhost.
And sure that it saved to the database from controlling the tables.
after refreshing the page old datas fill out the page.
What should we do? It is really urgent!!
Why do you need 5 different docker containers? Why not use the simple single container setup?
For adminstration reasons we set up server like this. Is this a problem?
İf this will work, we will install it on two physical servers with 2 docker for db, 2 docker for app, 2 docker for web containers. If you say this doesn’t work like that we will find another solution.
It might be possible, but it will require a significant amount of knowledge and configuration. The only installation we can support on this forum is the official guide.
We installed also single container setup which is supported by Discourse(discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub). I have tried creating the admin password with rake admin:create But I’m getting an error with blank page.
What is your advice?
Out of curiousity, what’s stopping you completing the wizard as normal and creating the account that way?
What does the error say?
No error just old data comes, not the one I changed