Describe the issue / Steps to reproduce:
I am trying to install some extensions using composer, but when I run:
composer update
It won’t let me install te extenstions
In my composer.json (it wouldn’t let me add it to the composer.local.json) I have added:
"mediawiki/semantic-media-wiki": "~4.2",
"mediawiki/chameleon-skin": "~4.4",
"mediawiki/semantic-bundle": "~6.1",
"professional-wiki/network": "~2.0"
But it fails.
Expected behavior:
I would expect it to install the required extensions
What was the error message/error log?
git@gitlab.hallowelt.com’s password:
Screenshots
NA
System info:
Product |
Version |
MediaWiki |
1.39.8 |
PHP |
8.1.29 (litespeed) |
MySQL |
8.0.36-cll-lve |
ICU |
64.2 |
Pygments |
2.11.2 |
BlueSpice (Credits) |
4.5.1 (build:20240717180547) |
OS |
Linux mi3-sr113.supercp.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64- |
Browser version |
Chrome |
rvogel
2
Hi!
Can you please share the error messages you are receiving? Thanks!
The error I get when I try and install SMW is a 500 error, when I enable Maps, I get:
[ZuAh_2A6qilEkWYUZvG0awAAAA4] /wiki/index.php/Main_Page Exception: Maps needs to be installed via Composer.
Backtrace:
from /home/cheekyfactor/public_html/wiki/extensions/Maps/src/MapsRegistration.php(31)
#0 /home/cheekyfactor/public_html/wiki/includes/Setup.php(532): Maps\MapsRegistration::Maps\{closure}()
#1 /home/cheekyfactor/public_html/wiki/includes/WebStart.php(86): require_once(string)
#2 /home/cheekyfactor/public_html/wiki/index.php(44): require(string)
#3 {main}
But, when I run
composer install
I am prompted for a password:
git@gitlab.hallowelt.com](mailto:git@gitlab.hallowelt.com)’s password:
Which obviously, I don’t have.
If I just enter twice, I get:
Failed to execute git clone --mirror – ‘git@gitlab.hallowelt.com:HalloWelt/mediawiki-extensions-notifi
cations’ ‘/home/cheekyfactor/.composer/cache/vcs/git-gitlab.hallowelt.com-HalloWelt-mediawiki-extension
s-notifications/’
Cloning into bare repository ‘/home/cheekyfactor/.composer/cache/vcs/git-gitlab.hallowelt.com-HalloWelt
-mediawiki-extensions-notifications’…
Permission denied, please try again.
Permission denied, please try again.
git@gitlab.hallowelt.com: Permission denied (publickey,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
rvogel
4
Well, unfortunately, we have not published Extension:Notifications yet. This will be done soon.