I notice that config.inc.php was missing in the copy paste that i have made before, but after a while i fix the config.inc.php by changing the owner name of the roundcubemail folder and subfolders from user name to root, and then i add the config.inc.php, but i continue in the same situation in those two folder temp and logs and dont know why. I will be posting updates here, for people who may pass between those problems.
Now i have all the same privileges and user ownership on temp and logs, like i have on config, and still doesnt detect =/
X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/
total 440
-rwxrwxrwx@ 1 root admin 1940 28 Sep 20:30 .htaccess
-rwxrwxrwx@ 1 root admin 136602 28 Sep 20:30 CHANGELOG
-rwxrwxrwx@ 1 root admin 9954 28 Sep 20:30 INSTALL
-rwxrwxrwx@ 1 root admin 35147 28 Sep 20:30 LICENSE
-rwxrwxrwx@ 1 root admin 3736 28 Sep 20:30 README.md
drwxr-xr-x@ 12 root admin 408 28 Sep 20:30 SQL
-rwxrwxrwx@ 1 root admin 3403 28 Sep 20:30 UPGRADING
drwxr-xr-x@ 19 root admin 646 28 Sep 20:30 bin
-rwxrwxrwx@ 1 root admin 1353 28 Sep 20:30 composer.json-dist
drwxr-xr-x@ 7 root admin 238 12 Oct 14:07 config
-rwxrwxrwx@ 1 root admin 12412 28 Sep 20:30 index.php
drwxr-xr-x@ 9 root admin 306 28 Sep 20:30 installer
drwxr-xr-x@ 3 root admin 102 28 Sep 20:30 logs
drwxr-xr-x@ 35 root admin 1190 28 Sep 20:30 plugins
drwxr-xr-x@ 8 root admin 272 28 Sep 20:30 program
drwxr-xr-x@ 8 root admin 272 28 Sep 20:30 public_html
-rwxrwxrwx@ 1 root admin 26 28 Sep 20:30 robots.txt
drwxr-xr-x@ 4 root admin 136 28 Sep 20:30 skins
drwxr-xr-x@ 3 root admin 102 28 Sep 20:30 temp
drwxr-xr-x@ 9 root admin 306 28 Sep 20:32 vendor
X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/temp
total 8
-rw-r--r--@ 1 root admin 164 28 Sep 20:30 .htaccess
X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/logs
total 8
-rw-r--r--@ 1 root admin 164 28 Sep 20:30 .htaccess
X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/config
total 136
-rw-r--r--@ 1 root admin 164 28 Sep 20:30 .htaccess
-rw-r--r--@ 1 user_name staff 3774 12 Oct 14:06 config.inc.php
-rw-r--r--@ 1 root admin 3983 28 Sep 20:30 config.inc.php.sample
-rw-r--r--@ 1 root admin 51625 28 Sep 20:30 defaults.inc.php
-rw-r--r--@ 1 root admin 2815 28 Sep 20:30 mimetypes.php
P.S. i have also changed the title of this thread.
UPDATE1:
It seems that both /logs and /temp, and all the stuff inside, must be at 777. Privileges from those folders must be different from /config.
Now i am unable to use the database that i have created before, and my mysql server is working, and the database is created =/:
Check DB config
DSN (write): NOT OK(SQLSTATE[HY000] [2002] No such file or directory)
Make sure that the configured database exists and that the user has write privileges
I have already created another database and i had the same problem, so i dont know if i am having syntax problem (for example the username that i have added who is admin@localhost, and i dont know if i should use the @localhost from what i have seen in the config file, it converts the @ to %40), or if i am having a problem with my database, for example some kind of privileges. I have used the follow commands to create my database (was copy pasted from the tutorial that i am following
here):
CREATE DATABASE name_of_database;
CREATE USER name_of_user@IP.address.of.server.hosting.database IDENTIFIED BY 'account_password';
GRANT ALL PRIVILEGES ON name_of_database.* TO name_of_user@IP.address.of.server.hosting.database WITH GRANT OPTION;
UPDATE2:
I discover how i should put syntax through defaults.inc.php but still the same result:
Check DB config
DSN (write): NOT OK(SQLSTATE[HY000] [2002] No such file or directory)
Make sure that the configured database exists and that the user has write privileges
DSN: mysql://roundcubemail:XXX@localhost/roundcubemail