This topic contains 5 replies, has 3 voices, and was last updated by Mike Kudelya 7 years, 7 months ago.
- Topic
Hi there,
I’ve just setup a recent OroCRM v1.9.6 on a fresh box with nginx + php-fpm according to the installation manuals.
I can access the dashboard after installation as expected, but the app keeps showing me the popup with the “Loading …” spinner on every first request. After performing a page reload with ctrl+r, however every page seems to render correctly. So basically only the first page view gets stuck with the “Loading …” popup, doesn’t matter which view or menu item I navigate to.
I’ve already tried to dig around a little bit deeper, repeated the whole installation process, disabled, flushed and rebuild the cache several times, change from prod to dev environment, checked all logs including nginx, php-fpm, syslog as well as symfonys logs under app/logs/*.log as well the host. Also I did check the browser dev console for script errors, the network timeline to identify if there is any ajax request which takes unusal long time for the response. So far I couldn’t determine any obvious reason why this behaviour occurs…
The underlying server is pretty ok, ssds, 16gb memory (a decent amount of memory reserved for php’s opcache), db runs solely on a external mariadb cluster, etc., so I guess there is no hardware bottleneck here ;-)
vhost config:
12345678910111213141516171819202122232425262728293031323334server {listen 10.0.0.1:443 ssl http2;server_name oro.mycorp.com;ssl_protocols TLSv1 TLSv1.1 TLSv1.2;ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:EDH-RSA-DES-CBC3-SHA:DES-CBC3-SHA;ssl_ecdh_curve secp384r1;ssl_session_cache shared:SSL:20m;ssl_session_timeout 10m;ssl_dhparam /etc/nginx/dhparams.pem;ssl_prefer_server_ciphers on;ssl_certificate /etc/nginx/ssl/oro.crt;ssl_certificate_key /etc/nginx/ssl/oro.key;ssl_client_certificate /etc/nginx/ssl/ca.pem;access_log /var/logs/oro-access.log combined;error_log /var/logs/oro-error.log error;root /var/www/oro/web/;index app.php;location / {try_files $uri /app.php$is_args$args;}location ~ ^/(app|app_dev|config|install)\.php(/|$) {fastcgi_pass unix:/var/run/oro-php-fpm.socket;include /etc/nginx/fastcgi_params;fastcgi_split_path_info ^(.+\.php)(/.*)$;fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;fastcgi_param HTTPS on;}}php-fpm config:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768;PHP-FPM configuration for oro.mycorp.com[oro.mycorp.com]listen = /var/run/oro-php-fpm.socketlisten.owner = www-datalisten.group = www-datalisten.mode = 0660user = www-datagroup = www-datapm = dynamicpm.max_children = 15pm.start_servers = 5pm.min_spare_servers = 3pm.max_spare_servers = 8pm.max_requests = 10000env[TMP] = /tmp/env[TMPDIR] = /tmp/env[TEMP] = /tmp/php_admin_value[session.save_path] = /tmp/php_admin_value[upload_tmp_dir] = /tmp/php_admin_flag[allow_call_time_pass_reference] = Offphp_admin_flag[allow_url_fopen] = Onphp_flag[asp_tags] = Offphp_value[date.timezone] = "Europe/Berlin"php_admin_value[date.timezone] = "Europe/Berlin"php_admin_value[disable_classes] =php_admin_value[disable_functions] =php_flag[display_errors] = Offphp_flag[display_startup_errors] = Offphp_admin_flag[enable_dl] = Offphp_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICTphp_admin_flag[expose_php] = Offphp_admin_flag[file_uploads] = Onphp_admin_value[gpc_order] = "GPC"php_flag[html_errors] = Offphp_admin_flag[ignore_repeated_errors] = Offphp_admin_flag[ignore_repeated_source] = Offphp_value[include_path] = ".:/usr/share/php/:/usr/share/php5/"php_flag[log_errors] = Onphp_admin_flag[log_errors] = Onphp_value[log_errors_max_len] = 1024php_flag[magic_quotes_gpc] = Offphp_flag[magic_quotes_runtime] = Offphp_flag[magic_quotes_sybase] = Offphp_value[max_execution_time] = 360php_admin_value[max_input_time] = 300php_admin_value[memory_limit] = 512Mphp_admin_value[output_buffering] = 4096php_admin_value[post_max_size] = 64Mphp_admin_value[precision] = 14php_admin_flag[register_argc_argv] = Offphp_admin_flag[report_memleaks] = Onphp_value[session.auto_start] = 0php_value[session.cookie_domain] =php_value[session.cookie_lifetime] = 0php_value[session.cookie_path] = /php_admin_value[session.gc_divisor] = 1000php_admin_value[session.gc_probability] = 1php_value[session.name] = PHPSESSIDphp_value[session.serialize_handler] = phpphp_flag[session.use_cookies] = 1php_flag[short_open_tag] = Offphp_flag[track_errors] = Offphp_value[upload_max_filesize] = 32Mphp_admin_value[variables_order] = "GPCS"php_admin_value[open_basedir] = "/var/www/oro/:/tmp/:/usr/bin/php"php_admin_value[opcache.restrict_api] = "/var/www/oro/web/"php_admin_flag[opcache.save_comments] = 1php_admin_flag[opcache.load_comments] = 105-opcache.ini
1234567891011121314151617; configuration for php ZendOpcache module; priority=05zend_extension=opcache.so[opcache]opcache.enable=1;opcache.enable_cli=0;opcache.memory_consumption=4096opcache.interned_strings_buffer=16opcache.max_accelerated_files=16000opcache.enable_file_override=1opcache.validate_timestamps=1opcache.revalidate_freq=0opcache.save_comments=0opcache.load_comments=0opcache.error_log=/var/log/php5-opcache.error.logopcache.log_verbosity_level=3versions:
12345root@oro ~ # php -vPHP 5.6.23-0+deb8u1 (cli) (built: Jul 12 2016 07:33:16)root@oro ~ # nginx -vnginx version: nginx/1.11.2Does anybody may have a hint what could cause this weird bug?
Thanks in advance
Dominic
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.