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

Installer doesn't work on R/O filesystem #200

Closed
syslogic opened this issue Oct 19, 2012 · 5 comments
Closed

Installer doesn't work on R/O filesystem #200

syslogic opened this issue Oct 19, 2012 · 5 comments

Comments

@syslogic
Copy link

install/controller/step_2.php
install/controller/step_3.php

It just tells me "Warning: admin/config.php needs to be writable for OpenCart to be installed!"

In fact - when deploying to clouded servers configs just get pushed ...

Would be great to have any config-option to override the R/W checks (just need to install the database).

Something like step_2_ro.php & step_3_ro.php - without the checks and the file I/O.

Basically it just would need to be checked if the config files are present.

Here's a version of the installer that works in a clouded environment:
https://github.com/syslogic/opencart-quickstart/tree/master/pagoda

Here one can see it in action:
https://pagodabox.com/cafe/martin/opencart

@opencart
Copy link
Collaborator

if configs just get pushed there is no reason to include them when uploading.

@syslogic
Copy link
Author

Well, it's rather the other way around - they already have to be present before the filesystem gets mounted as R/O.
The parameters get filled in by $_SERVER variables, works quite different than on a traditional hosting
One can't upload via FTP - a GIT repository gets cloned and deployed. Heroku works about the same.

Here's the configuration for the container:
https://github.com/syslogic/opencart-quickstart/blob/master/Boxfile.install
https://github.com/syslogic/opencart-quickstart/blob/master/Boxfile

Basically they just get pushed in order to be able to develop on a VPS and deploy to cloud.
That deployment process has several stages - each with a different environment
(R/W filesystem, database and shared R/W directories aren't available at every stage - that is what makes it rather tricky).

If the config files are already present the mysql.php bugs out with error 1142 - in this case i just redirect to /install

At least I could proof that it isn't impossible :)

@heldersepu
Copy link

It will be nice if the version of the pagoda installer can be updated with the V2.0 of OpenCart

@syslogic
Copy link
Author

syslogic commented Apr 1, 2015

well, Pagoda v1 has been terminated (end of lifetime) - together with my Pagoda v1 containers ...
think it's a paid service now and never received any commission for creating several working quickstarts.
while having some Pagoda v2 account provided and maybe a little compensation - I'd port openCart v2 to Pagoda v2 infrastructure. even once started doing so - while they've deleted me :)

@heldersepu
Copy link

Pagoda still offers a free service(10MB writable storage) :
https://pagodabox.com/cloud-hosting-price

If the Pagoda QuickStarts work as advertised, then that is by far the easiest way to get an OpenCart store up and running.
They already have Magento, I would think you guys want to compete with them...

About financial compensation, hit me up directly: HelderSepu(at)gmail.com
...and we can chat about it

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

No branches or pull requests

2 participants