Hi Andy

I have created a patch

git diff main..set-fuseki_base
diff --git a/source/documentation/fuseki2/fuseki-quick-start.md b/source/documentation/fuseki2/fuseki-quick-start.md
index fc8e12226..d3a1cb098 100644
--- a/source/documentation/fuseki2/fuseki-quick-start.md
+++ b/source/documentation/fuseki2/fuseki-quick-start.md
@@ -8,9 +8,10 @@ This page describes how to achieve certain common tasks in the most direct way p

 1. Unpack the distribution.
 2. Copy the WAR file into the Apache tomcat webapp directory, under the name 'fuseki' -3. In a browser, go to `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details such as port number depend on the Tomcat setup). -4. Click on "Add one", choose "in-memory", choose a name for the URL for the dataset.
-5. Go to "add data" and load the file (single graph).
+3. If the user under which Apache tomcat is running does not have write access to `/etc`, then please make sure to set the environment variable FUSEKI_BASE, whereas the value should be a directory where the user running Apache tomcat is able to write to. +4. In a browser, go to `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details such as port number depend on the Tomcat setup). +5. Click on "Add one", choose "in-memory", choose a name for the URL for the dataset.
+6. Go to "add data" and load the file (single graph).

 ## Publish an RDF file as a SPARQL endpoint.

but since I do not have write access to the github repo I am not able to create pull request

https://github.com/apache/jena-site/compare

Or should I fork the repo and make a pull request inside the fork?

Thanks

Michael



Am 30.08.21 um 16:27 schrieb Michael Wechner:
Hi Andy

Great, thanks, I will create a pull request.

Thanks

Michael

Am 30.08.21 um 11:01 schrieb Andy Seaborne:


On 29/08/2021 13:26, Michael Wechner wrote:
Hi Andy

Thanks for your reply!

Yes, the user "michaelwechner" I am using on MacOS under which Tomcat is running does not have write access to /etc.

A hint on the quick start page re making sure to either have write access to /etc or set the env variables would be great.

I would be happy to write such a hint, but I am not sure how to submit a patch for

https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html

That would be great.

The website is in git (isn't everything?)

https://github.com/apache/jena-site

    Andy


Thanks

Michael

Am 29.08.21 um 11:32 schrieb Andy Seaborne:
Hi Michael,

Thanks for the feedback

Presumably, the user under which Tomcat is running does not have write access to /etc?

    Andy

On 27/08/2021 17:02, Michael Wechner wrote:
Hi

I was trying to get Fuseki running on MacOS, whereas I followed the instructions at

https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html

but it did not work. I checked the Tomcat log files and saw the error

[2021-08-27 17:58:23] Config     INFO  FUSEKI_HOME=unset
[2021-08-27 17:58:23] Config     INFO FUSEKI_BASE=/etc/fuseki
[2021-08-27 17:58:23] Server     ERROR Exception in server initialization org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: /etc/fuseki

So I created a directory

/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base

and set

export FUSEKI_HOME=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home export FUSEKI_BASE=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base

Would it make sense to add this information to the quick start guide or am I the only one experiencing this problem during setup?

Thanks

Michael



Reply via email to