·
Added a discussion

Hi, I am trying to install apps from studio to get started in my local server using XAMPP. But I'm not able to download the apps & it shows as Queued. Does not download & shows in the downloaded list. How can I fix this issue to move forward?

  • 1321
Comments
    • Hello kiran!

      This error may appear without installed Cron Jobs. You need to setup them or launch the file periodic/cron.php (but rename file periodic/.htaccess before this action).

      • I'm still getting this issue & not able to download any apps.

        Can u tell how to add Cron Jobs? I'm pretty new to this platfrom.

        Thanks!

        • You may use the Step 5 form this manual https://www.boonex.com/trac/dolphin/wiki/DetailedInstall . Dolphin and UNA have a similar part to install Cron Jobs.

          • I tried couple of times & still its not working, I added the code to cron job using 'crontab -e ' command

            in Terminal by connecting EC2 Ubantu server.

            I am bit confused of the code, can u tell me if below code is correct

            MAILTO={email address}

            * * * * * /opt/bitnami/apache2/bin -q /opt/bitnami/apache2/htdocs/network/UNA-v.9.0.0/periodic/crone.php

            I found 2 bin folders, 1 in bitnami/PHP/Bin and other in Bitnami/Apache2/bin.

            Which one should I use here?

            Its Bitnami LAMP 5.6.37-2, Ubuntu 16.04.5 LTS

            It will be great if you can help me with as I am stuck with this since last 2 weeks and cannot continue my projet.

            Thanks in advance.

            • If you operate with crontab command then I may suggest that you work under Shell access. Then you may try to execute command like:

              whereis php

              to get actual path to your PHP. I guess in your case it would be bitnami/PHP/Bin/php something like this. But Then you need to write this path to your Cron Jobs. Regarding your UNA path:

              network/UNA-v.9.0.0/periodic/crone.php 

              You may place UNA files to the network path, or call the folder simpler like una. Also, our cron file has the name "cron.php"

              • Its working now, thank you very much! I really appreciate your help.

                • Добрый день.
                  Не могу настроить планировщих заданий (Cron.php). Подскажите пожалуйста где настраивается планировщик? И куда втавить запись вида :

                  MAILTO=myemail@mysite.com * * * * * cd /home/user/public_html/dolphin/periodic; /usr/local/bin/php -q cron.php

                  - но подобного пути у меня нет.

                  Мой путь будет такой: cd /var/www/pharm-sprout.ru/periodic; /usr/bin/php -q cron.php    но при выполнении получаю ошибку: 

                  PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /var/www/pharm-sprout.ru/inc/header.inc.php:26

                  Stack trace:

                  #0 /var/www/pharm-sprout.ru/periodic/cron.php(14): require_once()

                  #1 {main}

                    thrown in /var/www/pharm-sprout.ru/inc/header.inc.php on line 26

                  У меня такая же проблема с модулями. Все модули находятся в режиме ожидания загрузки. На сервере я вижу загруженные файлы модулей в архиве, но в студии или в скаченных они не появляются.

                  Соответственно и почта у меня не работает из-за него (не отправляются письма при регистрации).

                  • Добрый день, Maxim Kalinin !

                    Возможны 3 причины этой ошибки:

                    1) либо эта функция отключена директивой disable_functions (настройки в php.ini или в конфигурационном файле сайта), 

                    2) либо отключен модуль mbstring.so (закомментирован в файле 20-mbstring.ini в директории conf.d), 

                    3) либо модуль mbstring не установлен (пакет php*.*-mbstring).
                    Проверить, установлен ли пакет можно след. командой:

                    dpkg —get-selections | grep mbstring

                    Скорее всего, Вам лучше обратиться к хостинг поддержке.

                    • Спасибо, проблема была в версиях PHP. На сервере было установлено две разные версии PHP с различным содержимым модулей.

                      Исправили полной переустановкой серверной части и оставили только одну версию PHP 7.2 с необходимыми модулями.

                      Всё заработало, настроили планировщик, приложения скачались. Но возникла другая проблема — очень медленная реакция на изменения. Что бы я не сделал в студии или на сайте приводит к задумчивости на 2-3 минуты. Отправка почтового сообщения, изменение пользователя, любое обращение к базе-данных приводит к зависанию на 2-3 минуты.

                      Что может быть не так? Куда копать?

                      Прошу помощи 😥 

                      • А каким локальным сервером пользуетесь? Какие значения там имеет параметер memory_limit? И характеристики вашей ОС и оперативной памяти.

                        • memory_limit = 134217728 (UNA audit)

                          OS: Linux Server-3a007191-23ae-4568-823f-2fa0bdee023c 4.4.0-190-generic # 220-Ubuntu SMP Пт 28 августа 23:02:15 UTC 2020 x86_64

                          Веб-сервер: Apache / 2.4.18 (Ubuntu)

                          MySQL: версия = 5.5.5

                          PHP: версия = 7.2.34-1+ubuntu16.04.1+deb.sury.org+1

                          Параметры сервера: 2 vCPU,4 ГБ RAM,100 ГБ 

                          • What server configuration is recommended for deploying the platform?

                            • 2 vCPU,4 ГБ RAM,100 ГБ 

                              such hardware should be fine

                              the delay most probably related to mail sending, I would suggest to install and configure SMTP Mailer module to send mail, you can temporary use your gmail email to send mail from.

                              • Hello!
                                I have the same problem with Queued apps.
                                Cron is working as expected, log is clear of errors, emails coming as expected. php-mbstring is already the newest version.

                                What should I do to force queued apps to download?

                                • Hello lunacy !

                                  Do you have smth in your server's error log?

                                  • I don't see any error or warning messages at a system, PHP, nginx, mail, DB or application logs.

                                    • Is there any way to clean the list of modules waiting for download? Could it be helpful in this case?

                                      Login or Join to comment.