Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeps logging "Could not collect garbage: " every ~30min #2105

Open
kgraefe opened this issue Dec 11, 2023 · 2 comments
Open

Keeps logging "Could not collect garbage: " every ~30min #2105

kgraefe opened this issue Dec 11, 2023 · 2 comments
Labels
Projects

Comments

@kgraefe
Copy link

kgraefe commented Dec 11, 2023

Describe the bug
The extensions keeps spamming the nextcloud log with Could not collect garbage: with no further details (see screenshot)

one of them exported in raw format (does not seem helpful to me, though):

{
  "reqId": "7yetAjbL5foV4tJ9Jbrl",
  "level": 3,
  "time": "2023-12-11T09:10:07+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "bookmarks",
  "method": "",
  "url": "--",
  "message": "Could not collect garbage: ",
  "userAgent": "--",
  "version": "27.1.4.1",
  "data": {
    "app": "bookmarks"
  },
  "id": "6576d26786846"
}

To Reproduce
I don't know, sorry.

Expected behavior
The error message should either describe what's wrong or not appear.

Screenshots

grafik

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Version: 118.0.2

Server (please complete the following information):

❯ ./occ app:list
Enabled:
 - activity: 2.19.0
 - bookmarks: 13.1.1
 - calendar: 4.6.0
 - cloud_federation_api: 1.10.0
 - contacts: 5.4.2
 - dav: 1.27.0
 - federatedfilesharing: 1.17.0
 - federation: 1.17.0
 - files: 1.22.0
 - files_reminders: 1.0.0
 - files_rightclick: 1.6.0
 - files_sharing: 1.19.0
 - logreader: 2.12.0
 - lookup_server_connector: 1.15.0
 - nextcloud_announcements: 1.16.0
 - notifications: 2.15.0
 - oauth2: 1.15.1
 - onlyoffice: 8.2.4
 - password_policy: 1.17.0
 - privacy: 1.11.0
 - provisioning_api: 1.17.0
 - recommendations: 1.6.0
 - related_resources: 1.2.0
 - serverinfo: 1.17.0
 - settings: 1.9.0
 - sharebymail: 1.17.0
 - support: 1.10.0
 - text: 3.8.0
 - theming: 2.2.0
 - twofactor_backupcodes: 1.16.0
 - twofactor_totp: 9.0.0
 - updatenotification: 1.17.0
 - viewer: 2.1.0
 - workflowengine: 2.9.0
Disabled:
 - admin_audit: 1.17.0
 - bruteforcesettings: 2.7.0
 - circles: 27.0.1 (installed 25.0.0)
 - comments: 1.17.0 (installed 1.15.0)
 - contactsinteraction: 1.8.0 (installed 1.6.0)
 - dashboard: 7.7.0 (installed 7.0.0)
 - encryption: 2.15.0
 - files_external: 1.19.0
 - files_pdfviewer: 2.8.0 (installed 2.6.0)
 - files_trashbin: 1.17.0 (installed 1.15.0)
 - files_versions: 1.20.0 (installed 1.18.0)
 - firstrunwizard: 2.16.0 (installed 2.14.0)
 - photos: 2.3.0 (installed 1.0.0)
 - survey_client: 1.15.0 (installed 1.13.0)
 - suspicious_login: 5.0.0
 - systemtags: 1.17.0 (installed 1.15.0)
 - user_ldap: 1.17.0
 - user_status: 1.7.0 (installed 1.5.0)
 - weather_status: 1.7.0 (installed 1.5.0)
  • Nextcloud configuration:
❯./occ config:list system
{
   "system": {
       "htaccess.RewriteBase": "\/",
       "memcache.local": "\\OC\\Memcache\\APCu",
       "apps_paths": [
           {
               "path": "\/var\/www\/html\/apps",
               "url": "\/apps",
               "writable": false
           },
           {
               "path": "\/var\/www\/html\/custom_apps",
               "url": "\/custom_apps",
               "writable": true
           }
       ],
       "instanceid": "***REMOVED SENSITIVE VALUE***",
       "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
       "passwordsalt": "***REMOVED SENSITIVE VALUE***",
       "secret": "***REMOVED SENSITIVE VALUE***",
       "trusted_domains": [
           "cloud.paktolos.net",
           "nextcloud"
       ],
       "datadirectory": "***REMOVED SENSITIVE VALUE***",
       "dbtype": "mysql",
       "version": "27.1.4.1",
       "overwrite.cli.url": "https:\/\/cloud.paktolos.net",
       "dbname": "***REMOVED SENSITIVE VALUE***",
       "dbhost": "***REMOVED SENSITIVE VALUE***",
       "dbport": "",
       "dbtableprefix": "oc_",
       "mysql.utf8mb4": true,
       "dbuser": "***REMOVED SENSITIVE VALUE***",
       "dbpassword": "***REMOVED SENSITIVE VALUE***",
       "overwritehost": "cloud.paktolos.net",
       "overwriteprotocol": "https",
       "installed": true,
       "default_phone_region": "DE",
       "loglevel": 2,
       "maintenance": false
   }
}
  • Nextcloud external user backend: none
@kgraefe kgraefe added the bug label Dec 11, 2023
@github-actions github-actions bot added this to Backlog in Bookmarks Dec 11, 2023
Copy link

Hello 👋

Thank you for taking the time to open this issue with the bookmarks app. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and have been maintaining this software the last few years. I currently work for Nextcloud but maintain this app
in my free time, because it is not an official Nextcloud product. My day job at Nextcloud is pretty awesome but sadly leaves me with
less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue
Cheers 💙

@marcelklehr
Copy link
Member

Mh, it seems this is caused by missing permissions to access the data directory

@marcelklehr marcelklehr moved this from Backlog to Triaging in Bookmarks Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Triaging
Bookmarks
Triaging
Development

No branches or pull requests

2 participants