Skip to content
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

Won't install if ENABLE_INSTALL has a timestamp older than 1 hour #86

Closed
mems opened this issue May 20, 2013 · 2 comments
Closed

Won't install if ENABLE_INSTALL has a timestamp older than 1 hour #86

mems opened this issue May 20, 2013 · 2 comments
Assignees
Labels

Comments

@mems
Copy link

mems commented May 20, 2013

If you install Baïkal from flat version, copying all files to your FTP, /Specific/ENABLE_INSTALL file included, during install process (at the begin) you will get an error:

Baïkal Install Tool is locked. To unlock it, create (or re-create if it exists already) an empty file named ENABLE_INSTALL (uppercase, no file extension) in the Specific/ folder of Baïkal.

The problem come from /Specific/ENABLE_INSTALL timestamp included in Flat package that don't match requirements (/Core/Frameworks/BaikalAdmin/Core/Auth.php in assertUnlocked()) IE. updated/created 1 hour max before installing.

When you create packages, you should create a specific test in \BaikalAdmin\Core\Auth::assertUnlocked() to check aslo if the file match the timestamp of provided file in packages. For exemple the file included in flat 2.4.0 version package equals to:

$iTime = 1353270687; // 18 nov. 2012 21:31
@hermann-san
Copy link

I had the same problem with a current Baikal version, but I simply deleted the version on the webspace and re-uploaded the Baikal folder with the installation files. After the upload was done (~ 10 min.) , I imediately started the install wizard and this time it worked fine.
Maybe one should not wait too long with the install wizard after uploading the folder.

@evert evert removed the branch1 label Jan 21, 2016
@evert
Copy link
Member

evert commented Jan 29, 2016

This ticket is a bit old. Sorry for the slow response so far :/

I'm closing this to clean out old tickets, but if this is still an issue for you (and still important to you) just comment here so we can reopen.

@evert evert closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants