Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intermittent log messages "QNetworkDiskCache::prepare() unable to open temporary file" #5

Closed
w0pr opened this issue Jun 5, 2023 · 3 comments

Comments

@w0pr
Copy link

w0pr commented Jun 5, 2023

I run sourcepole/qwc-qgis-server:3.28-plugins image from the docker services.

I am getting intermittent "QNetworkDiskCache::prepare() unable to open temporary file", especially when running config-generator.

qwc-docker-qwc-qgis-server-1 | QNetworkDiskCache::prepare() unable to open temporary file

What might be the source of that? Do I need to configure the cache folder somehow? I did not specify a host volume for it.

I have set SERVICE_UID: 1003 & SERVICE_GID: 1003 in docker-compose.yml, is there some permission issue?

I also opened same issue on qwc2-demo-app, close as appropriate.

@tpo
Copy link
Member

tpo commented Jun 6, 2023

Do you see any functional problems that are caused by this or is it "just a log entry"?

I have set SERVICE_UID: 1003 & SERVICE_GID: 1003 in docker-compose.yml, is there some permission issue?

SERVICE_UID and SERVICE_GID should be set to the user that owns the checkd out files from the qwc-docker repo. is that the case?

@w0pr
Copy link
Author

w0pr commented Jun 6, 2023

Do you see any functional problems that are caused by this or is it "just a log entry"?

No, it is "just a log entry". However, I have no way of comparing performance, if this pointed to possibly ineffective cache.

It only seems to happen when generating new service config:
image

I have set SERVICE_UID: 1003 & SERVICE_GID: 1003 in docker-compose.yml, is there some permission issue?

SERVICE_UID and SERVICE_GID should be set to the user that owns the checkd out files from the qwc-docker repo. is that the case?

Yes.
uid=1003(qgis) gid=1003(qgis) groups=1003(qgis),4(adm),27(sudo),999(docker)

@manisandro
Copy link
Member

Fixed by d6a40e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants