I updated to OC 4.x and try to clear the cache with the deploy plugin console like this:
Artisan::call('cache:clear');
echo Artisan::output();
The output is this:
Undefined constant "STDIN"
I don’t see the new dashboard. I use PHP 8.3 with deploy plugin 3.x.
I tried to clear the cache manually with FTP, but with no luck.
Hey @mathilde
In Deploy v3 and for Laravel 12 compatibility, you need to redeploy the Beacon files. Download them again and redeploy the script.
Now I’m getting following error:
posix_isatty(): Could not use stream of type 'Output'
And the cache isn’t cleared.
That’s a new one, I haven’t seen that error before. Will need to re-test it, because it was working last time I checked.
I have an OC installment, which I updated since version 1.x to now version 4.x. There clearing the cache command with the deploy console worked, even without re-deploying the beacon.
The ones that do not work were created from 3.x.
Oh, you’re using 3.x OCMS with 3.x Deploy?
Try using 3.x OCMS with 2.x Deploy
No, I updated from 3.x to 4.x and I’m using deploy plugin 3.x.
I have an installation I started with OC 1.x, which is now updated to 4.x. There the artisan command worked even without re-deploying the beacon. I have several installations I started with OC 3.x and updated to OC 4.x, there this error appears with re-deploying the beacon:
posix_isatty(): Could not use stream of type 'Output'