Giter Site home page Giter Site logo

Comments (15)

xchs avatar xchs commented on May 30, 2024

You have to run the scripts via vendor/bin/*, e.g.

vendor/bin/contao-console cache:clear

from managed-edition.

WolfNik avatar WolfNik commented on May 30, 2024

that worked as a sudo and afterwards setting the ownership new.

Please change this on the error-message

from managed-edition.

aschempp avatar aschempp commented on May 30, 2024

from managed-edition.

WolfNik avatar WolfNik commented on May 30, 2024

When install is blocked it says please run: app/console doctrine:cache:clear contao.cache
(just enter 3 time a wrong password at the install screen)

This is not working.

vendor/bin/contao-console cache:clear was working but had to run as sudo and afterwards do a chown on the contao to the web-user in my case www-data:www-data

from managed-edition.

aschempp avatar aschempp commented on May 30, 2024

from managed-edition.

WolfNik avatar WolfNik commented on May 30, 2024

install the managed edition, after installing and login go back to /contao/install.
Then you are asked for the install password.
Type 3 times a wrong one.
Then reload /contao/install again.
Now it says: Please run app/console doctrine:cache:clear contao.cache

This was not working for me

from managed-edition.

aschempp avatar aschempp commented on May 30, 2024

from managed-edition.

WolfNik avatar WolfNik commented on May 30, 2024

Best solution would be to put an option to the system settings. But this command was not helpful and you find no advice when you search in google. So as a first step change the message to something working.

from managed-edition.

leofeyer avatar leofeyer commented on May 30, 2024

This is actually just another reason why we should have a bin/console entry point.

The error message is correct for the SE but not for the ME. @contao/developers /cc

from managed-edition.

leofeyer avatar leofeyer commented on May 30, 2024

As discussed in Mumble on July 13th, we should use a simple file locking similar to the Lexik maintenance bundle.

from managed-edition.

srhinow avatar srhinow commented on May 30, 2024

Contao 4.4.7
PHP 7.1

Das funktioniert bei mir für die Standart-Edition genauso wenig. Er rödelt zwar kurz nach dem Befehl aber die Block-Fehlermeldung bleibt die selbe.
Wenn ich den Befehlt mehrmals ausführe kommt auch immer:
% bin/console doctrine:cache:clear contao.cache Clearing the cache for the contao.cache provider of type Doctrine\Common\Cache\FilesystemCache
Aber die Sperre bleibt bestehen.

Auch was in der Anleitung (https://docs.contao.org/books/manual/current/de/01-installation/contao-installieren.html#das-contao-installtool) steht funktioniert nicht.

from managed-edition.

fritzmg avatar fritzmg commented on May 30, 2024

@srhinow what the messages does not tell you is that the bin/console of Symfony runs in the dev environment by default (see bin/console#L18). Unlike in the Contao Managed Edition, where the contao-console runs in the prod environment by default. Thus if you want to unlock the Install Tool for the prod environment you actually have to run

bin/console doctrine:cache:clear contao.cache --env=prod

(or -e=prod).

If you want the bin/console to be run in the prod environment by default, then you have to set the SYMFONY_ENV environment variable (for the PHP CLI) to prod.

See also contao/core-bundle#1088

from managed-edition.

srhinow avatar srhinow commented on May 30, 2024

i think that i have the Standart-edition and i try all of eny comands with --env=prod and without as sudo and without.
Where is the SYMFONY_ENV -vaiable? Why can i not reset the install-pw in eny environment?
What is the different between standart-edition and the managed-edition. I just did want a current Contao 4 installation anymore.

from managed-edition.

fritzmg avatar fritzmg commented on May 30, 2024

i think that i have the Standart-edition and i try all of eny comands with --env=prod and without as sudo and without.

Are you sure you have used the following command:

bin/console doctrine:cache:clear contao.cache --env=prod

This works as far as I have tested.

Where is the SYMFONY_ENV -vaiable?

It is an environment variable set by your operating system.

What is the different between standart-edition and the managed-edition. I just did want a current Contao 4 installation anymore.

If you just want Contao, you are probably better off with the managed edition. But that depends on your specific requirements.

from managed-edition.

 avatar commented on May 30, 2024

The issue has been moved to contao/installation-bundle#73.

from managed-edition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.