viliera Posted January 20, 2020 Share Posted January 20, 2020 Hola,聽 Hemos activado el APC CACHE en prestashop y los cron jobs que ten铆amos programados han dejado de funcionar. Recibimos el siguiente ERROR:聽 聽 Task "聽 " completed with error in 2 seconds, output: curl: (47) Maximum (50) redirects followed Unable to fetch URL:聽 聽 聽 Servidor: Plesk Obsidian 18 (Ubuntu 18.04 64Bit) Prestashop:聽1.7.6.2 聽 Agradezco vuestra ayuda.聽 Gracias y saludos.聽 Prestashop 1.7.6.2聽 聽 Link to comment Share on other sites More sharing options...
ventura Posted January 20, 2020 Share Posted January 20, 2020 Desde Plesk algunas tareas programadas desde urls https,聽聽dan problemas Si tienes acceso SSH a tu servidor prueba a a帽adirlo desde: crontab -e eg: 5 */1 * * * /usr/bin/curl --silent https://web_destino &>/dev/null 聽 Link to comment Share on other sites More sharing options...
viliera Posted January 20, 2020 Author Share Posted January 20, 2020 3 hours ago, ventura said: Desde Plesk algunas tareas programadas desde urls https,聽聽dan problemas Si tienes acceso SSH a tu servidor prueba a a帽adirlo desde: crontab -e eg: 5 */1 * * * /usr/bin/curl --silent https://web_destino &>/dev/null 聽 Ventura,聽 Gracias por tu respuesta,聽 He probado lo que me indicaste pero no funciona, parece ser otra cosa. Est谩n funcionando otros crons de otros m贸dulos pero de este no funciona, introduciendo el enlace directamente en el navegador, aparece lo siguiente:聽ERR_TOO_MANY_REDIRECTS聽 聽 Si desactivo聽cach茅 APC si que funciona, ese es el problema.聽 聽 Saludos Link to comment Share on other sites More sharing options...
ventura Posted January 20, 2020 Share Posted January 20, 2020 Debe de ser algo de valores de configuraci贸n. Recomendados: apc.enabled=1 apc.shm_size=512M apc.num_files_hint=10000 apc.user_entries_hint=10000 apc.max_file_size=5M apc.stat=0 apc.optimization=0 apc.shm_segments=1 apc.enable_cli=1 apc.cache_by_default=1 apc.include_once_override=1 Rev铆salos con el comando php -i | grep 'apc' 聽 Link to comment Share on other sites More sharing options...
viliera Posted January 21, 2020 Author Share Posted January 21, 2020 apc apcu apc.coredump_unmap => Off => Off apc.enable_cli => Off => Off apc.enabled => On => On apc.entries_hint => 4096 => 4096 apc.gc_ttl => 3600 => 3600 apc.mmap_file_mask => no value => no value apc.preload_path => no value => no value apc.serializer => php => php apc.shm_segments => 1 => 1 apc.shm_size => 32M => 32M apc.slam_defense => On => On apc.smart => 0 => 0 apc.ttl => 0 => 0 apc.use_request_time => On => On apc.writable => /tmp => /tmp As铆 se ven los valores por defecto. 聽 Link to comment Share on other sites More sharing options...
ventura Posted January 21, 2020 Share Posted January 21, 2020 Prueba para ver si depende de eso con: apc.enable_cli = 1 聽 Link to comment Share on other sites More sharing options...
viliera Posted January 21, 2020 Author Share Posted January 21, 2020 php -i | grep 'apc' me muestra la configuraci贸n pero como edito esta configuraci贸n? en php.ini no estan estos valores ni en聽20-apcu_bc.ini y ni en聽20-apcu.ini聽 Estoy algo perdido con el APC ya.聽 Gracias por tu ayuda.聽 Link to comment Share on other sites More sharing options...
ventura Posted January 21, 2020 Share Posted January 21, 2020 Dependiendo de la version de php que estes utilizando, algo asi echo 'apc.enable_cli = 1' > /etc/php72/cli/conf.d/enable-apc-cli.ini 聽 Link to comment Share on other sites More sharing options...
viliera Posted January 21, 2020 Author Share Posted January 21, 2020 He habilitado como me comentabas pero ahora no funciona front office.聽 da el mismo error: ERR_TOO_MANY_REDIRECTS聽馃檨 Link to comment Share on other sites More sharing options...
ventura Posted January 22, 2020 Share Posted January 22, 2020 Entiendo que has reiniciado Apache y聽regenerado el .htaccess tambi茅n聽 Lo del聽ERR_TOO_MANY_REDIRECTS, es raro, si est谩 todo bien en Apache, Nginx y configuraci贸n de Prestashop no deber铆a de pasar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now