Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Can't write notifications.log

Can't write notifications.log

Scheduled Pinned Locked Moved Mattermost
4 Posts 2 Posters 520 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #1

      Oct 22 06:48:11 2020-10-22 06:48:11.726801842 +0000 UTC m=+3012.032390979 write error: can't open new logfile: open /app/code/logs/notifications.log: read-only file system

      Conscious tech

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @robi Good catch. I couldn't figure out where this is coming from in the admin UI. But looks like you can set this in the /app/data/config.json:

            "NotificationLogSettings": {
                "EnableConsole": true,
                "ConsoleLevel": "DEBUG",
                "ConsoleJson": true,
                "EnableFile": true,
                "FileLevel": "INFO",
                "FileJson": true,
                "FileLocation": "",
                "AdvancedLoggingConfig": ""
            },
        

        I guess set EnableFile to false. It's unclear if FileLocation is a file or a directory since I cannot find any docs on this.

        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          will you be symlinking the logs dir or just turning it off in the next update?

          Conscious tech

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            For new installations, I already fixed it - https://forum.cloudron.io/topic/2441/mattermost-package-updates/14 to disable EnableFile to false by default. For existing ones, users have to edit the file manually.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search