Lesezeichen/Bookmarks-App - umbenannte Ordner werden bei anderen Benutzern mit ursprünglichem Namen angezeigt und andere Unschönheiten

Hallo, ich habe mich mal an der Lesezeichen-App versucht. Da manche Lesezeichen für andere Benutzer interessant sind, habe ich einzelne Lesezeichen-Ordner mit denen oder mit einer Benutzergruppe geteilt. Das Teilen erscheint mir aber einigermaßen instabil:

  1. egal, ob ich Ordner mit einzelnen Benutzern oder einer Gruppe teile: scheinbar ist es Glückssache, ob anderen Benutzern tatsächlich alle Lesezeichen im Ordner angezeigt werden. Das Berechtigungskonzept versteh ich nicht…

  2. manche Unterordner geteilter Ordner werden anderen Benutzern zusätzlich(!) auch auf der obersten Ebene (also direkt unter Lesezeichen) angezeigt. Ein Muster, wann und warum das der Fall ist, erkenne ich nicht.

  3. und ganz schlimm :slight_smile: – wenn ich einen geteilten Ordner nachträglich umbenenne, wird der anderen Benutzern mit ursprünglichem Namen angezeigt, das könnte zu einiger Verwirrung führen; aber eine Linkliste ist halt nicht wirklich eine statische Sache, oder? Da muss man halt mal umbenennen und umsortieren…

Kennt sich jemand damit aus? Internet-Recherchen führen mich nur zu Fragen/Antworten zur Dateien-App und dass man halt Gruppenordner verwenden soll. Das mache ich auch, aber hier geht’s um die Lesezeichen-App.

Eine allgemeine Info, dass die Lesezeichen-App noch nicht so wirklich ausgereift ist und es nicht an mir liegt :wink: , ist auch schon hilfreich, dann spare ich mir wenigstens eine Menge Arbeit, wenn ich hier alle meine Links eintrage und hinterher auf die Nase falle.

Vielen Dank,

Sue

Systeminfos, soweit für mich ersichtlich:

  • Bei welchen Anbieter? SpaceNet
  • Was für ein Server? —
  • Auf welcher Hardware? —
  • Betriebssystem sowie Version ALLER beteiligten Systeme Linux 4.18.0-477.27.2.el8_8.x86_64 x86_64
  • Nextcloud Version: 32.0.6
  • PHP Version: ???
  • Welche Datenbank? MySql 8.0.32
  • Apache version, usw.
  • Läuft NC in Docker,Snap oder VM
  • Netzwerk Aufgliederung: zb. Router>Switch>PI>
  • Wurden vor kurzen Server Updates gemacht? Wenn ja von was?
  • Habt ihr die Logs angesehen von Nextcloud und von System?
  • Bei was für einer Aktion ist der Fehler aufgetreten?
ping

@marcelklehr kannst du hier helfen?

Hallo,

das hört sich nicht gut an. ich werde versuchen, das am Wochenende nachzustellen und melde mich dann. Danke für das Feedback schonmal!

1 Like

@marcelklehr herzlichen Dank - und frag mich gern was, wenn detaillierte Infos benötigt werden. Auch am Wochenende :wink:

@marcelklehr

bestätige @S_Schnitzer :check_mark:
und öffentlich (public) freigegebene bookmark ordner können nicht in Android browsern (3 Geräte getestet) geöffnet werden:

short log:

    "reqId": "9uCZ9rjeGm5GRHfxxxx..",
    "level": 3,
    "time": "2026-03-30T12:43:41+00:00",
    "remoteAddr": "84.60.74.xxx",
    "user": "--",
    "app": "index",
    "method": "GET",
    "url": "/index.php/apps/bookmarks/public/FAfuxxxx,
    "scriptName": "/index.php",
    "message": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given",
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0",
    "version": "32.0.6.1",
    "exception": {
        "Exception": "TypeError",
        "Message": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given",
        "Code": 0,

extended log:

{
    "reqId": "9uCZ5rjeGm4GRHfxxxx...",
    "level": 3,
    "time": "2026-03-30T12:43:41+00:00",
    "remoteAddr": "84.60.74.xxx",
    "user": "--",
    "app": "index",
    "method": "GET",
    "url": "/index.php/apps/bookmarks/public/FAfu67T",
    "scriptName": "/index.php",
    "message": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given",
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0",
    "version": "32.0.6.1",
    "exception": {
        "Exception": "TypeError",
        "Message": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given",
        "Code": 0,
        "Trace": [
            {
                "function": "__construct",
                "class": "OCA\\Bookmarks\\Controller\\TagsController",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 72,
                "function": "newInstanceArgs",
                "class": "ReflectionClass",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 122,
                "function": "buildClass",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 140,
                "function": "resolve",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 352,
                "function": "query",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 324,
                "function": "queryNoFallback",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 90,
                "function": "query",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "function": "OC\\AppFramework\\Utility\\{closure}",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 77,
                "function": "array_map"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 72,
                "function": "buildClassConstructorParameters",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 122,
                "function": "buildClass",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 140,
                "function": "resolve",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 352,
                "function": "query",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 324,
                "function": "queryNoFallback",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 90,
                "function": "query",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "function": "OC\\AppFramework\\Utility\\{closure}",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 77,
                "function": "array_map"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 72,
                "function": "buildClassConstructorParameters",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 122,
                "function": "buildClass",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 140,
                "function": "resolve",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 352,
                "function": "query",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 324,
                "function": "queryNoFallback",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/AppFramework/App.php",
                "line": 133,
                "function": "query",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/private/Route/Router.php",
                "line": 321,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/lib/base.php",
                "line": 1091,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->"
            },
            {
                "file": "/snap/nextcloud/52696/htdocs/index.php",
                "line": 25,
                "function": "handleRequest",
                "class": "OC",
                "type": "::"
            }
        ],
        "File": "/var/snap/nextcloud/52696/nextcloud/extra-apps/bookmarks/lib/Controller/TagsController.php",
        "Line": 21,
        "message": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given",
        "exception": {},
        "CustomMessage": "OCA\\Bookmarks\\Controller\\TagsController::__construct(): Argument #3 ($userId) must be of type string, null given"
    }
}
1 Like