Icpconfig3 & Owncloud & data on second disk

Discussion in 'Installation/Configuration' started by Lupi, Mar 11, 2015.

  1. Lupi

    Lupi Member

    Hi,
    I have ispconfig 3 multiserver on debian wheezy, and all works perfect. My question is maybe simple, but I,m not comming true.
    When I install owncloud into client, it work's ok, but if I try to give data directory into second disk with more space, it doesent work.
    I give the rights to write, but message is: Can't create or write into the data directory /media/cdata/data
    Is this passible to make working?
    Thank's
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you add /media/cdata/data to the open_basedir setting of the webbsite? And has the user of that website write permissions to that folder?
     
  3. Lupi

    Lupi Member

    User have permissions to write, in my case it is chown -R web2:client2 /media/cdata/data
    chmod is 777
    I didn't add it in open_basedir setting, maybe it's stupid question, where I have to add it.
    in ispconfig in options from website --- done, but nothing change
    Thank's
     
    Last edited: Mar 11, 2015
  4. Lupi

    Lupi Member

    I just tested puting owncloud into /var/www, and I install without truble witin /media/cdata/data, just it won't work from ispconfig.
    Thank's Till
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Options tab of the website settings.
     
  6. Lupi

    Lupi Member

    OK, I take a time and I added in open_basedir setting. It's writting now on second disk, but I'm getting next message now from owncloud, and can't login.
    .htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?
     
  7. Lupi

    Lupi Member

    This is logfile from owncloud
    {"reqId":"7175791d3ce49764039922559cb52e28","remoteAddr":"192.168.0.1","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-03-12T10:16:38+00:00"}
    {"reqId":"7175791d3ce49764039922559cb52e28","remoteAddr":"192.168.0.1","app":"PHP","message":"Comments starting with '#' are deprecated in \/etc\/php5\/cgi\/conf.d\/ming.ini on line 1 at Unknown#0","level":3,"time":"2015-03-12T10:16:38+$
    {"reqId":"36ce2f5c05668d2d28d68b41bf07fbef","remoteAddr":"192.168.0.1","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-03-12T10:17:01+00:00"}
    {"reqId":"73dd74d2bd9aad292eb60654e6ee6fb4","remoteAddr":"192.168.0.1","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-03-12T10:17:49+00:00"}
    {"reqId":"fff5675104f935d2b12a54719d886416","remoteAddr":"192.168.0.1","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-03-12T10:17:59+00:00"}
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The error is about the .htaccess file of the website. Replace the current file with the new one that ownclud suggests.
     
  9. Lupi

    Lupi Member

    Dan, everything work nice. Thank's Till.
     

Share This Page