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. Nextcloud Upgrade "could not resolve OCP\ILogger! 5.0.4 > 5.1.2"

Nextcloud Upgrade "could not resolve OCP\ILogger! 5.0.4 > 5.1.2"

Scheduled Pinned Locked Moved Nextcloud
9 Posts 3 Posters 969 Views 3 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.
    • S Offline
      S Offline
      savity
      wrote on last edited by
      #1

      Hi Everyone,

      Environment: v8.2.4 (Ubuntu 20.04.5 LTS)

      While upgrading Nextcloud from package version 5.0.4 to 5.1.2, the app got stuck and cannot be recovered. So, I am reverting to my backup. Any ideas on how to fix this? The issue accures after the Update to the latest version

      Mar 14 06:25:03 ==> Disabling LDAP
      Mar 14 06:25:04 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:04 No such app enabled: user_ldap
      Mar 14 06:25:05 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:06 Done.
      Mar 14 06:25:06 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:07 Done.
      Mar 14 06:25:07 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:08 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:08 ==> Changing ownership
      Mar 14 06:25:08 ==> Installing and enabling spreed, if needed
      Mar 14 06:25:08 Maintenance mode already disabled
      Mar 14 06:25:08 chown: warning: '.' should be ':': 'www-data.www-data'
      Mar 14 06:25:09 Failed to construct console command 'OCA\DocumentServer\Command\FlushChanges': Could not resolve OCP\ILogger! Class can not be instantiated
      Mar 14 06:25:09 spreed already installed

      1 Reply Last reply
      2
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #2

        I had something similar. Mine was resolved by using the File Manger to edit /app/data/config/config.php and changing 'maintenance' => true, to 'maintenance' => false, and then restarting the app again.

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • S Offline
          S Offline
          savity
          wrote on last edited by
          #3

          Ok well now i went Back to 5.0.4 disabled and deleted every "APP" that i had in Nextcloud those who i did not need anymore. And now it worked the maintenance mode i tried but did not work

          jdaviescoatesJ 1 Reply Last reply
          2
          • S savity

            Ok well now i went Back to 5.0.4 disabled and deleted every "APP" that i had in Nextcloud those who i did not need anymore. And now it worked the maintenance mode i tried but did not work

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #4

            @savity glad you got it sorted. Always best to keep Nextcloud apps to a minimum and uninstall any not being used.

            I use Cloudron with Gandi & Hetzner

            S 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @savity glad you got it sorted. Always best to keep Nextcloud apps to a minimum and uninstall any not being used.

              S Offline
              S Offline
              savity
              wrote on last edited by
              #5

              @jdaviescoates yeah well it is stated here 🙂
              https://docs.cloudron.io/apps/nextcloud/ -> Plugin warning

              1 Reply Last reply
              1
              • jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #6

                Indeed is it 🙂

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • J joseph moved this topic from Support on
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by
                  #7

                  @jdaviescoates @savity the error comes from documentserver (onlyoffice app).

                  https://github.com/nextcloud/documentserver_community/issues/345
                  https://github.com/nextcloud/documentserver_community/issues/336

                  Looks like it is still not fixed in nextcloud 31 .

                  S 1 Reply Last reply
                  2
                  • J joseph

                    @jdaviescoates @savity the error comes from documentserver (onlyoffice app).

                    https://github.com/nextcloud/documentserver_community/issues/345
                    https://github.com/nextcloud/documentserver_community/issues/336

                    Looks like it is still not fixed in nextcloud 31 .

                    S Offline
                    S Offline
                    savity
                    wrote on last edited by savity
                    #8

                    @joseph Yes Onlyoffice was one of the "Apps" , thanks for the info 👍
                    Sorry i tought it is Onlyoffice but actually it is the documentserver_community witch is the same so...

                    sudo -u www-data php occ app:disable documentserver_community

                    1 Reply Last reply
                    1
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #9

                      FWIW I'm using this Featured OnlyOffice app to connect to the Cloudron OnlyOffice app.

                      https://apps.nextcloud.com/apps/onlyoffice
                      https://github.com/ONLYOFFICE/onlyoffice-nextcloud

                      I'm not sure what the purpose of the document server app is but it has very low ratings so I'm not surprised it's caused issues:

                      https://apps.nextcloud.com/apps/documentserver_community
                      https://github.com/nextcloud/documentserver_community

                      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