Hello,
I have please one question about installation Oxid eshop. I am just
testing actual version from
https://oxidforge.org/download/download-oxid-eshop-6-0-0?wpdmdl=12085
and I have problem with installation on 5. step:
Error while executing command ‘Migration’. Return code: ‘0’.
The command returns the following message:
Provided directory “/tmp” does not exist
ERROR: Issue while inserting this SQL statements:
Path to tmp I wrote in 4. step is correct and writable. What tmp directory should
this be? Does it mean /tmp in operating system, not in web directory?
Please can you explain me how it works and how can I fix it? Thank you
very much.
We got it, Vaclav. The error message is because you installed the download package.
It comes from \ProxyManager\Exception\InvalidProxyDirectoryException::proxyDirectoryNotFound This library works on very low levels and highly depends on the environment.
With other words: can you please try to install again using composer instead of the download package like quickly described here https://oxidforge.org/en/downloads. Here are the full installation instructions: https://docs.oxid-esales.com/developer/en/6.0/getting_started/eshop_installation.html.
Vaclav, please don’t hasitate to ask any further question here in the forums.
Thank you for your help. But I need to have the option install it without composer as it is usual by classic webhosting - only copy data to (S)FTP and run installation in browser.
I see. The best way is most likely to generate a local machine like VM or so and configure it as close as possible to your server environment. Then create the “package” with composer locally. Here are some links for you:
Just another idea: would it be possible to provide a one-click installation from your side? (For all others: I know that @vaclavambroz is working for a hosting provider )
In previous version (I installed in the last time version 4.10.2, I know it is old) was an option to do that - only download files, do installation and then I could do package from that installation for one click installation by hosting provider where I am working.
I will try as from https://docs.oxid-esales.com/developer/en/6.0/getting_started/installation/eshop_installation_without_composer.html as you wrote.
The one click package is created in our environment by webhosting provider, it cant be used in other environment because there are dependencies to our scripts etc.
Thank you. After I will try it, I will give you the feedback.
1 Like
I tried to install it again with instructions (https://docs.oxid-esales.com/developer/en/6.0/getting_started/installation/eshop_installation_without_composer.html) but I am afraid it is not possible to install it in usual environment of comercial webhosting. I am afraid there are " Permission denied" about that scripts from the second step in that instructions too.
I got the same error:
Error while executing command ‘Migration’. Return code: ‘0’.
The command returns the following message:
Provided directory “/tmp” does not exist
ERROR: Issue while inserting this SQL statements:
According to this: https://github.com/doctrine/migrations/issues/485 this can happen if eval is disabled and sys_get_temp_dir() is not in allowed paths of open_basedir restriction.
2 Likes
Changing sys_get_temp_dir() helps. Great, thank you very much.
2 Likes