Почему update manager не показывает доступные обновления?

17 декабря 2020 в 16:57
Аватар пользователя VasyOK VasyOK 0 21

Всем привет!
Специалисты Друпала, подскажите: почему update manager не показывает тут admin/reports/updates доступные обновления? Я точно знаю что обновление модуля есть, а он пишет напротив модуля "Доступные версии не найдены ".

Комментарии

Собственно напротив большиства модулей надпись красным фоном "Доступные версии не найдены".
Напротив некоторых надпись "Актуально".
Обновляю или загружаю новые модули через Композер.
Проблема сохраняется и на хостинге и на Докере.

17 декабря 2020 в 17:10

Какой? Пишет
drupal 8.9.11 - Доступные версии не найдены (и так на большинстве)
Client-side hierarchical select 8.x-1.3 - Актуально

17 декабря 2020 в 17:36

vladtulku, перефразирую:
drupal 8.9.11 - Доступные версии не найдены (красным бекграундом)
Client-side hierarchical select 8.x-1.3 - Актуально (зеленым бекграундом)

Красным бекграундом - процентов 90 модулей обозначены в admin/reports/updates, независимо от того, есть на них обновление или нет.

17 декабря 2020 в 19:26

drupal 8.9.11 - Доступные версии не найдены (красным бекграундом)

и предлагает скачать новую версию 9.1.0 (2020-Dec-02)
поле больше не остается красным, а становится как и все желтушным, но при наведении курсора, меняется на голубой. если модуль требует обновления то смены цвета (желтушный) не происходит.
тоже самое происходит если у модуля есть версия для девятки или левая альфа
Плюс ко всему цвета зависят от темы оформления. У меня по умолчанию seven

Доступные версии не найдены

у меня отсутствует такая фраза. Есть только Актуально и Доступно обновление.

Может стоит сменить админскую тему?

17 декабря 2020 в 22:28

Меня беспокоит не цвет, а то что оно не видит обновления/актуальность для большинства модулей.

Вот как это выглядит. admin_toolbar он же имеет версию 2.4. Но мне это не показано.

Вот команда composer outdated показывает
drupal/admin_toolbar 2.3.0 2.4.0

20 декабря 2020 в 1:37

У тебя ядро не может проверить обновления. Этому багу больше десяти лет уже. Попробуй вручную очистить таблицу cache_update

20 декабря 2020 в 7:48

На 7ке была такая проблема из-за хостера, то ли у рег.ру проблемы были, то ли на маршрутах до друпал.орг что-то, но достучаться сайт не мог какое-то время. Потом решилось само собой.

20 декабря 2020 в 17:31

Есть в devel кажется функция переустановить модуль. Переустанови модуль обновления. Но может все рухнуть. Поэтому сначала все сохрани.

20 декабря 2020 в 20:53

Не знаю. Попробуй отдебажить сайт через visual studio code и remote ssh и xdebug. Я сам не делал но это должно вытряхнуть все.

20 декабря 2020 в 21:15

Вот такая команда выполненная в консоли на том хостинге что-то скачивает?
curl -o admin_toolbar_version.xml https://updates.drupal.org/release-history/admin_toolbar/current
Если да, что именно оказывается в файле admin_toolbar_version.xml?

21 декабря 2020 в 0:37
curl -o admin_toolbar_version.xml https://updates.drupal.org/release-history/admin_toolbar/current
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38037  100 38037    0     0  98286      0 --:--:-- --:--:-- --:--:-- 98541

В файле следующее:

