LexikMaintenanceBundle
LexikMaintenanceBundle copied to clipboard
Orocommerce Maintenance (Impossible to do this action)
Hello masters,
I would like to ask the question, is there anybody here who facing the problem when maintenance Orocommerce (upgrade the last version) -- > when do the command : app/console lexik:maintenance:unlock --env prod got the warning "Impossible to do this action". Please help me if anyone solved.
Thanks
Hi @mrdgama
In general it means that your system was not locked with lexik:maintenance:lock
.
Try to call app/console lexik:maintenance:lock --env prod
before.
I'm facing the same issue - actually the system got locked via lexik:maintenance:lock
.
@m-vo what is the result of lexik:maintenance:lock
? Which driver are you using? File?
@aivus Yes, I'm using the FileDriver
.
The following is shown when locking:
Ttl doesn't work with Lexik\Bundle\MaintenanceBundle\Drivers\FileDriver driver
But actually the locking/unlocking do have an effect (except for the warning generated it looks like the commands work as expected).
@m-vo
The following is shown when locking:
Ttl doesn't work with Lexik\Bundle\MaintenanceBundle\Drivers\FileDriver driver
Yes. it's ok. It just showing that FileDriver
doesn't support TTL feature
Could you please share you lexik_maintenance
config? Which symfony version are you using?
I tried to reproduce this, but couldn't.
Sure, we're using LexikMaintenaceBundle
inside Contao Open Source CMS. I did not change the default config:
https://github.com/contao/manager-bundle/blob/4.5/src/Resources/skeleton/app/config.yml#L68-L75