These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Can't install roundcube on the new forum.
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
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
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 ..
... /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 ..
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.