1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 What is this file for: xmg22opon ?

Discussion in 'XenForo Questions and Support' started by Moddis, Mar 15, 2014.

  1. Moddis

    Moddis Active Member

    Every time I try to copy or backup via ftp or SSH this file I get an error saying there is no permission and im forced to leave it out on my test environment: /internal_data/temp/xmg22opon

    Is that file of any importance, things seem to work fine without it? Is it because that file is always active and that prevents it from being locked to copy?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That almost sounds like it might be from an add-on, possibly Xen Media Gallery?

    Have you tried opening the file with a text editor to see what it is?
    Moddis likes this.
  3. RobParker

    RobParker Well-Known Member

    I have a randomly named file in that directory. I always assumed it was a file-lock type thing.
    Moddis likes this.
  4. Moddis

    Moddis Active Member

    Hhhm it could be created from XMG after the fact as some temp file because its not in the default installation files that I can see. I just tried WinSCp to copy and/or open it but I cant even do that:
    "Permission denied.
    Error code: 3
    Error message from server: Permission denied"
  5. Chris D

    Chris D XenForo Developer Staff Member

    It could be XMG.

    It's just a temp file though. Look at its path.

    Nothing to worry about.
    Moddis likes this.
  6. Moddis

    Moddis Active Member

    Any suggestions on how to backup the files directory than so that it ignored that file? I try to backup the DB and files to one place(using the below line) but have to do it the long way because of that file.

    tar -cf - /backup.sql /forum/ | gzip -c > /backup.tar.gz
  7. Chris D

    Chris D XenForo Developer Staff Member

    All files and directories in internal_data should be writable. Some sort of server configuration you have seems to be making files not writable. Deal with that and they should be writable and deletable.

    I'm not doing anything special to put any temp files there.

    Or just exclude the temp directory.
    Moddis likes this.
  8. Mike

    Mike XenForo Developer Staff Member

    It may be writable by your webserver user but not your FTP user. While you can change it with code, you may need your host to delete it (as root) if it's significant.
    Moddis likes this.
  9. Moddis

    Moddis Active Member

    No worries, it looks like the tar file, even though it says it failed, its still complete without just that one file (which I don't need).

Share This Page