LexikMaintenanceBundle icon indicating copy to clipboard operation
LexikMaintenanceBundle copied to clipboard

Orocommerce Maintenance (Impossible to do this action)

Open mrdgama opened this issue 7 years ago • 6 comments

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

mrdgama avatar Dec 05 '17 04:12 mrdgama

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.

aivus avatar Dec 07 '17 08:12 aivus

I'm facing the same issue - actually the system got locked via lexik:maintenance:lock.

m-vo avatar Jan 03 '18 21:01 m-vo

@m-vo what is the result of lexik:maintenance:lock? Which driver are you using? File?

aivus avatar Jan 04 '18 09:01 aivus

@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 avatar Jan 08 '18 11:01 m-vo

@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.

aivus avatar Jan 13 '18 10:01 aivus

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

m-vo avatar Jan 13 '18 11:01 m-vo