•  
      request #9547 Can't upload file releases
    Infos
    #9547
    Kelly Ferrone (kferrone)
    2016-10-21 16:22
    2016-10-05 18:52
    9817
    Details
    Can't upload file releases

    When I try and upload a new file release I get the following error:

    An error occured while moving file to destination (was the file myFile.xml already deleted?)

    From searching the webiverse I found some others who had the same problem and their solution was simply to run:

    setenforce 0

    The above line just turns off SELinux which was already turned off for us so it had no effect. I can tell there is some kind of permissions issue. The file will get uploaded to the server in some type of "Downloads/Temp" directory then it fails when something tries to move it to the end destination for releases.  

    Similar issue:

    https://tuleap.net/pipermail/tuleap-devel/2015-December/004358.html

    Delivery/File release system
    8.19
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-10-21
    Attachments
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 9.0.99.17

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2016-10-21
    User avatar

    Holy smokes that worked! Just some single quotes to double quotes.

    Thank you so much Mr Vacelet

    User avatar

    No need for the patch, you should edit /etc/tuleap/conf/local.inc and replace single quotes by double quotes for:

    $ftp_frs_dir_prefix

    $ftp_incoming_dir

    $ftp_anon_dir_prefix

    User avatar

    Hi Yannis, here is my output from that command:

    total 24
    drwxr-xr-x  5 root       ftp        4096 Sep 20 19:17 .
    drwxr-xr-x 14 codendiadm codendiadm 4096 Sep 20 19:17 ..
    drwxrwsrwt  2 ftpadmin   ftpadmin   4096 Oct  5 17:03 incoming
    -rw-r--r--  1 ftpadmin   ftpadmin    295 Sep 20 19:17 .message
    drwxr-xr-x  9 ftpadmin   ftpadmin   4096 Sep 28 18:43 pub
    drwx--x--x 10 root       root       4096 Sep 28 18:43 tuleap

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    So I tried to log into FTP as myself and was only able to add/delete files for my home directory, which makes sense. Then I logged in as admin to FTP and was unable to log in at all. My server admin points out my "admin" user is not in our Open LDAP server, i.e. admin is a normal Tuleap user. Could my issues stem from how our LDAP is set up?
    User avatar
    My Server Admin can't find any error logs on this??? Is there anywhere that would show any errors on this? What should we be looking at to solve this?