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

[Bug]: Error in iobroker log since V4.0.0: [removeOldCacheFiles] Error: Not exists

Open sammie76-2 opened this issue 10 months ago • 16 comments
trafficstars

I'm sure that

  • [X] This issue is still present in the current beta version of this adapter
  • [X] There is no other (open) issue with the same topic (use the search!)
  • [X] This issue is not described in the adapter documentation / FAQ (read the docs!)

Integration (ical, api, ...)

ical

The problem

The error message "[removeOldCacheFiles] Error: Not exists" appears every 30 minutes in the iobroker log.

iobroker.current.log (in debug mode!)

No response

Version of nodejs

20.18.1

Version of ioBroker js-controller

7.0.6

Version of adapter

4.0.0

sammie76-2 avatar Jan 06 '25 10:01 sammie76-2

Thanks for reporting a new issue @sammie76-2!

  1. Please ensure your topic is not covered in the documentation
  2. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue.
  3. Search for the issue topic in other/closed issues to avoid duplicates!
  4. Check the changelog if the issue has already been covered in a previous release

Otherwise this issue will be closed!

github-actions[bot] avatar Jan 06 '25 10:01 github-actions[bot]

Can you check if the object trashschedule.0 exists? Should be of type meta.

klein0r avatar Jan 06 '25 11:01 klein0r

Hab den Fehler auch: Screenshot_2025-01-06-13-39-19-370_com android chrome-edit

Brainbug01 avatar Jan 06 '25 12:01 Brainbug01

Related to https://github.com/ioBroker/ioBroker.js-controller/issues/2998

klein0r avatar Jan 06 '25 13:01 klein0r

Can you check if the object trashschedule.0 exists? Should be of type meta.

Yes, It exists.

image

sammie76-2 avatar Jan 06 '25 16:01 sammie76-2

Warnung auch bei mir.

trashschedule.0 2025-01-07 09:00:05.005 warn [removeOldCacheFiles] Error: Not exists

trashschedule.0 2025-01-07 08:57:06.457 warn [removeOldCacheFiles] Error: Not exists

trashschedule.0 2025-01-07 08:00:05.004 warn [removeOldCacheFiles] Error: Not exists

Screenshot (1096)

sigi2345 avatar Jan 07 '25 08:01 sigi2345

Habe das Problem ebenfalls. Kann es sein das es entstanden ist weil es hier Probleme gab das Cache Dateien nicht gelöscht wurden und darum etwas eingebaut wurde ?

https://github.com/klein0r/ioBroker.trashschedule/issues/301

romestylez avatar Jan 14 '25 08:01 romestylez

@romestylez Ja, aber die Erklärung findest Du in https://github.com/ioBroker/ioBroker.js-controller/issues/2998

klein0r avatar Jan 14 '25 09:01 klein0r

Der Incident wurde aber geschlossen. Was ist denn die Lösung für das Problem? Die geht mir aus dem Link bzw. aus dem Issue nicht ganz hervor.

sammie76-2 avatar Jan 14 '25 16:01 sammie76-2

@sammie76-2 Es gab eine Änderung am js-controller in eine Alpha Version der 7.0.7 und die muss jetzt dann released werden, sprich sobald es ein Update für den js-controller gab, sollte das Thema eigentlich erledigt sein. So verstehe ich es :)

seaspotter avatar Jan 15 '25 10:01 seaspotter

Der Incident wurde aber geschlossen.

Ja, weil das Problem gelöst wurde und in der nächsten Version enthalten ist.

klein0r avatar Jan 15 '25 11:01 klein0r

@Klaus-Lucas Warum wäre beim aktuellen Stand etwas anderes zu erwarten?!

klein0r avatar Feb 13 '25 14:02 klein0r

Gibts hier eine temporäre Lösung? Ich habe jede Minute den Log Eintrag...

Dickschieder avatar Apr 08 '25 07:04 Dickschieder

Hatte die Warning auch stündlich, nachdem ich vorgestern vom stable auf latest gegangen bin. Hängt vermutlich irgendwie mit der Update-Historie zusammen. Definitiv fehlte 'trashschedule.0' im Filesystem. Auf der Kommandozeile (Raspi) sudo -u iobroker mkdir /opt/iobroker/iobroker-data/files/trashschedule.0 schafft Ruhe

ente34 avatar Jul 25 '25 14:07 ente34

@ente34 Bitte nicht manuell in dem Dateisystem rumspielen. Da fehlen dann die Meta-Infos usw. Für Redis-User wäre das auch keine Lösung. Also bitte den Befehl nicht ausführen.

Mit js-controller 7.0.7 sollte die Meldung verschwunden sein.

klein0r avatar Jul 26 '25 10:07 klein0r

ok, ich habe noch 7.06 ...

ente34 avatar Jul 26 '25 16:07 ente34