Skip to content
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

Fehler beim Update von 4.13.13 auf 4.13.14 #5538

Closed
Schmidty2 opened this issue Nov 28, 2022 · 17 comments · Fixed by contao/conflicts#39
Closed

Fehler beim Update von 4.13.13 auf 4.13.14 #5538

Schmidty2 opened this issue Nov 28, 2022 · 17 comments · Fixed by contao/conflicts#39
Labels
Milestone

Comments

@Schmidty2
Copy link

Affected version(s)

4.13.14

Description

Beim Update von Contao 4.13.13 auf 4.13.14 springt der Contao-Manager in den abgesicherten Modus.
Der folgende Fehler wird in der Konsole ausgegeben:

In RegisterServiceSubscribersPass.php line 88:
                                                                               
  Service "Contao\CoreBundle\Controller\BackendController" misses a "containe  
  r.service_subscriber" tag with "key"/"id" attributes corresponding to entry  
   "router" as returned by "Contao\CoreBundle\Controller\BackendController::g  
  etSubscribedServices()".

In var/logs wir kein Fehler dokumentiert.

PHP 8.1.7 bei All-Inkl
Contao-Manager 1.6.1
Contao 4.13.13 bzw. 4.13.14

@planepix
Copy link

@bytehead
Copy link
Member

Can copy this after running composer update on CLI:

...
Generating autoload files
112 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php bin/console --ansi cache:clear --no-warmup

In RegisterServiceSubscribersPass.php line 88:
                                                                                                                                                                                                                                            
  Service "Contao\CoreBundle\Controller\BackendController" misses a "container.service_subscriber" tag with "key"/"id" attributes corresponding to entry "router" as returned by "Contao\CoreBundle\Controller\BackendController::getSubsc  
  ribedServices()".                                                                                                                                                                                                                   

@bytehead bytehead added this to the 4.13 milestone Nov 28, 2022
@Schmidty2
Copy link
Author

Hier noch meine composer.json

{
    "type": "project",
    "require": {
        "bugbuster/contao-banner-bundle": "^1.3",
        "bugbuster/contao-be_user_online-bundle": "^2.2",
        "contao/calendar-bundle": "4.13.*",
        "contao/comments-bundle": "4.13.*",
        "contao/conflicts": "*@dev",
        "contao/faq-bundle": "4.13.*",
        "contao/listing-bundle": "4.13.*",
        "contao/manager-bundle": "4.13.*",
        "contao/news-bundle": "4.13.*",
        "contao/newsletter-bundle": "4.13.*",
        "duncrow-gmbh/flipbert": "^1.6",
        "e-spin/form-newsletter-bundle": "^1.0",
        "hofff/contao-calendarfield": "^4.0",
        "inspiredminds/contao-event-registration": "^1.2",
        "inspiredminds/contao-extended-form-fields": "^2.5",
        "inspiredminds/contao-fieldset-duplication": "^1.4",
        "madeyourday/contao-rocksolid-columns": "^2.1",
        "madeyourday/contao-rocksolid-custom-elements": "^2.4",
        "madeyourday/contao-rocksolid-icon-picker": "^2.1",
        "madeyourday/contao-rocksolid-slider": "^2.2",
        "madeyourday/contao-rocksolid-theme-assistant": "^2.1",
        "numero2/contao-validate-iban-bic": "^1.0",
        "oneup/contao-ical-export": "^2.1",
        "terminal42/contao-easy_themes": "^3.0",
        "terminal42/contao-shortlink": "^1.0",
        "terminal42/notification_center": "^1.6",
        "trilobit-gmbh/contao-databaseformfieldoptions-bundle": "^1.1"
    },
    "extra": {
        "public-dir": "public",
        "contao-component-dir": "assets"
    },
    "scripts": {
        "post-install-cmd": [
            "@php vendor/bin/contao-setup"
        ],
        "post-update-cmd": [
            "@php vendor/bin/contao-setup"
        ]
    }
}

@Shoekrates
Copy link

I also ran in this issue while updating from 4.13.13 to 4.13.14, PHP 8.0.20, Hoster all-inkl.

@sdahlmann
Copy link

I have the same error with Contao update from 4.13.13 to 4.13.14 with Dogado Hosting with PHP 8.1.9.

@bright-cloud-studio
Copy link

I am having the same issue trying to set up a new Contao 4.13 install as of 30 minutes ago or so. PHP 8.1 on Namecheap.

@ausi
Copy link
Member

ausi commented Nov 28, 2022

Please try if contao/conflicts#39 fixes the issue.

@ausi
Copy link
Member

ausi commented Nov 28, 2022

This should be solved by contao/conflicts#39 temporarily.

What caused this issue needs further investigation.

@ausi ausi reopened this Nov 28, 2022
@bytehead
Copy link
Member

PR that introduced a slighty different behaviour: symfony/symfony#48027

@Schmidty2
Copy link
Author

What do I have to do so that the update can be carried out?

@bytehead
Copy link
Member

Run a composer update again :)

@planepix
Copy link

Adding the conflict into the composer,json fixed it. Thank you ausi and bytehead!!

Update to 4.13.14 runs well now.

@bright-cloud-studio
Copy link

I just tried a fresh install again and it is working as expected. Thanks so much!

@ausi
Copy link
Member

ausi commented Nov 28, 2022

Contao 5 was affected too, conflicts added in contao/conflicts#40

@Shoekrates
Copy link

Shoekrates commented Nov 29, 2022

I can confirm that contao/conflicts#39 solves the problem. I just added the line to the conflicts block in composer.json and did a composer update.
In a fresh install this morning without adding anything to the conflicts no problem occured, so I guess the problem is solved.
Thanks!

@leofeyer leofeyer reopened this Nov 29, 2022
@ausi
Copy link
Member

ausi commented Nov 30, 2022

Symfony ticket: symfony/symfony#48388 symfony/symfony#48404

@ausi
Copy link
Member

ausi commented Dec 5, 2022

Behoben in symfony/symfony#48482

@ausi ausi closed this as completed Dec 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants