migration error 2

Discussion in 'General' started by irobot, Jun 18, 2017 at 4:42 PM.

  1. irobot

    irobot New Member

    moved a wordpress site for testing before we do all sites
    the problem is we can not update when the site is moved
    the error can not create dir comes all of the time
    so i think it has something to do with the rights anbd somehow i can not get them right
    done allot of chmod and changed the owner but i must be missing something

    Checked back to the old server and there updating is no problem
    must be something in the structure, owner or rights

    some advise would be apreciated
     
  2. irobot

    irobot New Member

    fixed
    it seems that when i create a website with the admin account all sorts of things go wrong
    so what i did
    • deleted the site, user, database, everything
    • created new user
    • switched into user account
    • created website and database
    • uploaded everything again
    • changed ownership >>>> chown -R 5006:5006 /var/www/clients/client1/web4/web
    • logged in on the website
    • click update now (new wordpress version)
    • 5 seconds and it was done

    so now i am wondering is this normal ?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    It does not matter if you create a website as admin, client or reseller, ispconfig is doing the same thing in each case. The only difference is that the group of the website is either the admin group, reseller group or client group.

    and when you copy files into a website as root user instead of using FTP or the SSH account of the website, then you have to chown the files and folders that you copied to the web user and client group of that site of course as PHP can't write to the folders otherwise.
     

Share This Page