Author Topic: Create config  (Read 5934 times)

Offline juanqui

  • Newbie
  • *
  • Posts: 9
Create config
« on: April 27, 2013, 11:56:41 AM »
Hi, I am upgraded from 0.5.3 to 0.9.0 and in the installer are the sections,

1 - check environment
2 - create config
3 - test config

after i put the values for config there is a page that says ...

"Copy or download the following configurations and save them in two files (names above the text box) within the RCMAIL_CONFIG_DIR directory of your Roundcube installation."

I have both files db.inc.php and main.inc.php

If i clic in "Continue" and go to the third section, ie test config, i get an error because the files db.inc.php and main.inc.php are not in the correct place.

Where do I need to put them ?

Thanks, Juan

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,866
Re: Create config
« Reply #1 on: April 27, 2013, 12:17:07 PM »
There is a directory called config in the Roundcube folder. They need to go in there and the web server user needs to be able to read them.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline juanqui

  • Newbie
  • *
  • Posts: 9
Re: Create config
« Reply #2 on: April 27, 2013, 12:50:45 PM »
Thanks John, now the config files are ok.

One thing to fix could be in the installto.sh if the directory config does not exist create it and copy the files.

Now i have the problem ...

Check config files

main.inc.php:  OK
db.inc.php:  OK
Check if directories are writable

Roundcube may need to write/save files into these directories

tmpround:  NOT OK(not writeable for the webserver)
roundcube:  NOT OK(not writeable for the webserver)

Use chmod or chown to grant write privileges to the webserver

Where should be those directories ? tmpround and roundcube ?

Thanks, Juan

Offline juanqui

  • Newbie
  • *
  • Posts: 9
Re: Create config
« Reply #3 on: April 27, 2013, 01:00:24 PM »
Sorry i changed

roundcube:  NOT OK(not writeable for the webserver)

to

/var/log/roundcube and it worked !!!

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,866
Re: Create config
« Reply #4 on: April 27, 2013, 01:02:25 PM »
how do you not have the folders already? they are there in the package, for example the config folder contains the example config files. as for the two directories, you set them in your config file.... temp_dir and logs_dir
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…