Koozali.org: home of the SME Server

I broke my roundcube :(

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #30 on: March 26, 2024, 03:46:19 PM »
what shows (note the grep to hide your db password)

Code: [Select]
config show roundcube |grep -v Passw


Code: [Select]
[root@sme10 ~]# config show roundcube |grep -v Passw
roundcube=service
    DbName=roundcube
    DbUser=roundcube
    Name=RoundCube IMAP Client
    PluginsList=globaladdressbook,contextmenu,markasjunk,vcard_attachments,newmail_notifier,emoticonss,managesieve,nextcloud_attachments
    access=public
    status=disabled

Thank you for the hide pw option. Hopefully I'd have noticed..... but ! 

I see 'disabled' ?

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #31 on: March 27, 2024, 12:15:54 AM »
yes you disabled it. so expected to not show in httpd


Code: [Select]
config setprop roundcube status enabled
signal-event smeserver-roundcube-update

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #32 on: March 27, 2024, 10:00:52 AM »
Thanks Jean, those commands produced a change but not a fix.

I now get:

Code: [Select]
FILE NOT FOUND
The requested resource was not found!
Please contact your server-administrator.

Failed request: 172.16.16.73/roundcube/

It is now showing as enabled:

Code: [Select]
roundcube=service
    DbName=roundcube
    DbUser=roundcube
    Name=RoundCube IMAP Client
    PluginsList=globaladdressbook,contextmenu,markasjunk,vcard_attachments,newma         il_notifier,emoticonss,managesieve,nextcloud_attachments
    access=public
    status=enabled



Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #33 on: March 27, 2024, 02:56:30 PM »
 you should check all your error logs

errors are stored here

/var/log/roundcubemail/errors.log

and here

/var/log/php/roundcube/error.log

also in case of http error you should check the httpd server error log as a first check

/var/log/httpd/error_log

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #34 on: March 27, 2024, 03:17:57 PM »
you should check all your error logs

errors are stored here:

Quote
/var/log/roundcubemail/errors.log
Code: [Select]
/var/log/roundcubemail/errors.log: Viewed at Wed 27 Mar 2024 02:08:42 PM GMT.

[22-Mar-2024 17:08:24 +0000]: <50268339> PHP Error: Error loading template for mail in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/?_task=mail&_mbox=INBOX)
[22-Mar-2024 17:08:27 +0000]: <50268339> PHP Error: Error loading template for mail in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/?_task=mail&_mbox=INBOX)
[22-Mar-2024 17:14:57 +0000]: <816230ee> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/?_task=mail&_mbox=INBOX)
[27-Mar-2024 08:56:26 +0000]: <50268339> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/)
[27-Mar-2024 08:56:33 +0000]: <50268339> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/)
[27-Mar-2024 10:10:02 +0000]: <816230ee> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/?_task=mail&_mbox=INBOX)
[27-Mar-2024 10:10:02 +0000]: <816230ee> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/)
[27-Mar-2024 10:20:17 +0000]: <816230ee> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/)
[27-Mar-2024 14:04:51 +0000]: <50268339> PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /roundcube/)


Quote
also in case of http error you should check the httpd server error log as a first check
/var/log/httpd/error_log

I don't think this is relevant but:
Code: [Select]
/var/log/httpd/error_log: Viewed at Wed 27 Mar 2024 02:14:08 PM GMT. (Today only)
[Wed Mar 27 08:56:21.290969 2024] [mpm_prefork:notice] [pid 4147] AH00171: Graceful restart requested, doing restart
[Wed Mar 27 08:56:21.305701 2024] [ssl:warn] [pid 4147] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 27 08:56:21.305766 2024] [mpm_prefork:notice] [pid 4147] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Wed Mar 27 08:56:21.305770 2024] [core:notice] [pid 4147] AH00094: Command line: '/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND'


/var/log/php/roundcube/error.log - Not listed via under server manager.  Is it possible from the Putty console ?

But looks like I'm missing a template ?

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #35 on: March 27, 2024, 09:43:02 PM »
try this

Code: [Select]
cp -a /usr/share/roundcubemail/plugins/larry /usr/share/roundcubemail/skins/

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #36 on: March 27, 2024, 10:13:18 PM »
try this

Code: [Select]
cp -a /usr/share/roundcubemail/plugins/larry /usr/share/roundcubemail/skins/

Success !

