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. Best practices or guide for Nextcloud 5.0.4?

Best practices or guide for Nextcloud 5.0.4?

Scheduled Pinned Locked Moved Nextcloud
11 Posts 5 Posters 674 Views 5 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.
  • N ntnsndr

    Nextcloud is an absolutely mission-critical tool for my lab, and I'm seeing that the new update is a serious one:

    165ae1a4-7197-43b2-90e0-f09a5d57815a-image.png

    I've noticed a number of discussions in this forum that suggest people are having trouble with this update. I'm also not sure what "manual update" consists of, and what kinds of problems I might currently expect.

    Is there are current guide to this migration I might refer to? Based on what I'm seeing so far, I'm not sure that I am ready to safely proceed.

    Thanks!

    andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    wrote on last edited by
    #2

    @ntnsndr I did two tests first. One with a small instance which wasn't mission critical and could quickly roll back, then I cloned the mission critical instance and did a update there and tested with impersonating various users and then I upgraded the live instance during off hours and tested again.

    1 Reply Last reply
    1
    • N ntnsndr

      Nextcloud is an absolutely mission-critical tool for my lab, and I'm seeing that the new update is a serious one:

      165ae1a4-7197-43b2-90e0-f09a5d57815a-image.png

      I've noticed a number of discussions in this forum that suggest people are having trouble with this update. I'm also not sure what "manual update" consists of, and what kinds of problems I might currently expect.

      Is there are current guide to this migration I might refer to? Based on what I'm seeing so far, I'm not sure that I am ready to safely proceed.

      Thanks!

      avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by avatar1024
      #3

      @ntnsndr said in Best practices or guide for Nextcloud 5.0.4?:

      I'm also not sure what "manual update" consists of

      Manual update just means you have to manually click the update button, i.e. it's not going to update automatically accordingly to your update schedule like it normally does.

      The main quirks with the transition are:

      • you have to tell your users that from now one they have to use the button "Login with Cloudron" to log into Nextcloud, instead of entering their username and password as usual.
      • if some have the desktop clients installed they'll get logged out and have to re login.
      • if some sync their Nextcloud calendars via CalDAV on their mobile or desktop then they'll have to follow this guide: https://forum.cloudron.io/topic/10067/guide-external-nextcloud-with-openid-social-login-calendar-caldav-synchronization. (I'd say this is quite a drawback of using OIDC with Nextcloud in my opinion).
      1 Reply Last reply
      1
      • N Offline
        N Offline
        ntnsndr
        wrote on last edited by
        #4

        Thanks all! It seems to have worked smoothly.

        On this and other apps where Cloudron login is required, is there a way to remove the app's native login fields to avoid confusing users?

        andreasduerenA 1 Reply Last reply
        2
        • N ntnsndr

          Thanks all! It seems to have worked smoothly.

          On this and other apps where Cloudron login is required, is there a way to remove the app's native login fields to avoid confusing users?

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          wrote on last edited by
          #5

          @ntnsndr You can add 'hide_login_form' => true, to the config file

          madrushM 1 Reply Last reply
          5
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #6

            Haven't tested but just guessing : hide_login_form might prevent admin login . Of course, you can always enable it when you need to admin login.

            andreasduerenA 1 Reply Last reply
            2
            • J joseph

              Haven't tested but just guessing : hide_login_form might prevent admin login . Of course, you can always enable it when you need to admin login.

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote on last edited by
              #7

              @Joseph It does if you didn't make an OICD user admin first.

              1 Reply Last reply
              1
              • N Offline
                N Offline
                ntnsndr
                wrote on last edited by
                #8

                On that point, I am seeing an issue: Despite being an admin account, after the update, under the Accounts preferences, for most accounts on NextCloud I am getting this message: "You do not have permissions to see the details of this account." (For some reason, the admin account and one additional user account, the most recently created one, are editable.) In particular, this means I am unable to add or remove accounts from groups, which is a major problem.

                Does anyone have ideas about what could be causing this?

                andreasduerenA 1 Reply Last reply
                0
                • N ntnsndr

                  On that point, I am seeing an issue: Despite being an admin account, after the update, under the Accounts preferences, for most accounts on NextCloud I am getting this message: "You do not have permissions to see the details of this account." (For some reason, the admin account and one additional user account, the most recently created one, are editable.) In particular, this means I am unable to add or remove accounts from groups, which is a major problem.

                  Does anyone have ideas about what could be causing this?

                  andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote on last edited by
                  #9

                  @ntnsndr said in Best practices or guide for Nextcloud 5.0.4?:

                  On that point, I am seeing an issue: Despite being an admin account, after the update, under the Accounts preferences, for most accounts on NextCloud I am getting this message: "You do not have permissions to see the details of this account." (For some reason, the admin account and one additional user account, the most recently created one, are editable.) In particular, this means I am unable to add or remove accounts from groups, which is a major problem.

                  Does anyone have ideas about what could be causing this?

                  Yes I had the same issue. The problem is, that the other user in question needs to log in once. Otherwise they are all in some weird intermediate state. I used impersonation to do that.

                  1 Reply Last reply
                  2
                  • J joseph referenced this topic on
                  • andreasduerenA andreasdueren

                    @ntnsndr You can add 'hide_login_form' => true, to the config file

                    madrushM Offline
                    madrushM Offline
                    madrush
                    wrote on last edited by
                    #10

                    @andreasdueren So, this works, but now results in a confusing error message on the login page:

                    The Nextcloud login form is disabled. Use another login option if available or contact your administration.

                    I have been looking for a way to hide that message, but can't find.

                    Even better would be if the default /login page could be configured to redirect automatically to the Cloudron OIDC login. Would you know how to do this?

                    andreasduerenA 1 Reply Last reply
                    1
                    • madrushM madrush

                      @andreasdueren So, this works, but now results in a confusing error message on the login page:

                      The Nextcloud login form is disabled. Use another login option if available or contact your administration.

                      I have been looking for a way to hide that message, but can't find.

                      Even better would be if the default /login page could be configured to redirect automatically to the Cloudron OIDC login. Would you know how to do this?

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote on last edited by
                      #11

                      @madrush yes you can bypass the login form completely: https://forum.cloudron.io/post/105215

                      1 Reply Last reply
                      4
                      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