ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nextcloud Conflicts When Saving a File (Single User Scenario)

    IT Discussion
    nnot se nextcloud nextcloud 13
    5
    19
    2.0k
    Loading More Posts
    • 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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      The use of MariaDB might actually make this worse as that greatly increases the RAM and CPU requirements to run the system over SQLite.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        NextCloud 13 is quite a bit behind. We are on 15.0.2 now. Might be worth updating just to be sure that that does not address the issue on its own.

        S 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller
          last edited by

          This might sound silly, but check the time on your machine and on the NextCloud server. Are they off from each other? Maybe one or the other actually is recording the time out of sync?

          S 1 Reply Last reply Reply Quote 1
          • StrongBadS
            StrongBad @SemperOSS
            last edited by

            @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

            I am working on a very small software project and when I save a file (the only file in that directory), Nextcloud often seems to feel that the version stored on the server is newer than the version I just stored and makes the newest version a conflict file and reverts to the server version, which can be very damaging if I am not aware of it.

            What task are you using NextCloud for with development? You aren't trying to store code in it, are you? NextCloud would not be a good replacement to a git repository, for example.

            S 1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre
              last edited by

              As a matter of troubleshooting... Check and make sure that the Client's time and the NextCloud server's time are set correctly.

              1 Reply Last reply Reply Quote 1
              • S
                SemperOSS @scottalanmiller
                last edited by SemperOSS

                @scottalanmiller & @dafyre: That was my first idea, but all the computers are within milliseconds of each other as best I can measure, thanks to NTP โ€” and I do expect that Nextcloud can accept a clock difference that is in the same order of magnitude as the package latency over the network or even less.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • S
                  SemperOSS @StrongBad
                  last edited by

                  @StrongBad I use Nextcloud to automatically save essential files on my computers, giving me seamless access to these files from my other computers. Very rarely are two computers turned on at the same time but it provides me with some convenience when I change from one computer to the other โ€” and sometimes the web access to Nextcloud proves a life-saver (โ€Šwell, not literally ๐Ÿ˜‰โ€Š) when I need access to files when I am out and about without access to my own laptop or for quickly sharing files.

                  It is not used as a repository for my source code.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SemperOSS @JaredBusch
                    last edited by

                    @JaredBusch & @scottalanmiller: Thank you for your response.

                    I'll probably have to throw some beefier hardware after it then as other suggestions I have received do not seem to apply to my case. I had hoped the RPis would be enough as I have managed to get rid of most of the old "big iron" and replaced it with RPis (web server, mail server, backup server, home server, security server, ...).

                    I had seen a post somewhere that the shift from SQLite to MariaDB should improve the stability for multi-user access and found it provided a slight improvement in performance as well โ€” slightly surprising, I agree.

                    I know this is difficult, but do you have any sugestion as to the processor power and RAM needed for a stable Nextcloud installation with light use, mostly single-user access? I am seriously trying to avoid installing a "proper" server again for space and power consumption reasons. (The RPis are in fact installed in friend's basement as his internet connection has a fixed IP address.)

                    scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • S
                      SemperOSS @scottalanmiller
                      last edited by

                      @scottalanmiller Thanks. I will try upgrading to the latest version.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @SemperOSS
                        last edited by

                        @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                        @scottalanmiller Thanks. I will try upgrading to the latest version.

                        Worth a shot at the very least.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @SemperOSS
                          last edited by

                          @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                          @scottalanmiller & @dafyre: That was my first idea, but all the computers are within milliseconds of each other as best I can measure, thanks to NTP โ€” and I do expect that Nextcloud can accept a clock difference that is in the same order of magnitude as the package latency over the network or even less.

                          Yeah, was just thinking it might be an hour off or more.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @SemperOSS
                            last edited by

                            @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                            @JaredBusch & @scottalanmiller: Thank you for your response.

                            I'll probably have to throw some beefier hardware after it then as other suggestions I have received do not seem to apply to my case. I had hoped the RPis would be enough as I have managed to get rid of most of the old "big iron" and replaced it with RPis (web server, mail server, backup server, home server, security server, ...).

                            I had seen a post somewhere that the shift from SQLite to MariaDB should improve the stability for multi-user access and found it provided a slight improvement in performance as well โ€” slightly surprising, I agree.

                            I know this is difficult, but do you have any sugestion as to the processor power and RAM needed for a stable Nextcloud installation with light use, mostly single-user access? I am seriously trying to avoid installing a "proper" server again for space and power consumption reasons. (The RPis are in fact installed in friend's basement as his internet connection has a fixed IP address.)

                            Seems like a single small desktop device would have more computer power, and use less wall power, than using several small RPs, and be more flexible. Once you need more RPs than two or three in one place, they lose their value. If you only need one, that is different.

                            It doesn't need a lot, but 2GB of RAM minimum for sure. I'd do 3GB if possible, you don't want it swapping.

                            Minimum of 2 vCPU in a good VM on good hardware. Ours gets four.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @SemperOSS
                              last edited by

                              @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                              I had seen a post somewhere that the shift from SQLite to MariaDB should improve the stability for multi-user access and found it provided a slight improvement in performance as well โ€” slightly surprising, I agree.

                              Yes, but it does it through heavier utilization and thread competition, which might make the issue worse while making it feel faster. SQLite is "in thread" so can't have a race condition between the DB and the app.

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @scottalanmiller said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                                @SemperOSS said in Nextcloud Conflicts When Saving a File (Single User Scenario):

                                @JaredBusch & @scottalanmiller: Thank you for your response.

                                I'll probably have to throw some beefier hardware after it then as other suggestions I have received do not seem to apply to my case. I had hoped the RPis would be enough as I have managed to get rid of most of the old "big iron" and replaced it with RPis (web server, mail server, backup server, home server, security server, ...).

                                I had seen a post somewhere that the shift from SQLite to MariaDB should improve the stability for multi-user access and found it provided a slight improvement in performance as well โ€” slightly surprising, I agree.

                                I know this is difficult, but do you have any sugestion as to the processor power and RAM needed for a stable Nextcloud installation with light use, mostly single-user access? I am seriously trying to avoid installing a "proper" server again for space and power consumption reasons. (The RPis are in fact installed in friend's basement as his internet connection has a fixed IP address.)

                                Seems like a single small desktop device would have more computer power, and use less wall power, than using several small RPs, and be more flexible. Once you need more RPs than two or three in one place, they lose their value. If you only need one, that is different.

                                It doesn't need a lot, but 2GB of RAM minimum for sure. I'd do 3GB if possible, you don't want it swapping.

                                Minimum of 2 vCPU in a good VM on good hardware. Ours gets four.

                                This is a client system with an active 50ish sync client users all day long.
                                d5dd23a1-424b-4368-963f-2870d0c23942-image.png

                                Yeah it says ownCloud. THis was originally an ownCloud 7 VM on CentOS 7. It has been around a long ass time. Currently Nextcloud 14, no matter what @scottalanmiller says, NC 15 is not current as it is not in the stable release channel yet.
                                62299bfc-8439-4cd4-8412-224d7b10c06c-image.png
                                e740a1e0-59ce-4b54-afc6-8fe5095faff3-image.png

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by

                                  More stats from that system..
                                  1c7e6057-cf8f-44d6-83c3-c5075bab2cc2-image.png

                                  a1ed1b98-b6b6-4a2e-9e66-4cd37c73a897-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch
                                    last edited by

                                    This is the sysem that I use for work.
                                    f1ef56be-6669-4c8d-9005-745e991c9894-image.png

                                    We only have 6 active users. All use the Sync Client.

                                    We never have any issues with conflict files.

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post