Nach Neuinstall Fehlermeldung im Protokoll

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.0 HUB 10
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12
  • Web server and version (e.g, Apache 2.4.25):
    • Apache2
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Ja
  • When did this problem seem to first start?
    • nach dem 1. Start
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • replace me
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Nein

Summary of the issue you are facing:

Steps to replicate it (hint: details matter!):

  1. Nach dem ersten Start von Nextcloud erscheint die Warnung!
    " 1 Fehler in den Protokollen seit 25. Februar 2025, 18:24:19"

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

[PHP] Fehler: fopen(/home/Next-Data/nc_data//nextcloud.log): Failed to open stream: No such file or directory at /var/www/html/nextcloud/apps/logreader/lib/Log/LogIteratorFactory.php#37
	GET /settings/ajax/checksetup
	von 2001:9e8:1580:2a00:88fc:d995:71d4:d8ca von hg um 03.03.2025, 18:06:23

es sind noch keine weiteren Daten installiert, weis nicht ob die Warnung wichtig ist oder ignoriert werden kann.

Bei der Datei /pfad/zur/nextcloud/data/nextcloud.log handelt es sich um die Logdatei. Existiert diese? Muss sie ja eigentlich, da du sonst den Fehler nicht lesen könntest. :wink: Vielleicht wurde sie danach angelegt und der Fehler taucht nie wieder auf. :wink:

Es ist im Übrigen normal, dass es ziemlich viele Meldungen und Fehler gibt. Also bitte nicht wundern. Ich habe eine Nextcloud, wo die Logdatei ĂŒber 100 MB groß war. Irgendwann rotiert sie und du kannst die alte Version löschen. Du kannst zudem den Loglevel Ă€ndern.

die logdatei ist da, ich denke der fehler verweist auf das

“Failed to open stream: No such file or directory at /var/www/html/nextcloud/apps/logreader/lib/Log/LogIteratorFactory.php#37”

keine ahnung was das ist?
wenn ich die log-datei lösche wird sie neu erstellt und der fehlerhinweis ist wieder drin.

Nein. Es ist ein Problem mit der Logdatei. Wahrscheinlich erscheint der Fehler nur einmal.

Schau dir gerne mal den Inhalt von /var/www/html/nextcloud/apps/logreader/lib/Log/LogIteratorFactory.php an. Dort kommt es in Zeile 37 zu einen Fehler:

Inhalt der Zeile 37:
$handle = fopen($log->getLogFilePath(), 'rb');

Du kannst die Logdatei nextcloud.log mal erneut löschen, manuell (also von Hand) leer anlegen und dann Nextcloud nutzen. Dann wird der Fehler wahrscheinlich nicht auftauchen.

danke, du hast recht. ich habe den eintrag gelöscht und der Fehler ist weg. :grinning: :+1: