Hi all,
I would like to run a Wikibase instance in my Raspberry Pi 4 for
demo/sandbox purposes.
I'm trying to generate a Wikibase docker image for ARM 64 bits, using a
Raspberry Pi 4 (ARMv8) but I get this error:
+ docker run --volume
/tmp/tmp.dBLABg/Wikibase/composer.json:/tmp/composer.json --volume
/tmp/tmp.dBLABg/Wikibase/vendor/:/tmp/vendor/
docker-registry.wikimedia.org/releng/composer-php73:latest install --no-dev
--ignore-platform-reqs -vv -d /tmp/
WARNING: The requested image's platform (linux/amd64) does not match the
detected host platform (linux/arm64/v8) and no specific platform was
requested
standard_init_linux.go:228: exec user process caused: exec format error
Then I need a "docker-registry.wikimedia.org/releng/composer-php73" image
for ARM, where could I find the source code to generate this image from
scratch?
Best regards,
JM
Hi everyone,
We have our next Wikibase Live Session on Thursday, December 30th at 1600
UTC (17:00 Berlin).
This month we will have a guest presentation by the team at The Semantic
Lab at Pratt Institute <https://semlab.io/>. They will present how they are
using Linked Open Data (LOD) in their projects with the help of Wikibase.
*Details about how to participate are below:*
Time: 16:00 UTC (17:00 Berlin), 1 hour, Thursday 30th December 2021
Jitsi: https://meet.jit.si/WikibaseLiveSession
Notes: https://etherpad.wikimedia.org/p/WBUG_2021.12.30
If you have any questions, please do not hesitate to ask.
Talk to you soon!
--
Mohammed Sadat
*Community Communications Manager for Wikidata/Wikibase*
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now
<https://www.wikimedia.de/newsletter/>.
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
Hi all
I'm trying and failing to follow
https://www.mediawiki.org/wiki/Wikibase/Installation to set up wikibase
behind an nginx reverse SSL proxy. what i have so far:
damian@ubuntu-vm:~/wikibase$ cat docker-compose.yml
# Wikibase for testing
version: '3'
services:
wikibase:
image: "${WIKIBASE_BUNDLE_IMAGE_NAME}"
links:
- mysql
depends_on:
- mysql
restart: unless-stopped
ports:
- "${WIKIBASE_PORT}:80"
volumes:
- quickstatements-data:/quickstatements/data
## Uncomment this next line to enable installation of additional
services
#- ./extra-install.sh:/extra-install.sh
## Uncomment this next line to mount your own LocalSettings.php
file
#-
./LocalSettings.php:/var/www/html/LocalSettings.d/LocalSettings.override.php
- ./LocalSettings.php
environment:
- DB_SERVER=mysql.svc:3306
- MW_ADMIN_NAME=${MW_ADMIN_NAME}
- MW_ADMIN_PASS=${MW_ADMIN_PASS}
- MW_ADMIN_EMAIL=${MW_ADMIN_EMAIL}
- MW_WG_SECRET_KEY=${MW_SECRET_KEY}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
- DB_NAME=${DB_NAME}
#- MW_ELASTIC_HOST=elasticsearch.svc
#- MW_ELASTIC_PORT=9200
- WB_PUBLIC_HOST_AND_PORT=energy-wiki.ch:443
- WB_PUBLIC_SCHEME_HOST_AND_PORT=https://energy-wiki.ch
- WIKIBASE_HOST
-
QS_PUBLIC_SCHEME_HOST_AND_PORT=http://${QUICKSTATEMENTS_HOST}:${QUICKSTATEMENTS_PORT}
- WIKIBASE_PINGBACK
mysql:
image: "${MYSQL_IMAGE_NAME}"
restart: unless-stopped
volumes:
- mediawiki-mysql-data:/var/lib/mysql
environment:
# CONFIG - Change the default values below (should match values
passed to wikibase)
MYSQL_DATABASE: ${DB_NAME}
MYSQL_USER: ${DB_USER}
MYSQL_PASSWORD: ${DB_PASS}
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
networks:
default:
aliases:
- mysql.svc
volumes:
LocalSettings:
mediawiki-mysql-data:
quickstatements-data: # this volume can be removed if quickstatements
isn't running
damian@ubuntu-vm:~/wikibase$ cat LocalSettings.php
<?php
$wgServer = "https://energy-wiki.ch";
$_SERVER['HTTPS'] = 'on';
?>
damian@ubuntu-vm:~/wikibase$ cat .env
## Example / Template .env file for Wikibase release pipeline
docker-compose example
# WARNING: Do not add comments on the same line as env vars, as in some
environments they will be included in the var!
## Image Configuration
WIKIBASE_IMAGE_NAME=wikibase/wikibase:1.35.2-wmde.1
WDQS_IMAGE_NAME=wikibase/wdqs:0.3.40-wmde.1
WDQS_FRONTEND_IMAGE_NAME=wikibase/wdqs-frontend:wmde.1
ELASTICSEARCH_IMAGE_NAME=wikibase/elasticsearch:6.5.4-wmde.1
WIKIBASE_BUNDLE_IMAGE_NAME=wikibase/wikibase-bundle:1.35.2-wmde.1
QUICKSTATEMENTS_IMAGE_NAME=wikibase/quickstatements:wmde.1
WDQS_PROXY_IMAGE_NAME=wikibase/wdqs-proxy:wmde.1
MYSQL_IMAGE_NAME=mariadb:10.3
## Mediawiki Configuration
MW_ADMIN_NAME=[hidden]
MW_ADMIN_PASS=[hidden]
MW_ADMIN_EMAIL=[hidden]
MW_SECRET_KEY=[hidden]
## Database Configuration
DB_NAME=wikibase
DB_USER=[hidden]
DB_PASS=[hidden]
## Wikibase Configuration
WIKIBASE_PINGBACK=true
WIKIBASE_HOST=localhost
WIKIBASE_PORT=8888
## WDQS-frontend Configuration
WDQS_FRONTEND_PORT=8834
## Quickstatements Configuration
# quickstatements.svc is the internal docker hostname, change this value
to the public hostname
QUICKSTATEMENTS_HOST=quickstatements.svc
QUICKSTATEMENTS_PORT=8840
However, I'm seeing the following error in Firefox' developer tools
console window when trying to add a statement to an item:
Any ideas what I'm missing?
Thank you,
Damian
Hi all
I'm using last version of
https://github.com/wmde/wikibase-release-pipeline/tree/main/example but
when I try to login to QuickStatements appears this error:
<br />
<b>Warning</b>: parse_ini_file(/quickstatements/data/oauth.ini):
failed to open stream: No such file or directory in
<b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line
<b>102</b><br />
<br />
<b>Fatal error</b>: Uncaught Exception: Cannot get user agent from
ini file '/quickstatements/data/oauth.ini' in
/var/www/html/magnustools/public_html/php/oauth.php:104
Stack trace:
#0 /var/www/html/magnustools/public_html/php/oauth.php(48):
MW_OAuth->loadIniFile()
#1 /var/www/html/quickstatements/public_html/quickstatements.php(110):
MW_OAuth->__construct(Array)
#2 /var/www/html/quickstatements/public_html/api.php(122):
QuickStatements->getOA()
#3 {main}
thrown in <b>/var/www/html/magnustools/public_html/php/oauth.php</b>
on line <b>104</b><br />
I've seen that exists a special script to configure OAuth in
QuickStatements inside Wikibase-bundle docker image, if I try to execute
manually I get this error:
root@61abd70a19f8:/extra-install# ./QuickStatements.sh
+ php /var/www/html/extensions/OAuth/maintenance/createOAuthConsumer.php
--approve --callbackUrl http://quickstatements.svc:8840/api.php
--callbackIsPrefix true --user admin --name QuickStatements --description
QuickStatements --version 1.0.1 --grants createeditmovepage --grants
editpage --grants highvolume --jsonOnSuccess
*The following extensions are required to be installed for this script to
run: OAuth. Please enable them and then try again.*
It seems to be missing an OAuth extension, any idea? Perhaps I have a
misconfiguration problem?
BR,
JM
Hello all,
Here’s Léa taking over Mohammed’s duties while he’s out of office for a few
days :)
Earlier this year in July many of you participated in the Wikibase
Installation & Updating surveys (see results on Meta
<https://meta.wikimedia.org/wiki/Wikibase/Wikibase_Installation_%26_Updating…>).
Thanks to all who participated, your feedback enabled us to establish a
baseline for the Wikibase installation experience.
In 2021, we made changes to the installation process, including
documentation improvements and the publishing of new Docker images. We
would like to know if these changes have impacted your experience. Please
help us by answering a few questions so we can continue to identify areas
of improvement for users.
This survey is only targeted at users who either
-
Did a new installation after July 2021, or
-
Updated Wikibase software after July 2021, or
-
Did not answer the previous survey in July 2021
Please DO NOT respond to the questionnaire again if you did so already in
July and did not do another installation or update to your Wikibase
software in the meantime.
Below is the survey in two parts consisting of 5 and 6 questions
respectively. Each section requires about 5 minutes to complete.
If you would like to participate, please use these links (Google Forms):
-
Wikibase Installation Survey <https://forms.gle/eFZPjHCfhPKf55dJA>
-
Wikibase Software Updating Survey <https://forms.gle/nPjMCBXSEA5W1NxG7>
You can also send me a private email with your answers. I will include the
data anonymously in the evaluation and delete the email afterwards.
We kindly request your participation prior to Wednesday, December 15th at
23:59
UTC.
Best regards,
--
Léa Lacroix
Community Engagement Coordinator
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
Hello,
We would like to announce the following security and maintenance updates to
the Wikibase 1.35 container image, which include fixes to severe security
issues in MediaWiki and instructions for disabling features in
ElasticSearch to mitigate the recently discovered log4shell vulnerability
<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228>.
Here are links to important documentation related to the release, which
include instructions for updating MediaWiki to 1.35.5 and a security fix
for Wikibase:
-
MediaWiki release notes
<https://github.com/wikimedia/mediawiki/blob/REL1_35/RELEASE-NOTES-1.35>
-
Wikibase release notes
<https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibas…>
-
Upgrade instructions
<https://github.com/wmde/wikibase-release-pipeline/blob/main/docs/topics/upg…>
If updating your Wikibase installation is not an option, please refer to
these instructions on disabling the vulnerable code in MediaWiki in the
recent security release announcement.
<https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/…>
If you have any questions please feel free to ask on this mailing list or
leave a comment at Talk:Wikibase/FAQ
<https://www.mediawiki.org/wiki/Talk:Wikibase/FAQ>.
Cheers,
--
Mohammed Sadat
*Community Communications Manager for Wikidata/Wikibase*
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now
<https://www.wikimedia.de/newsletter/>.
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
Hello all,
Here's an important security message from the Wikibase development team.
We are aware of the vulnerability in log4j announced on December 9, 2021:
CVE-2021-44228 [1] aka log4shell [2]. In our Wikibase Docker install, the
only piece of software affected by this vulnerability is the version of
Elasticsearch we currently use, 6.5.4. This is an older version of
Elasticsearch. For now, users of the wikibase-release-pipeline Docker
images should circumvent this vulnerability by disabling log4j lookups.
To circumvent the vulnerability, you can add the following Java option to
the ES_JAVA_OPTS variable specified in your docker-compose(-extra).yml file
and restart your Docker images:
-Dlog4j2.formatMsgNoLookups=true
This patch is also available on our github mirror [3].
Going forward we will carefully vet any new software or new versions of
existing software to ensure the log4shell vulnerability is not present.
Feel free to respond here or on our questions page [4] with any questions
or concerns. Thanks for your attention. This announcement is also available
as a web page here [5].
Best regards,
Léa Lacroix
[1] https://www.cve.org/CVERecord?id=CVE-2021-44228
[2] https://en.wikipedia.org/wiki/Log4Shell
[3]
https://github.com/wmde/wikibase-release-pipeline/commit/6b1342e94b1d75df10…
[4] https://www.mediawiki.org/wiki/Talk:Wikibase/FAQ?dtenable=1
[5] https://www.mediawiki.org/wiki/Wikibase/Announcements/2021-12-14
--
Léa Lacroix
Community Engagement Coordinator
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.