Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    reclaim free space from mailboxes

    General Discussion
    4
    28
    9499
    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.
    • klausade
      klausade last edited by

      It would definitely help a lot if you told us what the error-message you got was…

      1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User last edited by

        Hello,

        i got this message during softdelete

        root@PRD-MAIL01:~# kopano-admin --purge-softdelete 30
        Softdelete purge failed
        Using the -v option (possibly multiple times) may give more hints.
        root@PRD-MAIL01:~#

        Not really explicit :)

        1 Reply Last reply Reply Quote 0
        • klausade
          klausade last edited by

          Run it again with the -v option, like the error-message says, you might get more information then.

          1 Reply Last reply Reply Quote 0
          • A Former User
            A Former User last edited by

            root@PRD-MAIL01:~# kopano-admin --purge-softdelete 30 -v
            Softdelete purge failed
            Using the -v option (possibly multiple times) may give more hints.
            root@PRD-MAIL01:~# kopano-admin -v --purge-softdelete 30
            Softdelete purge failed
            Using the -v option (possibly multiple times) may give more hints.
            root@PRD-MAIL01:~#

            1 Reply Last reply Reply Quote 0
            • A Former User
              A Former User last edited by

              unfortunaletly, this option does not give us any more info as it is not working …or i do not know how to use it …

              1 Reply Last reply Reply Quote 0
              • apio-sys
                apio-sys last edited by

                I you are really close to having your disk full (what does df -h say?) I would suggest making some space before trying to run any heavy transactions on the database such as purge-softdelete. Are your attachments stored as files? Can you move them to another partition with enough space?

                1 Reply Last reply Reply Quote 0
                • A Former User
                  A Former User last edited by

                  This is what i did, i extended my disk with more free space, but in the meantime i cleaned-up some mailbaoxesand asked to my users to clean theirs own maiboxes … but free space is not released …

                  1 Reply Last reply Reply Quote 0
                  • A Former User
                    A Former User last edited by

                    @rworobel and yes my attachement are stored as files on disk :(

                    1 Reply Last reply Reply Quote 0
                    • fbartels
                      fbartels Kopano @Guest last edited by fbartels

                      Hello @rworobel ,

                      maybe you want to tell us a bit more about the versions and distributions you are using.

                      @rworobel said in reclaim free space from mailboxes:

                      root@PRD-MAIL01:~# kopano-admin --purge-softdelete 30
                      Softdelete purge failed

                      This could be because of insufficient mysql tuning. you can find some directions in https://kb.kopano.io/display/WIKI/Tuning.

                      Regards Felix

                      Resources:
                      https://kopano.com/blog/how-to-get-kopano/
                      https://documentation.kopano.io/
                      https://kb.kopano.io/

                      Support overview:
                      https://kopano.com/support/

                      1 Reply Last reply Reply Quote 0
                      • A Former User
                        A Former User last edited by

                        I tried to follow this tuning and server was not able to restart …(mysql crashed)

                        I’m running
                        Linux PRD-MAIL01 4.1.0-ucs222-amd64 #1 SMP Debian 4.1.6-1.222.201701250821 (2017-01-25) x86_64 GNU/Linux

                        provided by UCS…

                        fbartels 1 Reply Last reply Reply Quote 0
                        • fbartels
                          fbartels Kopano @Guest last edited by

                          @rworobel yes, but which Kopano?

                          What kind of error did you get for MySQL?

                          Regards Felix

                          Resources:
                          https://kopano.com/blog/how-to-get-kopano/
                          https://documentation.kopano.io/
                          https://kb.kopano.io/

                          Support overview:
                          https://kopano.com/support/

                          1 Reply Last reply Reply Quote 0
                          • A Former User
                            A Former User last edited by

                            Myssql service won’t start … simply …and my kopano version is the following

                            root@PRD-MAIL01:~# kopano-admin --version
                            Product version: 8,1,1,10
                            File version: 10
                            root@PRD-MAIL01:~#

                            fbartels 1 Reply Last reply Reply Quote 0
                            • fbartels
                              fbartels Kopano @Guest last edited by fbartels

                              @rworobel said in reclaim free space from mailboxes:

                              Myssql service won’t start … simply

                              you should be able to locate the error when looking at /var/log/mysql/error.log.

                              @rworobel said in reclaim free space from mailboxes:

                              kopano-admin --version
                              Product version: 8,1,1,10

                              Ok, that also explains why the soft delete did not run internally. this version had a bug that was later fixed in https://jira.kopano.io/browse/KC-638, which was released with Kopano 8.3.3 https://kopano.com/kopano-core-archiver-8-3-3-final-now-available/

                              Regards Felix

                              Resources:
                              https://kopano.com/blog/how-to-get-kopano/
                              https://documentation.kopano.io/
                              https://kb.kopano.io/

                              Support overview:
                              https://kopano.com/support/

                              1 Reply Last reply Reply Quote 0
                              • A Former User
                                A Former User last edited by

                                Ok, so i absolutely must update my system asap, by the way … do you know if these updates will stop kopano services ?(no mail during updates) … and how long they will take ?

                                fbartels 1 Reply Last reply Reply Quote 0
                                • fbartels
                                  fbartels Kopano @Guest last edited by

                                  Hi @rworobel ,

                                  yes services will be stopped during package upgrade.

                                  Regards Felix

                                  Resources:
                                  https://kopano.com/blog/how-to-get-kopano/
                                  https://documentation.kopano.io/
                                  https://kb.kopano.io/

                                  Support overview:
                                  https://kopano.com/support/

                                  1 Reply Last reply Reply Quote 0
                                  • A Former User
                                    A Former User last edited by

                                    Ok do you have any upgrade/update documentation of these systems ? i’m a newbie in kopano world and the server was not installed by me… so i’m lost with people claiming :(…in any case thx a lot for you help.

                                    fbartels 1 Reply Last reply Reply Quote 0
                                    • fbartels
                                      fbartels Kopano @Guest last edited by

                                      HI @rworobel ,

                                      if you have a subscription upgrading is as simple as adding our repositories to your sources.list and the doing an apt-get update && apt-get upgrade.

                                      If you don’t have a subscription you could follow the steos in https://documentation.kopano.io/kopanocore_administrator_manual/upgrading.html. Most importantly 4.1, 4.2 and 4.5 (since you’re on Ubuntu).

                                      Regards Felix

                                      Resources:
                                      https://kopano.com/blog/how-to-get-kopano/
                                      https://documentation.kopano.io/
                                      https://kb.kopano.io/

                                      Support overview:
                                      https://kopano.com/support/

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User
                                        A Former User last edited by

                                        Ok, as i’m using univention operating system, the procedure stills to be the same ? or should i do something else/more ?

                                        fbartels 1 Reply Last reply Reply Quote 0
                                        • fbartels
                                          fbartels Kopano @Guest last edited by

                                          Hi @rworobel ,

                                          if you have a subscription you could follow https://wiki.z-hub.io/display/K4U/Updating+Kopano+packages+directly+from+the+Kopano+download+server (page offline at the moment because of server troubles, should be online rather soonish).

                                          The only thing to have in mind here is that if you manually update on ucs 4.1, you could run into issues when during upgrade to ucs 4.2.

                                          Regards Felix

                                          Resources:
                                          https://kopano.com/blog/how-to-get-kopano/
                                          https://documentation.kopano.io/
                                          https://kb.kopano.io/

                                          Support overview:
                                          https://kopano.com/support/

                                          1 Reply Last reply Reply Quote 0
                                          • A Former User
                                            A Former User last edited by

                                            ok, the documentation webpage is back from hell :) … but should i first upgrade my UCS to 4.1 before ? of just appling this procedure is enough ?

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