Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Перестали работать задачи

Опубликовано:

По какой то причине перестали работать выполнение задач. 

Стояло выполнение задачи по cron. После пробовал запускать вручную и автоматически по трафику. Но задачи так и не выполняются, также на почту приходить начала эта ошибка, если выполнение задачи происходит по cron, до этого все работало нормально и тут резко перестало:

В чем может быть проблема?

Exception:
IPS\Db\Exception Object
(
    [query] => UPDATE `core_queue` core_queue SET `offset`=? WHERE id=?
    [binds] => Array
        (
            [0] => 0
            [1] => 12509
        )

    [message:protected] => MySQL server has gone away
    [string:Exception:private] =>
    [code:protected] => 2006
    [file:protected] => /home/users/n/nizhniy-shkaft/domains/domain/system/Db/Db.php
    [line:protected] => 631
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Db/Db.php
                    [line] => 1150
                    [function] => preparedQuery
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /*IPS\_Task::runQueue:43*/ UPDATE `core_queue` core_queue SET `offset`=? WHERE id=?
                            [1] => Array
                                (
                                    [0] => 0
                                    [1] => 12509
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 69
                    [function] => update
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => `core_queue` core_queue
                            [1] => `offset`=?
                            [2] => WHERE id=?
                        )

                )

            [2] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/tasks/queue.php
                    [line] => 43
                    [function] => runQueue
                    [class] => IPS\_Task
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 356
                    [function] => IPS\core\tasks\{closure}
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/tasks/queue.php
                    [line] => 55
                    [function] => runUntilTimeout
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Closure Object
                                (
                                    [this] => IPS\core\tasks\queue Object
                                        (
                                            [caches:protected] => Array
                                                (
                                                )

                                            [_data:protected] => Array
                                                (
                                                    [id] => 5
                                                    [app] => core
                                                    [key] => queue
                                                    [frequency] => P0Y0M0DT0H1M0S
                                                    [next_run] => 1583475938
                                                    [running] => 1
                                                    [enabled] => 1
                                                    [plugin] =>
                                                    [lock_count] => 0
                                                    [last_run] => 1583475930
                                                )

                                            [_new:protected] =>
                                            [changed] => Array
                                                (
                                                )

                                            [skipCloneDuplication] =>
                                        )

                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 255
                    [function] => execute
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 224
                    [function] => run
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/interface/task/task.php
                    [line] => 63
                    [function] => runAndLog
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

 

Рекомендованные сообщения

Опубликовано:
2 часа назад, alcatras сказал:

[message:protected] => MySQL server has gone away

Вот ошибка

Опубликовано:
  • Автор
17 минут назад, newbie сказал:

Вот ошибка

тоесть проблема со стороны хостинга? Из-за этого фоновые процессы просто стоят на месте

Изменено пользователем alcatras

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.