App disappearing local docker container

Hi All,

Having a slight issue with my Squidex docker container solution. Each day when i come into work, my apps seem to disappear. I can still see it in the database and my WebApp can still consume the data from the API but i am unable to edit the App in the Squidex cms.

I have a single squidex container running locally. I have set up squidex.service.com in my host file pointing at my docker for windows instance.

My docker-compose looks like this:

squidex_squidex:
image: “squidex/squidex:latest”
ports:
- “5000:80”
environment:
- URLS__BASEURL=http://squidex.service.com:5000/
- URLS__ENFORCEHTTPS=False
- EVENTSTORE__CONSUME=true
- EVENTSTORE__MONGODB__CONFIGURATION=mongodb://REDACTED
- STORE__MONGODB__CONFIGURATION=mongodb://REDACTED
- IDENTITY__ADMINEMAIL=REDACTED
- IDENTITY__ADMINPASSWORD=REDACTED
- IDENTITY__GOOGLECLIENT=${SQUIDEX_GOOGLECLIENT}
- IDENTITY__GOOGLESECRET=${SQUIDEX_GOOGLESECRET}
- IDENTITY__MICROSOFTCLIENT=${SQUIDEX_MICROSOFTCLIENT}
- IDENTITY__MICROSOFTSECRET=${SQUIDEX_MICROSOFTSECRET}
- IDENTITY__GITHUBCLIENT=${SQUIDEX_GITHUBCLIENT}
- IDENTITY__GITHUBSECRET=${SQUIDEX_GITHUBSECRET}
- ORLEANS__CLUSTERING=Development
- ASSETSTORE__TYPE=mongoDb
- ASSETSTORE__MONGODB__CONFIGURATION=mongodb://REDACTED
- ASSETSTORE__MONGODB__DATABASE=SquidexAssets
- ASSETSTORE__MONGODB__BUCKET=fs
- LETSENCRYPT_HOST=squidex.service.com:5000
- LETSENCRYPT_EMAIL=REDACTED
- REBUILD__APPS=true
- REBUILD__ASSETS=true
- REBUILD__CONTENTS=true
- REBUILD__RULES=true
- REBUILD__SCHEMAS=true
volumes:
- /etc/squidex/assets:/app/Assets

I added the Rebuild bits to try and get my app to show up again but alas no luck.

My mongo instance is running on a static server and not in a docker container so the data is never removed.

Any help would be appreciated

Cheers
Joe

Have you checked the logs when this happens? Can you check the logs in Chrome also? Perhaps an authentication issue.

Hi Sebastian

There is nothing in the logs, although i have turned off the replication and switched to developer mode and this issue has now gone away. I am guessing it was corrupting the data.

Cheers
Joe.

Yes, I will make the Development mode the default, as it causes a lot of headache and not needed for most users.