I detected a java bug for ARM64 in WDQS docker image, I've fixed it by re-publishing WDQS docker image "jmformenti/wdqs:0.3.40-wmde.2".

If someone tried to run Wikibase on ARM64 will need to remove wdqs docker image from local and do a new pull.

Instructions have been updated too, adding an extra step.

On Sun, Nov 14, 2021 at 6:40 PM jm <zauron.subs@gmail.com> wrote:
Completed! I have been able to run a Wikibase bundle with WDQS, Quickstatements and Elasticsearch, thanks to https://github.com/wmde/wikibase-release-pipeline it was quite straightforward, only elasticsearch has been a little tricky.

Instructions here: https://github.com/jmformenti/docker-images/tree/master/raspberrypi/wikibase

Of course it is a beta version, tests will be necessary.

I've pushed the docker images to Docker Hub too, easy way to run Wikibase on ARM64: https://github.com/jmformenti/docker-images/tree/master/raspberrypi/wikibase/example

Hope that could help anybody.

On Sat, Nov 13, 2021 at 12:07 PM jm <zauron.subs@gmail.com> wrote:
Thanks for your useful feedback, my goal is to build a shared Wikibase instance with a low load, just a common place to use as a sandbox between our team in a low-cost hardware.

Of course it would be great if these steps can help to build an official Wikibase support for ARM, and no doubt I would help in anything if it is necessary.

Regarding the hardware I guess that is required minimum 4GB and recommended 8GB model (I'm using the last one).

I was able to run WDQS, Elasticsearch and QuickStatements although I have to solve some issues, only starting without do nothing it takes 3GB RAM.

I'll be updating my progress :)

On Sat, Nov 13, 2021 at 8:57 AM Laurence Parry <greenreaper@hotmail.com> wrote:
> I've published the steps to build and run a
> Wikibase instance in a ARM 64 bits: 

Thanks for keeping us up to date and sharing your progress so far! As you say, CI/CD is not necessary for many standalone deployments, especially if intended for personal or hobby use.

If it is taken forward by WMDE, I'd imagine server or at least VM infrastructure being used for it, but this path might be enough for developers to try.

> I'm working to add Elasticsearch, WDQS and
> QuickStatements too, I'm quite near I think.

Yeah, the real power of Wikibase comes with the more advanced querying capabilities - although I've seen people do useful things without WDQS.

I suspect you may need to tweak the memory settings to get WDQS running as well, although it depends on the capacity of your hardware - the 8GB model might fit it easier than 2GB or 4GB.

For example, current WDQS's runBlazegraph.sh specifies a 16GB heap; the updater is set to use a 3GB in its runUpdate.sh (the streaming updater is 1GB, but probably relies on many more pieces).

Of course, they may be intending to be able to load a copy of Wikidata and use it in production, which may not be what you have in mind. Swapping to SSD also isn't the end of the world.

Keep us updated! I may see about getting myself going on that free Oracle VM this wekend...
Laurence 'GreenReaper' Parry
Wikibaseug mailing list -- wikibaseug@lists.wikimedia.org
To unsubscribe send an email to wikibaseug-leave@lists.wikimedia.org