Extiverse helper
luceos hmm. getting this now…
In ComposerProcess.php line 11:
Argument 4 passed to App\Cli\ComposerProcess::__construct() must be of the type int, null given, called in phar:///home/…/extiverse/app/Commands/UpgradeCommand.php on line 95
I think I am on an old version of composer, so not sure if that might interfere.
- Edited
Tagged 0.2 and released to packagist, will update OP with the new download instructions for this:
Added
- Published to packagist.org so that it can be installed using
composer global require extiverse/helper
. - Added
self-update
command to update the binary.
Tagged 0.2.1 that fixes the upgrade command the error you mentioned earlier @UaMV. Apologies for not having fixed this sooner.
I must've scp
some old file from my downloads. Re-uploaded and showing proper version now.
However, now – upgrade seems to run, but still at the same Flarum version.
$ php extiverse upgrade --timeout
Backup of composer.json created: composer.json.back-2021-01-16T01:22:19+00:00
Please confirm that the upgrade should continue. (yes/no) [no]:
> y
Updated composer.json with wildcard extension constraints.
Composer command executed successfully.
Database changes applied successfully.
Cache cleared successfully.
All done!
Here's my composer.json
. That's the only thing I'd think could be interfering.
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Franz Liedke",
"email": "franz@develophp.org"
},
{
"name": "Daniel Klabbers",
"email": "daniel@klabbers.email",
"homepage": "https://luceos.com"
},
{
"name": "David Sevilla Martin",
"email": "me+flarum@datitisev.me",
"homepage": "https://datitisev.me"
},
{
"name": "Clark Winkelmann",
"email": "clark.winkelmann@gmail.com",
"homepage": "https://clarkwinkelmann.com"
},
{
"name": "Matthew Kilgore",
"email": "matthew@kilgore.dev"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://flarum.org/docs/"
},
"require": {
"askvortsov/flarum-categories": "*",
"clarkwinkelmann/flarum-ext-author-change": "*",
"clarkwinkelmann/flarum-ext-who-read": "*",
"datitisev/flarum-ext-dashboard": "*",
"flagrow/byobu": "^0.4.5",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^0.1.0",
"flarum/emoji": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"fof/best-answer": "*",
"fof/follow-tags": "*",
"fof/formatting": "*",
"fof/links": "*",
"fof/merge-discussions": "*",
"fof/nightmode": "*",
"fof/polls": "*",
"fof/reactions": "*",
"fof/split": "*",
"fof/upload": "*",
"fof/user-bio": "*",
"fof/user-directory": "*",
"maicol07/flarum-ext-sso": "*",
"michaelbelgium/flarum-discussion-views": "*",
"sycho/flarum-profile-cover": "*",
"v17development/flarum-support": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"process-timeout": 0
},
"minimum-stability": "beta",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://extiverse.com/composer/"
}
]
}
Do I need to update the flarum/core
piece to something else?
luceos well progress. This is probably no longer in the realm of the helper extension, but still showing that all went off well, but sticking at beta13. This is my why-not. Anyone w/ suggestions for next step?
$ composer why-not flarum/core v0.1.0-beta.15
flarum/core v0.1.0-beta.15 requires components/font-awesome (^5.14.0)
flarum/flarum - does not require components/font-awesome (but 5.9.0 is installed)
flarum/core v0.1.0-beta.15 requires dflydev/fig-cookies (^2.0.1)
flarum/flarum - does not require dflydev/fig-cookies (but v1.0.2 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/bus (^6.0)
flarum/flarum - does not require illuminate/bus (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/cache (^6.0)
flarum/flarum - does not require illuminate/cache (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/config (^6.0)
flarum/flarum - does not require illuminate/config (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/container (^6.0)
flarum/flarum - does not require illuminate/container (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/contracts (^6.0)
flarum/flarum - does not require illuminate/contracts (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/database (^6.0)
flarum/flarum - does not require illuminate/database (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/events (^6.0)
flarum/flarum - does not require illuminate/events (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/filesystem (^6.0)
flarum/flarum - does not require illuminate/filesystem (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/hashing (^6.0)
flarum/flarum - does not require illuminate/hashing (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/mail (^6.0)
flarum/flarum - does not require illuminate/mail (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/queue (^6.0)
flarum/flarum - does not require illuminate/queue (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/session (^6.0)
flarum/flarum - does not require illuminate/session (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/support (^6.0)
flarum/flarum - does not require illuminate/support (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/validation (^6.0)
flarum/flarum - does not require illuminate/validation (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires illuminate/view (^6.0)
flarum/flarum - does not require illuminate/view (but v5.7.28 is installed)
flarum/core v0.1.0-beta.15 requires nesbot/carbon (^2.0)
flarum/flarum - does not require nesbot/carbon (but 1.39.1 is installed)
flarum/core v0.1.0-beta.15 requires symfony/config (^4.3.4)
flarum/flarum - does not require symfony/config (but v3.4.45 is installed)
flarum/core v0.1.0-beta.15 requires symfony/mime (^5.2.0)
flarum/flarum - does not require symfony/mime (but v5.1.6 is installed)
flarum/core v0.1.0-beta.15 requires symfony/translation (^4.3.4)
flarum/flarum - does not require symfony/translation (but v3.4.45 is installed)
flarum/core v0.1.0-beta.15 requires symfony/yaml (^4.3.4)
flarum/flarum - does not require symfony/yaml (but v3.4.45 is installed)
luceos composer.json
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Franz Liedke",
"email": "franz@develophp.org"
},
{
"name": "Daniel Klabbers",
"email": "daniel@klabbers.email",
"homepage": "https://luceos.com"
},
{
"name": "David Sevilla Martin",
"email": "me+flarum@datitisev.me",
"homepage": "https://datitisev.me"
},
{
"name": "Clark Winkelmann",
"email": "clark.winkelmann@gmail.com",
"homepage": "https://clarkwinkelmann.com"
},
{
"name": "Matthew Kilgore",
"email": "matthew@kilgore.dev"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://flarum.org/docs/"
},
"require": {
"askvortsov/flarum-categories": "*",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^0.1.0",
"flarum/emoji": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"fof/best-answer": "*",
"fof/follow-tags": "*",
"fof/formatting": "*",
"fof/links": "*",
"fof/merge-discussions": "*",
"fof/nightmode": "*",
"fof/polls": "*",
"fof/reactions": "*",
"fof/split": "*",
"fof/user-bio": "*",
"fof/user-directory": "*",
"michaelbelgium/flarum-discussion-views": "*",
"sycho/flarum-profile-cover": "*",
"v17development/flarum-support": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"process-timeout": 0
},
"minimum-stability": "beta",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://extiverse.com/composer/"
}
]
}
0.2.2 released
Fixed
upgrade
command now correctly runscomposer update
with the-W
flag to all update dependencies, thanks UaMV
Upgrade if installed with composer composer global update extiverse/helper
, otherwise download the latest binary from the releases page at https://github.com/extiverse/helper/releases/latest.
@luceos If possible, this should try to use the new dependency resolution algorithm for setting enabled discussions.
Is it possible to upgrade to a specific Flarum version using the helper?