Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Orocommerce Maintenance (Impossible to do this action) #76

Open
mrdgama opened this issue Dec 5, 2017 · 6 comments
Open

Orocommerce Maintenance (Impossible to do this action) #76

mrdgama opened this issue Dec 5, 2017 · 6 comments

Comments

@mrdgama
Copy link

mrdgama commented Dec 5, 2017

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

@aivus
Copy link
Contributor

aivus commented Dec 7, 2017

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.

@m-vo
Copy link

m-vo commented Jan 3, 2018

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

@aivus
Copy link
Contributor

aivus commented Jan 4, 2018

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

@m-vo
Copy link

m-vo commented Jan 8, 2018

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

@aivus
Copy link
Contributor

aivus commented Jan 13, 2018

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

@m-vo
Copy link

m-vo commented Jan 13, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants