Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Roundcube
  3. Roundcube: Adding identity results in error

Roundcube: Adding identity results in error

Scheduled Pinned Locked Moved Solved Roundcube
6 Posts 3 Posters 1.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by
    #1

    Hi,

    when I try to add an identity to Roundcube, I get an error:

    Oops... something went wrong!
    An internal error has occurred. Your request cannot be processed at this time.
    
    For administrators: Please check the application and/or server error logs for more information.
    

    The application log shows:

    Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
    Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
    Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)"
    Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)"
    Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)"
    
    nebulonN girishG 2 Replies Last reply
    0
    • necrevistonnezrN necrevistonnezr

      Hi,

      when I try to add an identity to Roundcube, I get an error:

      Oops... something went wrong!
      An internal error has occurred. Your request cannot be processed at this time.
      
      For administrators: Please check the application and/or server error logs for more information.
      

      The application log shows:

      Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
      Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
      Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)"
      Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)"
      Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)"
      
      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @necrevistonnezr this sounds a bit like an upstream app error. Have you checked their issue tracker about this?

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • necrevistonnezrN necrevistonnezr

        Hi,

        when I try to add an identity to Roundcube, I get an error:

        Oops... something went wrong!
        An internal error has occurred. Your request cannot be processed at this time.
        
        For administrators: Please check the application and/or server error logs for more information.
        

        The application log shows:

        Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
        Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55"
        Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)"
        Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)"
        Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)"
        
        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @necrevistonnezr Tried this on our install and it works fine. Can you try adding $config['debug_level'] = 4; in the custom config and then you will find the logs in /tmp/roundcube/logs.

        necrevistonnezrN 1 Reply Last reply
        0
        • girishG girish

          @necrevistonnezr Tried this on our install and it works fine. Can you try adding $config['debug_level'] = 4; in the custom config and then you will find the logs in /tmp/roundcube/logs.

          necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by necrevistonnezr
          #4

          @girish Thanks for looking into this!

          [31-Mar-2022 18:32:10 UTC] PHP Fatal error:  Uncaught Error: Unsupported operand types in /app/data/plugins/identity_smtp/identity_smtp.php:194
          Stack trace:
          #0 /app/code/program/lib/Roundcube/rcube_plugin_api.php(513): identity_smtp->identityFormWillBeDisplayed()
          #1 /app/code/program/actions/settings/identity_edit.php(168): rcube_plugin_api->exec_hook()
          #2 /app/code/program/include/rcmail_output_html.php(1484): rcmail_action_settings_identity_edit::identity_form()
          #3 [internal function]: rcmail_output_html->xml_command()
          #4 /app/code/program/include/rcmail_output_html.php(1322): preg_replace_callback()
          #5 /app/code/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml()
          #6 /app/code/program/include/rcmail_output_html.php(654): rcmail_output_html->parse()
          #7 /app/code/program/actions/settings/identity_edit.php(78): rcmail_output_html->send()
          #8 /app/code/program/include/rcmail.php(275): rcmail_action_settings_identity_edit->run()
          #9 /app/code/index.php(283): rcmail->action_handler()
          #10 {main}
            thrown in /app/data/plugins/identity_smtp/identity_smtp.php on line 194
          
          girishG 1 Reply Last reply
          0
          • necrevistonnezrN necrevistonnezr

            @girish Thanks for looking into this!

            [31-Mar-2022 18:32:10 UTC] PHP Fatal error:  Uncaught Error: Unsupported operand types in /app/data/plugins/identity_smtp/identity_smtp.php:194
            Stack trace:
            #0 /app/code/program/lib/Roundcube/rcube_plugin_api.php(513): identity_smtp->identityFormWillBeDisplayed()
            #1 /app/code/program/actions/settings/identity_edit.php(168): rcube_plugin_api->exec_hook()
            #2 /app/code/program/include/rcmail_output_html.php(1484): rcmail_action_settings_identity_edit::identity_form()
            #3 [internal function]: rcmail_output_html->xml_command()
            #4 /app/code/program/include/rcmail_output_html.php(1322): preg_replace_callback()
            #5 /app/code/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml()
            #6 /app/code/program/include/rcmail_output_html.php(654): rcmail_output_html->parse()
            #7 /app/code/program/actions/settings/identity_edit.php(78): rcmail_output_html->send()
            #8 /app/code/program/include/rcmail.php(275): rcmail_action_settings_identity_edit->run()
            #9 /app/code/index.php(283): rcmail->action_handler()
            #10 {main}
              thrown in /app/data/plugins/identity_smtp/identity_smtp.php on line 194
            
            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @necrevistonnezr Oh, this is SMTP identity plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP) ? You might have to ask there. I was testing with the identity feature in Roundcube.

            necrevistonnezrN 1 Reply Last reply
            0
            • girishG girish

              @necrevistonnezr Oh, this is SMTP identity plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP) ? You might have to ask there. I was testing with the identity feature in Roundcube.

              necrevistonnezrN Offline
              necrevistonnezrN Offline
              necrevistonnezr
              wrote on last edited by
              #6

              @girish Thanks, that put me on the right path...
              For the record:
              Even the current forked version of the identity_smtp plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP forked from https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin) has a bug.

              The fix proposed here works: https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin/commit/411a33432ab1ba7fdb6004f6b2b66bd3601dff9f

              1 Reply Last reply
              2
              • girishG girish has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search