XFileSharing Pro - Error:Mkdir

Message
Author
AnotherIdiot
Posts: 101
Joined: Aug 23, 2014 2:59 pm

Error:Mkdir

#1 Postby AnotherIdiot » Jul 08, 2015 7:41 pm

Before i go any further this has been discussed back in 2012 and can be found here:

http://sibsoft.net/forum/error-mkdir-t5338.html (never answered)
http://sibsoft.net/forum/error-mkdir-ho ... t5377.html OP never replied)
http://sibsoft.net/forum/error-mkdir-er ... t5004.html (The posters disk was full)

Ok so this error only happened to me once i updated to v2.3, i updated not did a clean install. AFAIK it was all done successfully. The error doesn't happen on every file but when it does its kind of embarrassing as the user does not know that a simple refresh will allow them access to the file.

Why would this happen that for one time they would hit the screen but for a refresh it would get rid of the error and show the file?

The one "fix" i did come across was to rename the files folder to files.bak, create a new files folder and add an index.php and env.php to the folder. By renaming a folder to .bak would it no longer be seen?!

It's beginning to drive me crazy.

admin
Site Admin
Posts: 1808
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Jul 09, 2015 10:51 am

This error appears when script can't create symlink in "files" folder for some reason. Mostly there are disk/system related reasons. In most cases that's because disk is full.

But since that's not your case - first you should do is to check syslog (or messages) for any disk errors.
Second, make sure you have cron executing, because it's cleaning expired symlinks from the "files" folder. Some systems may behave like that if there are too much files (symlinks) inside folder/subfolder.

AnotherIdiot
Posts: 101
Joined: Aug 23, 2014 2:59 pm

#3 Postby AnotherIdiot » Jul 09, 2015 1:05 pm

Thanks for the help Admin

EDIT: Just to add to this, my cronjob wasn't working properly. I had added it as;

*/5 * * * * perl /usr/lib/cgi-bin/cron.pl

Looking at cron.pl it contained the shebang but my cronjob didn't like it. I had to add the path to perl instead.

*/5 * * * * /usr/local/bin/perl /usr/lib/cgi-bin/cron.pl

Now i have no problems


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 1 guest