dataverse-docker icon indicating copy to clipboard operation
dataverse-docker copied to clipboard

Problem when change the image logo

Open KhoaBuind opened this issue 2 years ago • 8 comments

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

KhoaBuind avatar Nov 29 '22 17:11 KhoaBuind

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

4tikhonov avatar Nov 29 '22 17:11 4tikhonov

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

KhoaBuind avatar Nov 30 '22 01:11 KhoaBuind

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

markwilkinson avatar Jan 24 '23 11:01 markwilkinson

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

4tikhonov avatar Jan 24 '23 11:01 4tikhonov

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

markwilkinson avatar Jan 24 '23 11:01 markwilkinson

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.

4tikhonov avatar Jan 24 '23 11:01 4tikhonov

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

devmarcosanjos avatar Jan 24 '23 22:01 devmarcosanjos

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

schorcht-ioer avatar May 25 '23 11:05 schorcht-ioer