1 (edited by Neovana 2025-04-28 05:48:56)

Topic: OpenBSD 7.6, iRedMail 1.7.3, Updating to roundcubemail-1.6.10

I ran into some errors updating my system. Here are the steps that would have bypassed those errors.

• Login as root.
• Switch to root folder.
• Download latest roundcubemail.
• Uncompress roundcubemail.
• Switch to roundcubemail directory.
• Create temporary softlink for php (required for roundcubemail script).
• Edit php.ini.

% doas -s
# cd /root
# wget -O roundcubemail-1.6.10.tar.gz https://github.com/roundcube/roundcubemail/releases/download/1.6.10/roundcubemail-1.6.10-complete.tar.gz
# tar zxf roundcubemail-1.6.10.tar.gz
# cd roundcubemail-1.6.10
# ln -s /usr/local/bin/php-8.1 /usr/local/bin/php
# nano /etc/php-8.1.ini

• Need to temporarily remove "system," from disabled functions list:

; This directive allows you to disable certain functions.
; It receives a comma-delimited list of function names.
; https://php.net/disable-functions

• Updated roundcubemail over previous install.
• Edit php.ini.

# ./bin/installto.sh /opt/www/roundcubemail
# nano /etc/php-8.1.ini

• Need to re-add "system," from disabled functions list:

; This directive allows you to disable certain functions.
; It receives a comma-delimited list of function names.
; https://php.net/disable-functions

• Remove temporary softlink for php.
• Rename roundcubemail directory.
• Remove old roundcubemail symlink.
• Add new roundcubemail symlink.
• Remove roundcubemail compressed download.
• Remove old roundcubemail uncompressed download.
• Reboot.

# rm /usr/local/bin/php
# mv /opt/www/roundcubemail-1.6.9 /opt/www/roundcubemail-1.6.10
# rm /opt/www/roundcubemail
# ln -s /opt/www/roundcubemail-1.6.10 /opt/www/roundcubemail
# rm /root/roundcubemail-1.6.10.tar.gz
# rm -fr /root/roundcubemail-1.6.9
# shutdown -r now

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: OpenBSD 7.6, iRedMail 1.7.3, Updating to roundcubemail-1.6.10

Don't run OpenBSD, but thank you for sharing.