Installing Fuseki: FAILED
Issue description
Tried to install Fuseki on new DigitalOcean droplet, as part of the v6 node installation process.
Faced error (tried twice).
Steps to reproduce the problem
- Followed the instructions on this page (https://docs.origintrail.io/decentralized-knowledge-graph-layer-2/testnet-node-setup-instructions/setup-instructions-dockerless)
- Selected Fuseki option
Error logs
Please select the database you would like to use: [1]Fuseki [2]Blazegraph [E]xit: 1
Fuseki selected. Proceeding with installation.
Installing Fuseki: FAILED
Step failed. Output of error is:
--2022-09-04 10:55:15-- https://dlcdn.apache.org/jena/binaries/apache-jena-fuseki-4.5.0.zip
Resolving dlcdn.apache.org (dlcdn.apache.org)... 2xxx:xxxx::6xx, 1xx.1xx.2.1xx
Connecting to dlcdn.apache.org (dlcdn.apache.org)|2xxx:xxxx::6xx|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-09-04 10:55:15 ERROR 404: Not Found.
unzip: cannot find or open apache-jena-fuseki-4.5.0.zip, apache-jena-fuseki-4.5.0.zip.zip or apache-jena-fuseki-4.5.0.zip.ZIP.
rm: cannot remove '/root/apache-jena-fuseki-4.5.0.zip': No such file or directory
mkdir: cannot create directory ‘/root/fuseki’: File exists
mkdir: cannot create directory ‘/root/fuseki/tdb’: File exists
cp: cannot stat '/root/apache-jena-fuseki-4.5.0/fuseki-server.jar': No such file or directory
cp: cannot stat '/root/apache-jena-fuseki-4.5.0/webapp/': No such file or directory
rm: cannot remove '/root/apache-jena-fuseki-4.5.0': No such file or directory
/lib/systemd/system/: FAILED
Step failed. Output of error is:
cp: missing destination file operand after '/root/ot-node/current/installer/data/fuseki.service'
Try 'cp --help' for more information.
This is normal due to fuseki being updated to 4.6.0. I already sent a PR to resolve this issue. Meanwhile, you can try this installer instead: https://github.com/Valcyclovir/ot-node/blob/v6/develop/installer/installer.sh
the complete one liner is as follows: cd /root && rm -rf installer.sh && wget https://raw.githubusercontent.com/Valcyclovir/ot-node/v6/develop/installer/installer.sh && chmod +x installer.sh && ./installer.sh
UPDATE: Just found a better way to always get fuseki's latest version, check PR #2066 Thanks for pointing that out !
Issue can be closed.