attachment upload fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danliker
    Junior Member
    • Jul 2010
    • 14

    #1

    attachment upload fails

    on our ox we can not upload any attachments.

    we get this error:

    Fehlermeldung: Hochladen der Datei fehlgeschlagen: Processing of multipart/form-data request failed. /tmp/.OX/upload__xxx.tmp (no such file or directory) (UPL-0001, 585025325-10537)

    /tmp directory exists and is writable :
    drwxrwxrwt 5 root root 4096 3. Aug 22:43 tmp

    but there is no .OX directory in there !?

    any hints on this ?
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #2
    Hi,

    could you try to create the .OX directory manually? Does that help?
    If it only occurs for specific files, please post the whole stack trace from open-xchange.log

    Greetings

    Comment

    • danliker
      Junior Member
      • Jul 2010
      • 14

      #3
      after the manual creation of the .OX folder it works!

      why does ox not create it ?

      Comment

      • Martin Heiland
        Open-Xchange Quality Assurance
        • Feb 2007
        • 3695

        #4
        I'm not sure why it did not work on your system - what operating system and OX version are you using? The folder is created during installation, perhaps the permissions were not correct at this point?

        Comment

        • Carsten Hoeger
          Open-Xchange Professional Services
          • Mar 2007
          • 710

          #5
          Some systems have settings where /tmp is cleaned automatically via cronjob per default.
          Please check that on your system.
          AFAIR RHEL5 has such a default, I'm not sure, though.

          Comment

          • danliker
            Junior Member
            • Jul 2010
            • 14

            #6
            the system is centos

            ox and centos are both on the newest version

            Comment

            • Martin Heiland
              Open-Xchange Quality Assurance
              • Feb 2007
              • 3695

              #7
              Okay, since CentOS is a RedHat derivate, it also comes with a "tmpcleanup" cronjob:


              You could either disable this job, rewrite it to keep .OX or use another temporary location for file uploads.

              Greetings

              Comment

              • danliker
                Junior Member
                • Jul 2010
                • 14

                #8
                ok, thank you very mutch!

                i will change the cronjob...

                Comment

                Working...
                X