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. Nextcloud
  3. Does /settings/admin/logging work for anyone else?

Does /settings/admin/logging work for anyone else?

Scheduled Pinned Locked Moved Nextcloud
7 Posts 2 Posters 305 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.
    • jdaviescoatesJ Online
      jdaviescoatesJ Online
      jdaviescoates
      wrote on last edited by
      #1

      For me it just spins for ever and never loads anything

      I use Cloudron with Gandi & Hetzner

      girishG 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        For me it just spins for ever and never loads anything

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @jdaviescoates yes, this has always been the case. nextcloud's log view gets confused if you log to stdout/stderr . You have to use the Cloudron log viewer instead.

        jdaviescoatesJ 1 Reply Last reply
        1
        • girishG girish

          @jdaviescoates yes, this has always been the case. nextcloud's log view gets confused if you log to stdout/stderr . You have to use the Cloudron log viewer instead.

          jdaviescoatesJ Online
          jdaviescoatesJ Online
          jdaviescoates
          wrote on last edited by
          #3

          @girish said in Does /settings/admin/logging work for anyone else?:

          if you log to stdout/stderr

          That means nothing to me. But presumably that's what Nextcloud is trying to do when I visit /settings/admin/logging?

          I use Cloudron with Gandi & Hetzner

          girishG 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @girish said in Does /settings/admin/logging work for anyone else?:

            if you log to stdout/stderr

            That means nothing to me. But presumably that's what Nextcloud is trying to do when I visit /settings/admin/logging?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @jdaviescoates we almost always configure apps to send logs to (so called) stdout , as opposed to writing logs to some file . The idea is that apps should not write and manage log files. This system also allows cloudron to implement a generic log viewer which is just a stream of stuff output by the app.

            Unfortunately, nextcloud does not work well when it's configured to send logs to stdout instead of a file. The nextcloud logging UI is designed to work when it logs to a file.

            See also https://12factor.net/logs

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

              https://github.com/nextcloud/logreader/issues/52#issuecomment-1535436938 is the upstream report. Basically, they won't fix it.

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

                According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message . Unfortunately, we hack the stuff to use logfile itself to log to stderr (sorry, technical mumbo jumob here...). Oh well.

                jdaviescoatesJ 1 Reply Last reply
                1
                • girishG girish

                  According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message . Unfortunately, we hack the stuff to use logfile itself to log to stderr (sorry, technical mumbo jumob here...). Oh well.

                  jdaviescoatesJ Online
                  jdaviescoatesJ Online
                  jdaviescoates
                  wrote on last edited by
                  #7

                  @girish said in Does /settings/admin/logging work for anyone else?:

                  According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message

                  Well, I don't. 🙂

                  Oh well.

                  I use Cloudron with Gandi & Hetzner

                  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