ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

[bug]: update of admin v7.x to newer v7 doesn't show feedback/progress

Open Diginix opened this issue 1 year ago • 1 comments

No existing issues.

  • [X] There is no existing issue for my problem.

Describe the bug

an update of e.g. 7.0.2 to 7.0.6 or 7.0.6 to 7.0.7 over the admin ui doesn't show any progress or feedback as v6 did After click on the button the dialog disappears and even the auto reload of browser doesn't happen anymore.

To Reproduce

go to adapter menu click on available new admin version start the update

Expected behavior

An overlay that shows the update progress which ends hopefully successfully and does an browser reload to get the new admin ui.

Screenshots & Logfiles

not possible

Adapter version

7.0.6

js-controller version

6.0.5

Node version

20.15.0

Operating system

Ubuntu 24

Additional context

No response

Diginix avatar Jun 27 '24 07:06 Diginix

Similar behavior during update vom admin 7.0.6 to 7.0.7 I had only a short flashing update window and no update progress was shown. The update button was still there and I pressed it the second time

grafik

grafik

iob log

2024-06-27 21:13:54.683  - info: admin.0 (21207) starting. Version 7.0.6 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.5-alpha.0-20240616-34d893b36
2024-06-27 21:13:54.775  - info: admin.0 (21207) requesting all objects
2024-06-27 21:13:58.622  - info: admin.0 (21207) received all objects
2024-06-27 21:13:59.802  - info: admin.0 (21207) socket.io server listening on port 8081
2024-06-27 21:13:59.817  - info: admin.0 (21207) http server listening on port 8081
2024-06-27 21:13:59.823  - info: admin.0 (21207) Use link "http://127.0.0.1:8081" to configure.
2024-06-27 21:14:02.640  - info: admin.0 (21207) ==> Connected system.user.admin from ::ffff:192.168.178.128
2024-06-27 21:14:22.964  - info: host.ioBrokerTestsystem "system.adapter.admin.0" disabled
2024-06-27 21:14:22.969  - info: host.ioBrokerTestsystem stopInstance system.adapter.admin.0 (force=false, process=true)
2024-06-27 21:14:22.981  - info: admin.0 (21207) Got terminate signal TERMINATE_YOURSELF
2024-06-27 21:14:22.988  - info: admin.0 (21207) terminating http server on port 8081
2024-06-27 21:14:22.997  - info: admin.0 (21207) terminating
2024-06-27 21:14:23.002  - info: admin.0 (21207) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-06-27 21:14:23.125  - info: host.ioBrokerTestsystem stopInstance system.adapter.admin.0 send kill signal
2024-06-27 21:14:23.509  - info: admin.0 (21207) terminating
2024-06-27 21:14:23.756  - info: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-06-27 21:14:25.988  - info: host.ioBrokerTestsystem [WEBSERVER_UPGRADE] (admin) Server is running on http://localhost:8081
2024-06-27 21:15:11.315  - info: host.ioBrokerTestsystem [WEBSERVER_UPGRADE] (admin) Successfully upgraded admin to version 7.0.7
2024-06-27 21:15:11.722  - info: host.ioBrokerTestsystem [WEBSERVER_UPGRADE] (admin) Final information delivered
2024-06-27 21:15:11.793  - info: host.ioBrokerTestsystem "system.adapter.admin.0" enabled
2024-06-27 21:15:11.801  - info: host.ioBrokerTestsystem [WEBSERVER_UPGRADE] (admin) Successfully started adapter
2024-06-27 21:15:13.038  - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 21296
2024-06-27 21:15:19.776  - info: admin.0 (21296) starting. Version 7.0.7 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.5-alpha.0-20240616-34d893b36
2024-06-27 21:15:19.868  - info: admin.0 (21296) requesting all objects
2024-06-27 21:15:23.310  - info: admin.0 (21296) received all objects
2024-06-27 21:15:23.935  - info: admin.0 (21296) socket.io server listening on port 8081
2024-06-27 21:15:23.944  - info: admin.0 (21296) http server listening on port 8081
2024-06-27 21:15:23.947  - info: admin.0 (21296) Use link "http://127.0.0.1:8081" to configure.
2024-06-27 21:15:26.303  - info: admin.0 (21296) ==> Connected system.user.admin from ::ffff:192.168.178.128


After page reload admin 7.0.7 is installed.

Feuer-sturm avatar Jun 27 '24 19:06 Feuer-sturm

Admin update from 7.0.9 to 7.0.11 works as expected with showing the update process. @Diginix can you confirm this?

Feuer-sturm avatar Jul 03 '24 20:07 Feuer-sturm

Yes, works fine again for me as well.

Diginix avatar Jul 03 '24 20:07 Diginix