FS#72530 - [roundcubemail] Add a post upgrade note to run update.sh script

Attached to Project: Community Packages
Opened by AMM (amish) - Sunday, 24 October 2021, 04:56 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 10 February 2023, 18:57 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Often when running pacman -Syu and when there are multiple packages, the update to roundcubemail gets lost unnoticed.

However it is important to run /usr/share/webapps/roundcubemail/bin/update.sh after roundcubemail is updated, so that database schema are updated as per new version.

https://github.com/roundcube/roundcubemail/blob/master/UPGRADING#L67

I would suggest a post upgrade note via an install file so that administrators dont forget to run update.sh script after roundcubemail is upgraded.

Something similar to what postgresql update does.
https://github.com/archlinux/svntogit-packages/blob/packages/postgresql/trunk/postgresql.install

Thank you.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 10 February 2023, 18:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  in svn/trunk only, will appear in next release
Comment by AMM (amish) - Sunday, 24 October 2021, 05:00 GMT
I just read additional note on roundcubemail UPGRADING page:

To update just the database the command would be:
/usr/share/webapps/roundcubemail/bin/updatedb.sh --package=roundcube --dir=SQL

https://github.com/roundcube/roundcubemail/blob/master/UPGRADING#L102

So post install note can mention both the methods and administrator can choose the one that fits their scenario.

Loading...