WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress randomly creates symlinks in 'blogs.dir' instead of a directory (3 posts)

  1. bigsite
    Member
    Posted 2 years ago #

    Occasionally, when a new blog is created in WordPress multisite (subdirectory), for the /files/ resolver, it creates a symbolic link to itself instead of creating an actual directory:

    ...
    lrwxr-xr-x 1 *** *** 48 Apr 20 09:20 146 -> /var/www/wp-content/blogs.dir/147/
    drwxr-xr-x 3 *** *** 102 Apr 6 07:55 147
    drwxr-xr-x 3 *** *** 102 Mar 10 10:21 149
    drwxr-xr-x 3 *** *** 102 Mar 23 15:37 150
    drwxr-xr-x 3 *** *** 102 Mar 29 18:07 151
    drwxr-xr-x 3 *** *** 102 Mar 30 17:24 152
    lrwxr-xr-x 1 *** *** 48 Apr 4 14:00 153 -> /var/www/wp-content/blogs.dir/153/
    lrwxr-xr-x 1 *** *** 48 Apr 21 15:10 154 -> /var/www/wp-content/blogs.dir/154/
    ...

    Seems to be happening more frequently after a recent update to WP 3.1.1.

    [moved to Multisite forum]

  2. bigsite
    Member
    Posted 2 years ago #

    I think we found the problem - the server's primary hard drive was slightly corrupted probably due to hard reboots. I'll be keeping an eye out for additional issues.

  3. As far as I know, there's nothing in the code to make symlinks.

Topic Closed

This topic has been closed to new replies.

About this Topic