Closed oellers closed 1 year ago
Hey Manuel,
you are totally right. The user in the docker container is a node user with UID 1000. Therefore it is not allowed to interfere with root-created folders.
I added your suggestions to the workflow file and everything seems fine now.
Regarding the issue with the file extensions:
This is indeed they way it is supposed to work. The earlier versions, where this docker image also provided an .html
without language tags was a hacky workaround. In order to align this docker image with the official skohub-vocabs image I removed this hack.
I also have to admit that I'm not totally happy with this. The reason for the language based extension is that skohub-vocabs is supposed to run with an apache webserver. The apache will automatically fetch the right language based on your browser settings.
So the suggested workaround for you would be to add .de.html
to your index page when linking from it.
If this somehow is not suitable, feel free to open a ticket in the skohub-vocabs repo, so I have a reason to work on it.
Thanks!
I will close this issue for now, feel free to reopen, if the issue remains.
Thanks Steffen for clarifying the underlying issue.
I think a major drawback could be, that the id of concepts cannot be used as an URI directly (which previously was the case), so it might be an idea for another ticket to deal with that issue (e.g. htaccess-wise with defaulting to first/one language?)
Example:
I know that the concept ids main purpose is unique identification but from a users perspective some of them look like URIs where users might expect meaningful content.
I will open an issue where the relevance of that could be discussed.
Setup docker image used in workflow:
skohub/skohub-vocabs-docker:latest
workflow file example: main.yml github action: job error:heavy_exclamation_mark: Error (job failed in stage)
:grey_question: Possibile reason
:grey_exclamation: Possible solutions
:heavy_check_mark: Tested workaround
⚠️ Issue with build (probably unrelated / separate issue?)