Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
Forum Replies Created
-
AuthorReplies
-
Ok, I now tried the installation using the cli, but I still get a strange permission denied error, see further down. It seems like sh cannot be executed, but shell_exec works in my tests.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485$php app/console -v oro:installInstalling Oro Application.Oro requirements check:+---------+-------------------------------------------------------------------------------------------+| Check | Mandatory requirements |+---------+-------------------------------------------------------------------------------------------+| OK | Vendor libraries must be installed || OK | app/cache/ directory must be writable || OK | app/logs/ directory must be writable || OK | Configured default timezone "Europe/Berlin" must be supported by your installation of PHP || OK | json_encode() must be available || OK | session_start() must be available || OK | ctype_alpha() must be available || OK | token_get_all() must be available || OK | simplexml_import_dom() must be available || OK | APC version must be at least 3.1.13 when using PHP 5.4 || OK | PCRE extension must be available || OK | Cache folder should not be inside encrypted directory |+---------+-------------------------------------------------------------------------------------------++---------+--------------------------------------------+| Check | PHP settings |+---------+--------------------------------------------+| OK | date.timezone setting must be set || OK | detect_unicode must be disabled in php.ini || OK | memory_limit should be at least 512M |+---------+--------------------------------------------++---------+-----------------------------------------------------------------+| Check | Oro specific requirements |+---------+-----------------------------------------------------------------+| OK | PHP version must be at least 5.4.9 (5.5.3-1ubuntu2.6 installed) || OK | GD extension must be at least 2.0 || OK | cURL extension must be at least 7.0 || OK | mcrypt_encrypt() should be available || OK | intl extension should be available || OK | icu library must be at least 3.8 || OK | web/uploads/ directory must be writable || OK | web/media/ directory must be writable || OK | web/bundles/ directory must be writable || OK | app/attachment/ directory must be writable || OK | web directory must be writable || OK | app/config/parameters.yml file must be writable |+---------+-----------------------------------------------------------------++---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| Check | Optional recommendations |+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| OK | Requirements file should be up-to-date || OK | When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration) || OK | PCRE extension should be at least version 8.0 (8.31 installed) || OK | PHP-XML module should be installed || OK | mb_strlen() should be available || OK | iconv() should be available || OK | utf8_decode() should be available || OK | posix_isatty() should be available || OK | intl extension should be available || OK | intl extension should be correctly configured || OK | intl ICU version should be at least 4+ || OK | a PHP accelerator should be installed || WARNING | Set short_open_tag to off in php.ini*. || OK | magic_quotes_gpc should be disabled in php.ini || OK | register_globals should be disabled in php.ini || OK | session.auto_start should be disabled in php.ini || OK | PDO should be installed || OK | PDO should have some drivers installed (currently available: mysql, pgsql, sqlite) || OK | SOAP extension should be installed (API calls) || OK | A JS Engine (node) is installed |+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+sh: 1: /usr/bin: Permission denied[RuntimeException]The command terminated with an exit code: 126.Exception trace:() at /var/customers/webs/username/domainname/platform-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:168Oro\Bundle\InstallerBundle\CommandExecutor->processResult() at /var/customers/webs/username/domainname/platform-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:138Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() at /var/customers/webs/username/domainname/platform-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/InstallCommand.php:223Oro\Bundle\InstallerBundle\Command\InstallCommand->prepareStep() at /var/customers/webs/username/domainname/platform-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/InstallCommand.php:121Oro\Bundle\InstallerBundle\Command\InstallCommand->execute() at /var/customers/webs/username/domainname/platform-application/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:245Symfony\Component\Console\Command\Command->run() at /var/customers/webs/username/domainname/platform-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:900Symfony\Component\Console\Application->doRunCommand() at /var/customers/webs/username/domainname/platform-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191Symfony\Component\Console\Application->doRun() at /var/customers/webs/username/domainname/platform-application/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/customers/webs/username/domainname/platform-application/vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Console/Application.php:44JMS\JobQueueBundle\Console\Application->doRun() at /var/customers/webs/username/domainname/platform-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121Symfony\Component\Console\Application->run() at /var/customers/webs/username/domainname/platform-application/app/console:23What can I still try? Thank you
Hey Rodolfo, that’s what I did, but still the installer asks:
1234Generating autoload filesCreating the "app/config/parameters.yml" fileSome parameters are missing. Please provide them...I understand that you have to provide some db info, but I don’t want to use root.
That’s what I already did and meant by “a db I have prepared”. That’s why the error (correctly) states “database exists”, as I wrote above. The question is, why oro doesn’t make use of it or how can I do it non root?
you mean like in /etc/environment
ORO_PHP_PATH=”/usr/bin/”
greetsHm, the problem is back… investigating.
Heyho, I found our problem: The app/cache dir contained elements from a previous installation attempt. They were not owned by the current php-fcgi user and could therefore not be modified.
Greetings and thx
if i understand right i need to put it in my virtual host conf
since htaccess doesnt work for installerHi
do i have to set all 4 variables or is one enough.
and can i set them with SetEnv in /web/.htaccess ?
greetsHi
thx for the info.i come on next page: white/blank page.
error log says[Thu Dec 25 17:39:31.470996 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:39046] mod_fcgid: stderr: #0 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(78): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->getPhp(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:31.470998 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:39046] mod_fcgid: stderr: #1 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(66): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->ensureCacheInitialized(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:31.471000 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:39046] mod_fcgid: stderr: #2 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(46): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->ensureInitialized(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:31.471002 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:39046] mod_fcgid: stderr: #3 /var/customers/webs/kks/crm.ga in /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php on line 97, referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.350992 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The php executable could not be found, add it to your PATH environment variable and try again’ in /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php:97, referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.351002 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: Stack trace:, referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.351004 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: #0 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(78): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->getPhp(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.351006 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: #1 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(66): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->ensureCacheInitialized(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.351008 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: #2 /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(46): Oro\\Bundle\\EntityExtendBundle\\OroEntityExtendBundle->ensureInitialized(), referer: http://crm.gastrozentrale.de/install.php
[Thu Dec 25 17:39:34.351014 2014] [fcgid:warn] [pid 23392] [client 89.204.130.118:35387] mod_fcgid: stderr: #3 /var/customers/webs/kks/crm.ga in /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php on line 97, referer: http://crm.gastrozentrale.de/install.phpsudo -u kks getconf NAME_MAX /var/customers/webs/kks/crm.gastrozentrale.de/platform-application/app/
255hi Yevhen
getconf NAME_MAX /var/customers/tmp/kks/ would be 255
the user of the given path is kks
and in phpinfo upload_tmp_dir is /var/customer/tmp/kks
so does oro check the right tmp dir path?Hi
can please somebody help?
we cannot go on without help.
greetsHi
i have the same issue.
i installed oro via github as described in documentation.the app cache folder is as delivered
/var/customers/webs/MYCUSTOMER/crm.domain.tld/platform-application/app/cache
it’s a root server with ubuntu and our admin says there is no encryption in use.
we use froxlor and apache.how can i solve this?
thanks -
AuthorReplies