You can dump the data within the running Fuseki, then reload it into the
latest Fuseki 4.7.0?
On 16.01.23 17:46, Andreas Plank wrote:
Is there any data repair tool or to test the data?
Am Mo., 16. Jan. 2023 um 17:23 Uhr schrieb Andy Seaborne <[email protected]>:
Without a minimal, reproducible example it's not possible to say much.
As it is TDB1, it might be a broken database due to an earlier problem.
You say it works on a development server.
Is it using the same database?
yes, the database GRAPH was set up on 4.0.0 (in August 2022)
today (16. Jan. 2023) jena fuseki is on 4.6.0 running on that same data.
Usually I use the configuration defaults, that are shipped with the
docker image, and from reading the docker image Dockerfile
(https://github.com/stain/jena-docker/blob/226b7348509233bfc1b6dcd760c4d281188ec3fe/jena-fuseki/Dockerfile),
it gets the official version, saves it, extracts it and starts the
server
Do you need other (server config) setup files? The directory structure is:
.
├── LICENSE
├── NOTICE
├── README
├── bin
│ ├── s-delete
│ ├── s-get
│ ├── s-head
│ ├── s-post
│ ├── s-put
│ ├── s-query
│ ├── s-update
│ ├── s-update-form
│ └── soh
├── fuseki
├── fuseki-backup
├── fuseki-server
├── fuseki-server.bat
├── fuseki-server.jar
├── fuseki.service
├── load.sh
├── log4j2.properties
├── shiro.ini
├── tdbloader
├── tdbloader2
└── webapp
├── WEB-INF
│ └── web.xml
├── favicon.ico
├── index.html
├── log4j2.properties
└── static
├── css
├── img
└── js
On 16/01/2023 16:15, Andreas Plank wrote:
Version 4.7.0 I could not get started running with, but 4.6.0 worked with
the old data
(that version 4.7.0 did not work fine is perhaps another issue to solve
from this anyhow, in the meantime I use 4.6.0 with a docker image see e.g.
https://github.com/stain/jena-docker/issues/70 … it downloads the official
fuseki 4.6.0 aso.)
“What else is happeing on the server at the same time?”
- the server throws the afore mentioned error log, and HTTP response is 500
So durign the load there is no overlapping operation?
(what does the log show - is every previous action finished?)
- and some seconds later one can query as expected
The configuration is as follows (shiro.ini)
That's only the security setup.
------------8< /fuseki/shiro.ini >8------------------
[main]
# Development
ssl.enabled = false
plainMatcher=org.apache.shiro.authc.credential.SimpleCredentialsMatcher
#iniRealm=org.apache.shiro.realm.text.IniRealm
iniRealm.credentialsMatcher = $plainMatcher
#localhost=org.apache.jena.fuseki.authz.LocalhostFilter
[users]
admin =onepassword, administrator
wwwuser=anotherpassword, guest
[roles]
administrator=*
wwwuser=rest:read
[urls]
## Control functions open to anyone
/$/status = anon
/$/ping = anon
/$/server = anon
/$/stats = anon
/$/stats/* = anon
/*/query/** = anon
/*/sparql/** = anon
/*/get/** = anon
## and the rest are restricted
/$/** = authcBasic,roles[administrator]
## Sparql update is restricted
# /manage.html** = authcBasic,roles[administrator] # old interface
/**/manage = authcBasic,roles[administrator]
/**/manage** = authcBasic,roles[administrator]
/*/data/** = authcBasic,roles[administrator]
/*/upload/** = authcBasic,roles[administrator]
/*/update/** = authcBasic,roles[administrator]
/*/delete/** = authcBasic,roles[administrator]
# Everything else
/**=anon
------------8< /fuseki/shiro.ini >8------------------