<?xml version="1.0" encoding="utf-8"?>
<project xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Admin Toolbar</title>
<short_name>admin_toolbar</short_name>
<dc:creator>eme</dc:creator>
<type>project_module</type>
<supported_branches>8.x-2.</supported_branches>
<project_status>published</project_status>
<link>https://www.drupal.org/project/admin_toolbar</link>
<terms><term><name>Projects</name><value>Modules</value></term><term><name>Maintenance status</name><value>Actively maintained</value></term><term><name>Development status</name><value>Under active development</value></term><term><name>Module categories</name><value>Administration</value></term></terms>
<releases>
<release><name>admin_toolbar 8.x-2.4</name><version>8.x-2.4</version><tag>8.x-2.4</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.4</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>^8.8.0 || ^9.0</core_compatibility></release><release><name>admin_toolbar 8.x-2.3</name><version>8.x-2.3</version><tag>8.x-2.3</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.3</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>^8.8.0 || ^9.0</core_compatibility></release><release><name>admin_toolbar 8.x-2.2</name><version>8.x-2.2</version><tag>8.x-2.2</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.2</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>^8.8.0 || ^9.0</core_compatibility></release><release><name>admin_toolbar 8.x-2.1</name><version>8.x-2.1</version><tag>8.x-2.1</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.1</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>^8.7.7 || ^9.0</core_compatibility></release><release><name>admin_toolbar 8.x-2.0</name><version>8.x-2.0</version><tag>8.x-2.0</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.0</release_l... covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-2.0-beta2</name><version>8.x-2.0-beta2</version><tag>8.x-2.0-beta2</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.0-beta2</rel... type</name><value>Bug fixes</value></term></terms><security>Beta releases are not covered by Drupal security advisories.</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-2.0-beta1</name><version>8.x-2.0-beta1</version><tag>8.x-2.0-beta1</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.0-beta1</rel... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security>Beta releases are not covered by Drupal security advisories.</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.27</name><version>8.x-1.27</version><tag>8.x-1.27</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.27</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.26</name><version>8.x-1.26</version><tag>8.x-1.26</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.26</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.25</name><version>8.x-1.25</version><tag>8.x-1.25</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.25</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.24</name><version>8.x-1.24</version><tag>8.x-1.24</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.24</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.23</name><version>8.x-1.23</version><tag>8.x-1.23</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.23</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.22</name><version>8.x-1.22</version><tag>8.x-1.22</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.22</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.21</name><version>8.x-1.21</version><tag>8.x-1.21</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.21</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.20</name><version>8.x-1.20</version><tag>8.x-1.20</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.20</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.19</name><version>8.x-1.19</version><tag>8.x-1.19</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.19</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.18</name><version>8.x-1.18</version><tag>8.x-1.18</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.18</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.17</name><version>8.x-1.17</version><tag>8.x-1.17</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.17</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.16</name><version>8.x-1.16</version><tag>8.x-1.16</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.16</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.15</name><version>8.x-1.15</version><tag>8.x-1.15</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.15</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.14</name><version>8.x-1.14</version><tag>8.x-1.14</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.14</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.13</name><version>8.x-1.13</version><tag>8.x-1.13</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.13</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.12</name><version>8.x-1.12</version><tag>8.x-1.12</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.12</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.11</name><version>8.x-1.11</version><tag>8.x-1.11</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.11</release_... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.10</name><version>8.x-1.10</version><tag>8.x-1.10</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.10</release_... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.9</name><version>8.x-1.9</version><tag>8.x-1.9</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.9</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.8</name><version>8.x-1.8</version><tag>8.x-1.8</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.8</release_l... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.7</name><version>8.x-1.7</version><tag>8.x-1.7</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.7</release_l... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.6</name><version>8.x-1.6</version><tag>8.x-1.6</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.6</release_l... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.5</name><version>8.x-1.5</version><tag>8.x-1.5</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.5</release_l... type</name><value>Bug fixes</value></term><term><name>Release type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.4</name><version>8.x-1.4</version><tag>8.x-1.4</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.4</release_l... type</name><value>Bug fixes</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.3</name><version>8.x-1.3</version><tag>8.x-1.3</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.3</release_l... type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.2</name><version>8.x-1.2</version><tag>8.x-1.2</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.2</release_l... type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.1</name><version>8.x-1.1</version><tag>8.x-1.1</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.1</release_l... type</name><value>New features</value></term></terms><security covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-1.0</name><version>8.x-1.0</version><tag>8.x-1.0</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.0</release_l... covered="1">Covered by Drupal's security advisory policy</security><core_compatibility>8.x</core_compatibility></release><release><name>admin_toolbar 8.x-2.x-dev</name><version>8.x-2.x-dev</version><tag>8.x-2.x</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-2.x-dev</relea... type</name><value>New features</value></term></terms><security>Dev releases are not covered by Drupal security advisories.</security><core_compatibility>^8.8.0 || ^9.0</core_compatibility></release><release><name>admin_toolbar 8.x-1.x-dev</name><version>8.x-1.x-dev</version><tag>8.x-1.x</tag><status>published</status><release_link>https://www.drupal.org/project/admin_toolbar/releases/8.x-1.x-dev</relea... type</name><value>New features</value></term></terms><security>Dev releases are not covered by Drupal security advisories.</security><core_compatibility>8.x</core_compatibility></release></releases>
</project>  
22 декабря 2020 в 9:01