Author Topic: An error occurred while saving when trying to create folder  (Read 11527 times)

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
I am new to roundcube.
I did a fresh install on new Fedora 18/Sendmail/Dovecot/Saslauthd box.
When I attempt to create a folder I get:  An error occurred while saving.
There is nothing in the roundcube logs or syslog.
Thanks in advance for help.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #1 on: June 06, 2013, 02:30:41 PM »
help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: An error occurred while saving when trying to create folder
« Reply #2 on: June 07, 2013, 05:51:47 PM »
Enable imap_debug and post the log.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #3 on: June 12, 2013, 04:48:16 PM »
I attached the logs.
It looks like this is the problem:
[12-Jun-2013 15:39:53 -0500]: [0085] C: A0003 CREATE INBOXtemp
[12-Jun-2013 15:39:53 -0500]: [0085] S: A0003 NO [NOPERM] Permission denied
But I'm not sure which folder and which permission.
Thanks in advance.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: An error occurred while saving when trying to create folder
« Reply #4 on: June 14, 2013, 10:08:54 AM »
Make sure all the folders where mail is stored have the correct owner and permissions.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #5 on: June 14, 2013, 09:58:18 PM »
I figured that part out already (that it is a permissions problem) as noted in previous post.
Sending and receiving works just fine.
It's the folder creation that is not working per initial post.
I don't know what directory and what permission for imap folder creation in roundcube.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: An error occurred while saving when trying to create folder
« Reply #6 on: June 14, 2013, 10:58:52 PM »
It part of your mail server not RoundCube.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #7 on: June 15, 2013, 02:39:26 AM »
Also running is sendmail and openwebmail ... but roundcube is the only thing using imap.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #8 on: July 25, 2013, 05:36:51 PM »
I turned on debugging and saw this error when I try to create folders in roundcube.
Can someone please tell me how to fix this?
I don't know what folder it is using and what permissions it wants.

[12-Jun-2013 15:39:53 -0500]: [0085] C: A0003 CREATE INBOXtemp
[12-Jun-2013 15:39:53 -0500]: [0085] S: A0003 NO [NOPERM] Permission denied

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: An error occurred while saving when trying to create folder
« Reply #9 on: July 25, 2013, 06:08:20 PM »
What do you have set for $config['imap_delimiter'] in the main.inc.php?

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #10 on: July 25, 2013, 09:57:13 PM »
all I have is this:
$rcmail_config['imap_delimiter'] = ".";
I can't find:
$config['imap_delimiter']

« Last Edit: July 25, 2013, 09:59:48 PM by boxyball »

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #11 on: July 29, 2013, 01:39:53 PM »
Since there was no answer, I tried a delimiter of / but I still get the same error ... logs below:

[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0001 ID ("name" "Roundcube" "version" "0.9.1" "php" "5.4.15" "os" "Linux" "command" "/?_task=settings&_action=edit-folder&_mbox=&_framed=1")
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * ID NIL
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0001 OK ID completed.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0002 AUTHENTICATE PLAIN AGNoYXllcwBsZW1taW5ncw==
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0003 LIST "" "*"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * LIST (\Noselect \HasNoChildren) "/" "sshd"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * LIST (\HasNoChildren) "/" "INBOX"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0003 OK List completed.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0004 LOGOUT
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * BYE Logging out
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0004 OK Logout completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0001 ID ("name" "Roundcube" "version" "0.9.1" "php" "5.4.15" "os" "Linux" "command" "/")
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * ID NIL
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0001 OK ID completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0002 AUTHENTICATE PLAIN AGNoYXllcwBsZW1taW5ncw==
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0003 CREATE INBOXtest
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0003 NO [NOPERM] Permission denied
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0004 LIST "" "*"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * LIST (\Noselect \HasNoChildren) "/" "sshd"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * LIST (\HasNoChildren) "/" "INBOX"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0004 OK List completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0005 LOGOUT
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * BYE Logging out
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0005 OK Logout completed.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #12 on: July 29, 2013, 01:45:13 PM »
Also ... this might be relevant.
When I go to FOLDER MANAGEMENT, I see Inbox and sshd listed as folders.
Inbox is checked as SUBSCRIBED but sshd is not.
I don't know why sshd would be listed as a folder for all users.
Also, when I click the plus sign to add a folder, the choices for PARENT FOLDER are --- and sshd.
The --- selection is the default.
I've tried creating a folder with either choice and get the same error.

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #13 on: July 29, 2013, 02:24:07 PM »
Also ... this might be relevant ... we use mbox format

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
Re: An error occurred while saving when trying to create folder
« Reply #14 on: July 30, 2013, 12:25:38 AM »
ok ... over 600 views and zero assistance.
Is this a situation where we need to pay someone for support?
Do you have such an option?
Are there roundcube consultants?