Looked like it copy copying from one location to another ?  The destination location had most of the files in it as it asked me if I would like to overwrite - which I answered Y to each.   Presumably something was missing in the destination folder.
 

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #37 on: March 27, 2024, 10:14:28 PM »
This is the list of overwrites -

Code: [Select]
[root@sme10 ~]# cp -a /usr/share/roundcubemail/plugins/larry /usr/share/roundcubemail/ski                                                         ns/
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/README.md’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/bin/build.sh’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/bin/cssimages.sh’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/bin/cssshrink.sh’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/bin/jsshrink.sh’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/composer.json’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/acl/acl.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/acl/acl.min.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/acl/images/enabled.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/acl/images/partial.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/acl/templates/table.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/enigma.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/enigma.min.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/enigma_icons.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/templates/keycreate.ht                                                         ml’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/templates/keyimport.ht                                                         ml’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/templates/keyinfo.html                                                         ’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/templates/keys.html’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/enigma/templates/keysearch.ht                                                         ml’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/help/help.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/help/help.min.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/help/help.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/help/templates/content.html’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/help/templates/help.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/hide_blockquote/style.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/hide_blockquote/style.min.css                                                         ’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/animated-over                                                         lay.gif’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/jquery.minico                                                         lors.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-dialog-clo                                                         se.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons-date                                                         picker.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_4444                                                         44_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_5555                                                         55_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_7776                                                         20_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_7777                                                         77_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_cc00                                                         00_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/images/ui-icons_ffff                                                         ff_256x240.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/jquery-ui.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/jquery-ui.css.diff’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/jquery-ui.min.css’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/jquery.minicolors.cs                                                         s’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/jquery.minicolors.mi                                                         n.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/tagedit.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/jqueryui/tagedit.min.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/add.png’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/del.png’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/down_small                                                         .gif’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/erase.png’                                                         ? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/up_small.g                                                         if’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/images/vacation_i                                                         cons.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/managesieve.css’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/managesieve.min.c                                                         ss’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/managesieve_mail.                                                         css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/managesieve_mail.                                                         min.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/filtere                                                         dit.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/forward                                                         .html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/manages                                                         ieve.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/setedit                                                         .html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/setedit                                                         raw.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/managesieve/templates/vacatio                                                         n.html’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/markasjunk/mail_toolbar.png’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/markasjunk/markasjunk.css’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/markasjunk/markasjunk.min.css                                                         ’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/markasjunk/messageactions.png                                                         ’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/vcard_attachments/listicons.p                                                         ng’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/vcard_attachments/style.css’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/vcard_attachments/style.min.c                                                         ss’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/vcard_attachments/vcard.png’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/vcard_attachments/vcard_add_c                                                         ontact.png’? y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/zipdownload/zipdownload.css’?                                                          y
cp: overwrite ‘/usr/share/roundcubemail/skins/larry/plugins/zipdownload/zipdownload.min.c                                                         ss’? y

Sorry for the bad formatting.

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #38 on: March 27, 2024, 10:16:33 PM »
Jean-Philippe thank you for your help on this. I really appreciate it.  I'll use roundcube fully in anger tomorrow and give it a good test.

Was the problem general or just my machine ?

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #39 on: March 27, 2024, 10:27:37 PM »
will investigate.

seems the skin has been installed as a plugin.

you were impacted because you set larry as skin before all of this.

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #40 on: March 28, 2024, 10:15:04 AM »
will investigate.

seems the skin has been installed as a plugin.

you were impacted because you set larry as skin before all of this.

From memory I think we were using a different theme because 'Larry' looks a little different to normal. Looking at the the roundcube website it looks like we had the 'classic' skin and that's not listed as an option in the current roundcube settings.

'Classic' must have been included in a previous build ?



 






Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #41 on: March 28, 2024, 01:06:06 PM »
if you installed months ago, then probably as it was 1.5

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #42 on: March 28, 2024, 01:13:22 PM »
if you installed months ago, then probably as it was 1.5

Looks like I installed it in December 2022.    It like it much more than the Horde alternative.   Is the classic theme still available ?


Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: I broke my roundcube :(
« Reply #43 on: March 28, 2024, 01:30:30 PM »
that is a question for roubdcubemail staff ;)

Offline david000

  • ****
  • 200
  • +0/-0
Re: I broke my roundcube :(
« Reply #44 on: March 28, 2024, 01:39:20 PM »
that is a question for roubdcubemail staff ;)

ah !