New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration 19.0 to 20.0.14 problem with final stage : occ db:add-missing-indices return argument problems #269
Labels
Comments
Which version of previewgenerator are you using? |
3.4.0
Le mar. 14 déc. 2021 à 17:41, Richard Steinmetz ***@***.***>
a écrit :
… Which version of previewgenerator are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#269 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIFZILXMWWEL6OH5LIQO3LUQ5XSLANCNFSM5JZ3GRXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
|\ _,,,---,,_ Patrice KARATCHENTZEFF
ZZZzz /,`.-'`' -. ;-;;,_ ***@***.***
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
|
I could reproduce the issue and it's caused by #190 on Nextcloud v20. I'll develop a fix and publish a patch release asap. |
OK, thanks :)
Le mar. 14 déc. 2021 à 18:17, Richard Steinmetz ***@***.***>
a écrit :
… I could reproduce the issue and it's caused by #190
<#190> on Nextcloud v20.
I'll develop a fix and publish a patch release asap.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#269 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIFZIM2BOR6FYVXHPRO733UQ532FANCNFSM5JZ3GRXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
|\ _,,,---,,_ Patrice KARATCHENTZEFF
ZZZzz /,`.-'`' -. ;-;;,_ ***@***.***
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
|
Fixed by #273 and released with v3.4.1. |
Thanks for the reactivity.
How can I upgrade to 3.4.1 for testing?
Thanks,
Le mer. 15 déc. 2021 à 11:12, Richard Steinmetz ***@***.***>
a écrit :
… Closed #269 <#269>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#269 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIFZIPTQBHM7GJJBT2C63LURBSYHANCNFSM5JZ3GRXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
|\ _,,,---,,_ Patrice KARATCHENTZEFF
ZZZzz /,`.-'`' -. ;-;;,_ ***@***.***
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
|
OK. It is automatic!
Nice job. All is fixed.
Thanks,
PK
Le mer. 15 déc. 2021 à 11:55, Patrice Karatchentzeff <
***@***.***> a écrit :
… Thanks for the reactivity.
How can I upgrade to 3.4.1 for testing?
Thanks,
Le mer. 15 déc. 2021 à 11:12, Richard Steinmetz ***@***.***>
a écrit :
> Closed #269 <#269>.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#269 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALIFZIPTQBHM7GJJBT2C63LURBSYHANCNFSM5JZ3GRXQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
|\ _,,,---,,_ Patrice KARATCHENTZEFF
ZZZzz /,`.-'`' -. ;-;;,_ ***@***.***
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
--
|\ _,,,---,,_ Patrice KARATCHENTZEFF
ZZZzz /,`.-'`' -. ;-;;,_ ***@***.***
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use GitHub
Hi,
Steps to reproduce
Migration auto from 19 to 20 from the web interface.
Nice for all the stages until the last part by hands.
When I try to
php occ db:add-missing-indices
An unhandled exception has been thrown:
ArgumentCountError: Too few arguments to function OCA\PreviewGenerator\Command\Generate::__construct(), 0 passed in /var/www/nextcloud/lib/private/Console/Application.php on line 224 and at least 5 expected in /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:72
Stack trace:
#0 /var/www/nextcloud/lib/private/Console/Application.php(224): OCA\PreviewGenerator\Command\Generate->__construct()
nextcloud/server#1 /var/www/nextcloud/lib/private/Console/Application.php(136): OC\Console\Application->loadCommandsFromInfoXml(Array)
nextcloud/server#2 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nextcloud/server#3 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
In fact, all the php occ commands will failed
php occ app:list
An unhandled exception has been thrown:
ArgumentCountError: Too few arguments to function OCA\PreviewGenerator\Command\Generate::__construct(), 0 passed in /var/www/nextcloud/lib/private/Console/Application.php on line 224 and at least 5 expected in /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:72
Stack trace:
#0 /var/www/nextcloud/lib/private/Console/Application.php(224): OCA\PreviewGenerator\Command\Generate->__construct()
nextcloud/server#1 /var/www/nextcloud/lib/private/Console/Application.php(136): OC\Console\Application->loadCommandsFromInfoXml(Array)
nextcloud/server#2 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nextcloud/server#3 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
The server will run perfectly, but I can finalize the update.
Server configuration
Operating system: Debian 10.11 (up to date)
Web server: nginx 1.14
Database: Maria 10.3
PHP version: 7.3
Nextcloud version: 20.0.14
Updated from an older Nextcloud/ownCloud or fresh install: 19.0.x (last production issue)
No errors have been found.
List of activated apps:
There're 30 ! Not possible all to copy-paste and the command line fails :(
unfortunatly, all my php occ commands would fail :(
Nextcloud configuration:
Config report
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
The text was updated successfully, but these errors were encountered: