Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with cardav after an upgrade #178

Open
Jojo144 opened this issue Aug 6, 2023 · 1 comment
Open

Problem with cardav after an upgrade #178

Jojo144 opened this issue Aug 6, 2023 · 1 comment

Comments

@Jojo144
Copy link

Jojo144 commented Aug 6, 2023

Hi,

After a migration to Yunohost 11, the roundcube interface was broken:

image

In /var/www/roundcube/logs/errors.log I have:

Uncaught Error: Class 'Httpful\Bootstrap' not found in /var/www/roundcube/plugins/carddav/carddav_common.php:25

Commenting cardav in the section installed plugins of /var/www/roundcube/config/config.inc.php makes the error disapear.

Exactly the same problem was described here (but without understanding the origin of the problem):
https://forum.yunohost.org/t/interface-web-roundcube-cassee-apres-migration-11/20898

Context

  • Hardware: VPS bought online

Logs

Upgrade the 'roundcube' app: https://paste.yunohost.org/raw/casuzifowa

@navanchauhan
Copy link

I fixed this issue by upgrading the carddav plugin to the latest version.

Before you do this you need to logout from YunoHost. (Another option is to disable the plugin by removing it from the list of plugins in /var/www/roundcube/config/config.inc.php and then logging out from the webmail, performing the below commands and then re-adding the plugin to the list)

sudo su
cd /var/www/roundcube
sudo -u roundcube php8.1 composer.phar require --update-no-dev -o "roundcube/carddav:*"

You will also need to update /var/www/roundcube/plugins/carddav/config.inc.php and change 'name' to 'accountname' and 'url' to 'discovery_url'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants