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

Problem when change the image logo #77

Open
KhoaBuind opened this issue Nov 29, 2022 · 8 comments
Open

Problem when change the image logo #77

KhoaBuind opened this issue Nov 29, 2022 · 8 comments

Comments

@KhoaBuind
Copy link

I have tried to upload file in this page, but the path image not found. Can you help me to fix it.
Screenshot 2022-11-30 at 00 06 21

Thank you

@4tikhonov
Copy link
Contributor

Probably Dataverse container has no permissions to save images for docroot, is it on persistent volume with appropriate permissions?

@KhoaBuind
Copy link
Author

Thank you for your reply.
But i dont think so about this, because when i check file inside the docker, i also see the file when i upload via web browser
Screenshot 2022-11-30 at 07 59 00
I think it wrong path, because when i copy this file to path: "/opt/docroot" it will be work
Screenshot 2022-11-30 at 08 01 30

@markwilkinson
Copy link

I have the same problem.... thank you @KhoaBuind for providing a workaround! I will use that until the solution is patched-in.

@4tikhonov
Copy link
Contributor

Thanks @markwilkinson, we'll try to fix this issue asap.

@markwilkinson
Copy link

Cheers!
(by the way... great job in creating such a straightforward way to deploy Dataverse! It was effortless! Thank you!)

@4tikhonov
Copy link
Contributor

Thanks @markwilkinson! It's even more than Dataverse as the whole infrastructure is quite flexible and ready for the straight forward integration of any Dockerized (and not only) servers.

@devmarcosanjos
Copy link

Provavelmente, o contêiner Dataverse não tem permissões para salvar imagens para docroot, está no volume persistente com as permissões apropriadas?

i have same problem. How can I give permission on the volume @4tikhonov @KhoaBuind

@schorcht-ioer
Copy link

we had similar problems when restarting the server. After restart the logos are gone. Based on the scripts of the norwegians (see: https://github.com/DataverseNO/dataverse-docker/blob/dataverse.no/distros/dataverse.no/docker-compose.yaml) we found out that the volume path is not correct anymore and thats why the logos are not persistent. So we changed in the yaml-file this:

${DOCROOT}/docroot:/opt/docroot

to this:

${DOCROOT}/docroot:/opt/payara/docroot

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

5 participants