Posts: 50
Threads: 19
Joined: Jul 2015
Reputation:
0
Thanks: 0
Given 1 thank(s) in 1 post(s)
Roundcube problem
10-05-2018, 01:16 AM
Hi friends.... Please I need some help about this......
When I want login trough roundcube I receive the error "Your session in invalid or expired"..... I updated php from 5 to 7 in Centos 7, I dont know if this updated has affected the roundcube access.
Please may anyone help to me?
Thanks beforehand.
Posts: 208
Threads: 4
Joined: Jun 2018
Reputation:
8
Sex: Male
Thanks: 0
Given 37 thank(s) in 33 post(s)
RE: Roundcube problem
10-05-2018, 01:45 AM
(10-05-2018, 01:16 AM)cfreire Wrote: Hi friends.... Please I need some help about this......
When I want login trough roundcube I receive the error "Your session in invalid or expired"..... I updated php from 5 to 7 in Centos 7, I dont know if this updated has affected the roundcube access.
Please may anyone help to me?
Thanks beforehand.
There are a few things that need changing/tweaking/updating to get Roundcube running on PHP 7 compared to the version packaged with Sentora 1.0.3, but you have upgraded PHP to an unsupported version, and the Sentora package is not (currently) designed for running on PHP 7.
The easiest solution would be to downgrade to PHP 5 as you were presumably running before and (unless you have changed other things) this should restore your access.
If I am incorrect about the above advice, I would be happy to amend it.
Keith.
Posts: 50
Threads: 19
Joined: Jul 2015
Reputation:
0
Thanks: 0
Given 1 thank(s) in 1 post(s)
RE: Roundcube problem
10-05-2018, 02:00 AM
(10-05-2018, 01:45 AM)fearworks Wrote: There are a few things that need changing/tweaking/updating to get Roundcube running on PHP 7 compared to the version packaged with Sentora 1.0.3, but you have upgraded PHP to an unsupported version, and the Sentora package is not (currently) designed for running on PHP 7.
The easiest solution would be to downgrade to PHP 5 as you were presumably running before and (unless you have changed other things) this should restore your access.
If I am incorrect about the above advice, I would be happy to amend it.
Keith.
Hi Keith , thanks for your help.... MAy you to say me what things could I to change to try to access to Roundcube?, because the functions remains are OK.
Posts: 208
Threads: 4
Joined: Jun 2018
Reputation:
8
Sex: Male
Thanks: 0
Given 37 thank(s) in 33 post(s)
RE: Roundcube problem
10-05-2018, 02:18 AM
(10-05-2018, 02:00 AM)cfreire Wrote: Hi Keith , thanks for your help.... MAy you to say me what things could I to change to try to access to Roundcube?, because the functions remains are OK.
If you are still running the stock version of Rouncube that came with Sentora, you should upgrade that to the latest release:
Code: cd /etc/sentora/panel/etc/apps
wget https://github.com/roundcube/roundcubemail/releases/download/1.3.7/roundcubemail-1.3.7-complete.tar.gz
tar xf roundcubemail-1.3.7-complete.tar.gz
./roundcubemail-1.3.7/bin/installto.sh /etc/sentora/panel/etc/apps/webmail
Finish by removing/cleaning up some folders:
Code: rm -rf roundcubemail-1.3.7-complete.tar.gz
rm -rf roundcubemail-1.3.7
rm -rf webmail/installer
rm -rf webmail/SQL
Please note that you do this at your own risk. If you are running a production server you really should go back to PHP 5 as Sentora does not support PHP 7 yet, and there's more than just Roundcube that needs updating for everything to run correctly... However, if your server is "disposable", in other words, if you can afford to mess it up and load it all again from scratch if things go wrong, then fine, play about with PHP 7 and do the Roundcube upgrade - but it's at your own risk!
Keith
Posts: 50
Threads: 19
Joined: Jul 2015
Reputation:
0
Thanks: 0
Given 1 thank(s) in 1 post(s)
RE: Roundcube problem
10-05-2018, 03:37 AM
(10-05-2018, 02:18 AM)fearworks Wrote: If you are still running the stock version of Rouncube that came with Sentora, you should upgrade that to the latest release:
Code: cd /etc/sentora/panel/etc/apps
wget https://github.com/roundcube/roundcubemail/releases/download/1.3.7/roundcubemail-1.3.7-complete.tar.gz
tar xf roundcubemail-1.3.7-complete.tar.gz
./roundcubemail-1.3.7/bin/installto.sh /etc/sentora/panel/etc/apps/webmail
Finish by removing/cleaning up some folders:
Code: rm -rf roundcubemail-1.3.7-complete.tar.gz
rm -rf roundcubemail-1.3.7
rm -rf webmail/installer
rm -rf webmail/SQL
Please note that you do this at your own risk. If you are running a production server you really should go back to PHP 5 as Sentora does not support PHP 7 yet, and there's more than just Roundcube that needs updating for everything to run correctly... However, if your server is "disposable", in other words, if you can afford to mess it up and load it all again from scratch if things go wrong, then fine, play about with PHP 7 and do the Roundcube upgrade - but it's at your own risk!
Keith
Hi... thanks very much for your help........ After I updated roundcube that works for five minutes... but after this time I now receive this error in my browser....
xxx.xxxx.xxx.xxx. no puede procesar esta solicitud en este momento.
HTTP ERROR 500
Posts: 50
Threads: 19
Joined: Jul 2015
Reputation:
0
Thanks: 0
Given 1 thank(s) in 1 post(s)
RE: Roundcube problem
10-05-2018, 06:26 AM
(10-05-2018, 03:37 AM)cfreire Wrote: Hi... thanks very much for your help........ After I updated roundcube that works for five minutes... but after this time I now receive this error in my browser....
xxx.xxxx.xxx.xxx. no puede procesar esta solicitud en este momento.
HTTP ERROR 500
Hi my friend.... Thanks very much for your help Keith... Yours instructions were excellent... The errors that were presented were because there were not the packages php-xml and php-mbstring . Later of install them, RoundCube ran of marvelous.....
Regards..
Posts: 208
Threads: 4
Joined: Jun 2018
Reputation:
8
Sex: Male
Thanks: 0
Given 37 thank(s) in 33 post(s)
RE: Roundcube problem
10-05-2018, 08:44 AM
(10-05-2018, 06:26 AM)cfreire Wrote: Hi my friend.... Thanks very much for your help Keith... Yours instructions were excellent... The errors that were presented were because there were not the packages php-xml and php-mbstring . Later of install them, RoundCube ran of marvelous.....
Regards..
Ah right, yes, upgrading PHP inevitably brings the need to update or install new PHP components etc.
Glad you spotted the additional stuff that needed to be done. Just keep in mind that Sentora isn't officially supported on PHP 7 yet so if you go tweaking too many things you may end up with other issues! And I'm sure you've already read the disclaimers on the forum about securing Sentora running on PHP 7, and that Suhosin is no longer protecting you, etc.
Keith
Posts: 1
Threads: 0
Joined: May 2019
Reputation:
0
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Roundcube problem
05-02-2019, 06:59 AM
(This post was last modified: 05-02-2019, 07:12 AM by jim@jimcorkery.com.)
(10-05-2018, 08:44 AM)fearworks Wrote: Ah right, yes, upgrading PHP inevitably brings the need to update or install new PHP components etc.
Glad you spotted the additional stuff that needed to be done. Just keep in mind that Sentora isn't officially supported on PHP 7 yet so if you go tweaking too many things you may end up with other issues! And I'm sure you've already read the disclaimers on the forum about securing Sentora running on PHP 7, and that Suhosin is no longer protecting you, etc.
Keith
I followed your steps above. I get this message. Any suggestions?
./roundcubemail-1.3.7/bin/installto.sh /etc/sentora/panel/etc/apps/webmail
PHP Warning: PHP Startup: Unable to load dynamic library 'suhosin.so' (tried: /usr/lib64/php/modules/suhosin.so (/usr/lib64/php/modules/suhosin.so: undefined symbol: zend_hash_del_key_or_index), /usr/lib64/php/modules/suhosin.so.so (/usr/lib64/php/modules/suhosin.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Upgrading from 1.0.4. Do you want to continue? (y/N)
y
Copying files to target location...sh: rsync: command not found
Error 500: Failed to execute command: rsync -aC --out-format=%n --delete /etc/sentora/panel/etc/apps/roundcubemail-1.3.7/program/ /etc/sentora/panel/etc/apps/webmail/program/
(05-02-2019, 06:59 AM)jim@jimcorkery.com Wrote: I followed your steps above. I get this message. Any suggestions?
./roundcubemail-1.3.7/bin/installto.sh /etc/sentora/panel/etc/apps/webmail
PHP Warning: PHP Startup: Unable to load dynamic library 'suhosin.so' (tried: /usr/lib64/php/modules/suhosin.so (/usr/lib64/php/modules/suhosin.so: undefined symbol: zend_hash_del_key_or_index), /usr/lib64/php/modules/suhosin.so.so (/usr/lib64/php/modules/suhosin.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Upgrading from 1.0.4. Do you want to continue? (y/N)
y
Copying files to target location...sh: rsync: command not found
Error 500: Failed to execute command: rsync -aC --out-format=%n --delete /etc/sentora/panel/etc/apps/roundcubemail-1.3.7/program/ /etc/sentora/panel/etc/apps/webmail/program/
Nevermind. Guess who never had RSYNC installed. It is now working. Thanks everyone. P.S. I installed 1.3.9 as that is the current release of roundcube.
|