calendar
calendar copied to clipboard
can't install v0.0.7 nor "dev-master" on roundcube 1.4.11
If I add this Plugin to composer.json it conflicts with the roundcube/plugin-installer:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires texxasrulez/calendar ~0.0.7.0 -> satisfiable by texxasrulez/calendar[0.0.7].
- texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> found roundcube/plugin-installer[0.1.6, ..., 0.1.10] but it conflicts with your root composer.json require (~0.2.0).
This seems already fixed on master branch, can you please create a new release including that fix?
If I use "dev-master" as version the "run-script post-install-cmd" command fails because the regex pattern does not match:
[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:
- version : Does not match the regex pattern ^v?\d+(\.\d+){0,3}|^dev-
this seems to work as designed by composer https://getcomposer.org/doc/04-schema.md#version
Seems to me there is no smooth installation possible with latest roundcube Version and plugin Version 0.0.7 or dev-master.
I'm testing it with Roundcube 1.5 and had the same error.
I installed the plugin manually and it works. I have other problems that come I think from the v1.5 or maybe because it's a Nextcloud calendar more than the fact I installed it manually. Maybe you'll be able to confirm this.
- I edited composer.json and added the requirements from calendar plugin (in the require section)
"texxasrulez/libcalendaring": "*",
"texxasrulez/libkolab": "*",
"sabre/dav": "*",
"league/oauth2-client": "*",
"league/oauth2-google": "*"
- execute this command:
sudo -u www-data php composer.phar update
# (answer y to the 2 questions about activating a plugin)
- in the plugins directory:
wget https://github.com/texxasrulez/calendar/archive/refs/heads/master.zip
unzip master.zip
rm master.zip
mv calendar-master/ calendar
chown www-data: -R calendar/
cp -a calendar/config.inc.php.dist calendar/config.inc.php
# backup the file vendor/sabre/vobject/lib/DateTimeParser.php then
cp -a plugins/calendar/vendor/sabre/vobject/lib/DateTimeParser.php vendor/sabre/vobject/lib/
- create the required tables in the Db (mysql / mariadb)
mysql -u user -p roundcube < calendar/SQL/mysql.initial.sql
- activate the plugin in roundcube (config/config.inc.php):
$config['plugins'] = [
...
'calendar',
The calendars are there and seem to work well. My problems are with the linked Nextcloud calendar I set up where it doesn't show all the times the entries from the Nextcloud calendar, but I can encode new entries from Roundcube and they show in Nextcloud. I'll do a separate ticket for this.