Can't install roundcube

4 posts / 0 new
Last post
#1 Tue, 10/30/2012 - 16:12
izghitu

Can't install roundcube

Hi,

I use the latest virtualmin on centos 6.3 64 bit.

I added 2 domains. I used the install scripts button under first added domain to install rouncube and it worked fine

I tried the same for second domain and it says: Found http://prdownloads.sourceforge.net:80/sourceforge/roundcubemail/roundcub... in cache ..

Configuring webserver PHP settings .. .. already done.

Applying web server configuration .. .. done

Now installing RoundCube version 0.8.2 ..

Failed to extract source : Failed to create target directory : mkdir: cannot create directory `/home/domain.com': Permission denied

.. failed! See the error message above for the reason why.

Applying web server configuration .. .. done

What am I doing wrong?

Please help

Tue, 10/30/2012 - 17:23
andreychek

Hmm, well, the error you're seeing is:

Failed to create target directory : mkdir: cannot create directory `/home/domain.com': Permission denied

That's an unusual error though, as it seems to be trying to create "`/home/domain.com", which is the home directory... that should already exist though.

What should the home directory be for this particular Virtual Server? And can you verify that it already exists?

-Eric

Tue, 10/30/2012 - 17:28
izghitu

Yes, it exists and it is of format /home/domain.com

If I create manually /home/domain.com/public_html/roundcube and chmod it to 777 then I get different error: Found http://prdownloads.sourceforge.net:80/sourceforge/roundcubemail/roundcub... in cache ..

Configuring webserver PHP settings .. .. already done.

Applying web server configuration .. .. done

Now installing RoundCube version 0.8.2 ..

Failed to extract source : Uncompression failed :

/bin/tar: roundcubemail-0.8.2: Cannot mkdir: Permission denied
/bin/tar: roundcubemail-0.8.2/.htaccess: Cannot open: No such file or directory
/bin/tar: roundcubemail-0.8.2/bin: Cannot mkdir: No such file or directory
/bin/tar: roundcubemail-0.8.2/CHANGELOG: Cannot open: No such file or directory
/bin/tar: roundcubemail-0.8.2/config: Cannot mkdir: No such file or directory
/bin/tar: roundcubemail-0.8.2/index.php: Cannot open: No such file or directory
/bin/tar: roundcubemail-0.8.2/INSTALL: Cannot open: No such file or directory

... /bin/tar: roundcubemail-0.8.2/bin/update.sh: Cannot open: No such file or directory /bin/tar: Exiting with failure status due to previous errors

.. failed! See the error message above for the reason why.

Applying web server configuration ..

Sat, 09/13/2014 - 10:20
marceld202

This is an old post, but since I had the same problem I will share how i fixed this.

My website (for example, domain.com) was installed under is own user. home/myuser/public_html was al in group www-data.

Apperantly (unless you give everything 777 rights from public_html to your webmail folder), the user I was logged in with in virtualmin (root) did not have enought rights to write to this dir. So I added the root user to the user group of my domain (myuser) and to the group www-data, which I assigned my domains ownership to.

That solved it for me.

Topic locked