-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Script cache:clear returned with error code 255 #26730
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
Comments
I don't think the problem is the same for everyone, I just tried using the same command with my laptop with the same version of all the component as you and it works, just tried in a docker container too and it works. Do you mind trying with a docker container to maybe identify a problem on the machine running the commands ? (or a vagrant box if you don't like docker). It seems to me that's you have a rights problem and the container can not required files. |
Status: Waiting feedback |
@samayo would you be willing to help us debugging why this is failing for you? Otherwise, I suggest to close here as we will then not be able to fix it. |
Building the container in a bigger application can take around 6~8 seconds, so you don't want this each and every request (which is where the error is coming from). As I do not work on Windows, I can't comment much on this, but have you checked the permissions of the webserver and the files? If this was a more common error, it would've surely popped up far more often on any of the support channels as well. |
I have this problem on 3.4 and 4.0.6. PHP7.1 After this I've received:
Catalog Composer.json
|
@NavyCoat Does it change anything if you move the location of the cache to a directory that is not synced with your host system? |
@xabbuh Hm, it works. |
@xabbuh how do you even 'move' the cache to another location? It's already part of the Symfony app, wouldn't that break things? |
You can change the directory by changing the |
Thanks, but to where? Also, I thought the Kernel should not be altered like that. Is there some guide or blog about this? |
I apologize for the words I choose in advance, am a bit tired and frustrated, this is my 6-7th time since 2014 I'm trying to install this framework but everytime something keeps breaking during the process, I can barely reach the hello world page.
last time I tried it was in Jan, 2017
I tried to give it a final try today, but I can't get past the install phase.
I am using Symfony 4, Composer 1.6.3 and PHP 7.2
These are the "exact" commands I ran to get the error.
composer create-project symfony/website-skeleton my-project cd my-project composer require server --dev
This time its faster, it broke just in 3 steps.
The error is persistent, from restarting server to laptop doesn't fix it.
If I try to run the built-in server with
php bin/console server:run
it says the server is listening, and all is ok.:[root@localhost my-project]# php bin/console server:run [OK] Server listening on http://127.0.0.1:8000 // Quit the server with CONTROL-C. PHP 7.2.2 Development Server started at Sun Apr 1 02:01:09 2018 Listening on http://127.0.0.1:8000 Document root is /var/www/lab/frameworks/my-project/public Press Ctrl-C to quit.
But when I visit http://127.0.0.1:8000 or http://localhost:8000 I get
ERR_CONNECTION_REFUSED
as if it's not working. And the port is free, I have no application using it.I'm not really interested in using Symfony beyond this point so I'm not asking for solution, I just want to say all these issue originate including a vast amount from this github page are from the caching part/module ... my question is, why is caching really important to the point it renders the entire application dysfunctional? Which one is more important caching or the framework?
The text was updated successfully, but these errors were encountered: