ioBroker / ioBroker.admin

user interface for configuration and administration
https://iobroker.net
MIT License
273 stars 78 forks source link

[bug]: error when opening files #2709

Closed averlon closed 1 month ago

averlon commented 1 month ago

No existing issues.

Describe the bug

I have created a directory and uploaded files into this directory.

Now, when opening the files view this error occurs.

To Reproduce

  1. open files view
  2. create new directory under zigbee.admin
  3. upload image files to new directory
  4. logout
  5. login again
  6. open files view in Thumbnail-view (list view works)
  7. error - reproducable

Expected behavior

show files view

Screenshots & Logfiles

`iobroker.admin@7.0.25 bootstrap.tsx:22:8 [2024-09-28T08:21:04.860Z] Try to connect console.ts:40:19 Stored version: , new version: 7.1.5 console.ts:40:19 Connected: true console.ts:40:19 Translate: Link console.ts:40:19 Translate: time console.ts:40:19 Translate: timeOffset console.ts:40:19 Translate: _nodeCurrent console.ts:40:19 Translate: _nodeNewest console.ts:40:19 Translate: _nodeNewestNext console.ts:40:19 Translate: _npmCurrent console.ts:40:19 Translate: _npmNewest console.ts:40:19 Translate: _npmNewestNext console.ts:40:19 Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. React 8 S scheduler.production.min.js:13 T scheduler.production.min.js:14 console.ts:40:19 He console.ts:40 React 9 S scheduler.production.min.js:13 T scheduler.production.min.js:14

​`

Adapter version

7.1.5

js-controller version

??

Node version

18.19.1

Operating system

Ubuntu 24.04.1 LTS

Additional context

Adapter zigbee

mcm1957 commented 1 month ago
averlon commented 1 month ago

additional information from the error screen:

ye@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:15172 Ko@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:86740 ks@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109541 bs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109422 vs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109291 gs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109152 as@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:105932 ls@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:104483 S@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:131249 T@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:131782 EventHandlerNonNull*9336@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:131953 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 84527@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:133714 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 62280@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:116 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 25096@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:129859 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 t.I/</</<@http://s42240io:8081/static/js/main.1a310c87.js:1:7644 t.f.consumes/</a/t.m[e]@http://s42240io:8081/static/js/main.1a310c87.js:1:12703 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 67985@http://s42240io:8081/static/js/5056.9247882b.chunk.js:2:119037 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 44321@http://s42240io:8081/static/js/4684.31dece60.chunk.js:1:10775 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 promise callback*22210@http://s42240io:8081/static/js/main.1a310c87.js:1:195 t@http://s42240io:8081/static/js/main.1a310c87.js:1:331 @http://s42240io:8081/static/js/main.1a310c87.js:1:14807 @http://s42240io:8081/static/js/main.1a310c87.js:1:14816

mcm1957 commented 1 month ago

Which admin version did you use to log the errors of your last post ?

averlon commented 1 month ago

Which admin version did you use to log the errors of your last post ?

7.1.5

GermanBluefox commented 1 month ago

Please test the 7.2.0

averlon commented 1 month ago

please give me some assistance how I can install from git!

`$ iobroker url https://github.com/ioBroker/ioBroker.admin/archive/refs/tags/v7.2.0.tar.gz --host s42240io --debug

install ioBroker/ioBroker.admin#refs/tags/v7.2.0

Installing ioBroker/ioBroker.admin#refs/tags/v7.2.0... (System call)

npm ERR! code ENOENT

npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2024-10-07T06_18_11_196Z-debug-0.log

host.s42240io Cannot install ioBroker/ioBroker.admin#refs/tags/v7.2.0: 254

ERROR: Process exited with code 25`

mcm1957 commented 1 month ago

Why do you want to install from git ??? Installing from github is strongly discouraged.

please install from repository or eventually from npm.

averlon commented 1 month ago

normally I only install updates when offered in the admin panel.

But there is no update for the admin-adapter offered.

You told me to install the 7.2.0 where currently already 7.2.2 is the latest release.

I would like to help but I would need some advice how to install specifically 7.2.0 via npm. Thanks in advance.

mcm1957 commented 1 month ago

'iob url iobroker.admin@7.2.2'

installs 7.2.2 from npm

But please see Issues logged against 7.2.1 and 7.2.2 before installing those versions

averlon commented 1 month ago

I installed 7.2.0 first:

`Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

ye@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:15172 Ko@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:86740 ks@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109541 bs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109422 vs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109291 gs@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:109152 as@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:105932 ls@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:104483 S@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:131249 T@http://s42240io:8081/static/js/5096.3a6e8bdb.chunk.js:2:131782`

Back to 7.1.5!

GermanBluefox commented 1 month ago

Please test 7.2.6

averlon commented 1 month ago

I installed 7.2.6 I stopped IOB did some system updates and restarted the whole system.

Now it works to show the files in Thumbnail-View.

Thanks for help!

vowill commented 1 week ago

Same here with admin 7.15 - it works fine with with 7.2.6