July 27, 20179 yr Well that's what I can not install, I do not know if it's because it's in Spanish or why, always stop at 75% put the following Ajax request failed for process installModules = true with error. Service Unavailable Attached image Pd: Sorry for my English, I use google translate https://drive.google.com/file/d/0B67eoATSRGuuRVFOWGFhUlVFcFE
July 28, 20179 yr I've encountered similar problem just few days ago - it was caused by low fastcgireadtimeout settings in my nginx configuration. Apparantly 90 seconds isn't good enough. I increased it to 360s and it went well. I guess it would be beneficial to split the installModules phase to several separate steps.
July 28, 20179 yr We will have to figure something out about that one. What it does is download the translations from the Crowdin api, so that might be what is holding things up. MAybe we can cache them in an earlier step or something.
July 28, 20179 yr It's a hard problem, you have: PHP installation has maxexecutiontime (default 30) Nginx fastcgireadtimeout (default 60) Apache Timeout/ProxyTimeout (default 60) Then the PHP code may go on doing something really long-running (like loading the database or resizing images). Or something that blocks on an external resource (like a HTTP request to a dead or slow host) How to handle this mess in a good way, so it always either works or gives a meaningful error message when it doesn't? And even worse when it's an AJAX-request triggering the above...
July 28, 20179 yr How to handle this mess in a good way, so it always either works or gives a meaningful error message when it doesn’t? A long term solution is certainly to do not one Ajax request for all modules, but one such request for each one module. To solve the problem at hand ... it's a bit of a guess right now, but I think it works to save a list of all folders in modules/, then to remove all these module folders, except tbupdater, before starting the installation. Can be done via shell or via FTP. Then start the installation, the module installation step should finish pretty quickly. This bare-bones installation should basically work, even with the shop front page being almost empty, no admin dashboard, etc. Then one can install all the modules the usual way, one by one, in Backoffice. It's not even necessary to restore all the module folders.
July 28, 20179 yr It could be the image generation too. With the new fixtures I have them packaged to create the images at install. I should fix that in the next version.
July 28, 20179 yr @roband7 one possible solution is to detach php process from request - installModule will immediately return response, but php process will continue to work (this is basically the same way cron works). There would have to be some javascript on frontend that would periodically check if the process finished yet.
July 28, 20179 yr Author Well if I install in English it installs perfectly, I have also tried to install the version thirty bees 1.0.1 in Spanish and the installation is completed perfectly, I already tried the Options that comment and always stops in 75%, so I will have to Wait to be able to try this new application.
July 29, 20179 yr I will add this to our bug list, but you can also install it and switch to spanish after the fact. At the same time, where are you hosted and what package do you have? It would benefit us to test the fix out on that.
July 29, 20179 yr It's not only the modules (similar problem currently with PS 1.7.2 btw). When I tried to upgrade my test installation from 1.01 to 1.0.2, thirty bees install hang when trying to backup. The upgrade could only be completed successfully after I disabled the backup.
August 19, 20179 yr the problem is same for thirtybees in a new version 1.0.3 when i tried installing in cloudways manually. here i attached the screenshoot. http://nimb.ws/o7c2qz Best Regards
August 19, 20179 yr hi related issue in my site my version 1.2 the version tbupdater something problem with tb updater admin panel loading very very slow. updater deleted no issue speed good . and i use 1.1 updater not loading issue speed fine and i try to update each updater 1.1 and 1.2 not connect channel see blow Your current thirty bees version: 1.0.2 Are you ready to update thirty bees? IT IS UPDATENOW BUTTON i click hiar Going to update to thirty bees version: Not available Channel:
August 19, 20179 yr This is definitely timeout-related issue. When installed TB (with Russian language) for the first time, on clean environment, i've got no issues. My php/nginx config includes long timeouts - 600 sec, or even 1200. I figured out that values when updated a lot of images.
August 19, 20179 yr @ daokakao thanka for your reply . how to solve this please say proper server settings and help me
August 19, 20179 yr You have to examine your php and webserver config. .../fpm/php.ini maxexecutiontime = 600 maxinputtime = 600 defaultsockettimeout = 600 nginx.conf: sendtimeout 600s; fastcgisendtimeout 600s; fastcgiread_timeout 600s; php-fpm.conf: server unix:/run/php/php7.0-fpm.sock weight=1 fail_timeout=600s;
August 19, 20179 yr thanks for your answer daoKakao my php v 7.1 server apache nginx with using cloudflare cdn ok i try now special thaks
August 19, 20179 yr You welcome! BTW, php 7.1 isn't very suitable for TB/PS for a while. I had to rollback on 7.0.x
August 19, 20179 yr thanks my native php 5.6 Current PHP version: 7.1 see my php default setting allowurlfopen On date.timezone Europe/London displayerrors Off errorreporting EALL fileuploads On includepath .:/opt/alt/php71/usr/share/pear logerrors On mail.forceextraparameters no value maxexecutiontime 30 maxinputtime -1 maxinputvars 1000 mbstring.funcoverload 0 memorylimit 128M openbasedir no value postmaxsize 64M session.savepath /tmp shortopentag On uploadmaxfilesize 64M good or ?
August 19, 20179 yr @fathira said in Installation in Spanish is stopped in 75%: maxexecutiontime 30 Too small. 300 or 600 is good enough @fathira said in Installation in Spanish is stopped in 75%: maxinputvars 1000 Too few! Should be at least of 10000 or even 12000
August 19, 20179 yr @lesley Hi, Leyley, Thanks for your replied. Sory for late response. Here i attached again the link. https://drive.google.com/file/d/0B4IcnC0FE8cycW5FVnhGUmxTaG8/view?usp=sharing. I forgot to share with anyone link setting on google drive. Best Regards.
August 19, 20179 yr Oops!. @Fathira, my first post was more related to topicstarter's issue. So, my advices more suitable for him. As for you, it seems, there's no connection with TB servers, when updater wrote "not available"
Create an account or sign in to comment