Iam currently trying to do a scheduled import of an ics-file into a specific users’ calendar.
So what I’m doing is:
- Admin -> Applications -> Import | Export -> Define Imports|Exports
- +add -> Application: Calendar -> Kalendar iCal Import -> some definition name -> Owner: my user -> allowed to use: Just me
- Admin -> Applications -> Import | Export -> Schedule
- +add -> Type: Import; Application: Calendar; Plugin: Kalendar iCal Import; Definition: in step 2 created profile; Target: https://app.absence.io/ics/location/[some_hash]/cal.ics
It then adds the job to the list (I could even find it at Admin -> Asynchronous timed services) but the very first time the job is scheduled it disappears and nothing happened. Nothing to find in error-log.
So I tried the other way around with export calendar as csv.
Same steps: created a profile and tried to schedule a job for export this time with a vfs.
./filemanager/cli.php mkdir -p 'vfs://home/gruenewald?user=gruenewald&mode=777' --user root_admin --password 'my_password' --domain default
./filemanager/cli.php mount 'vfs://home/gruenewald' /var/lib/egroupware/default/files/vfs/home/gruenewald --user root_admin --password 'my_password' --domain default
When scheduling the export I define as target vfs://home/gruenewald => this gives me an error that the directory is not writeable when I provide vfs://home/gruenewald?user=gruenewald as target than I get an
PHP Fatal error: Allowed memory size of 180355072 bytes exhausted.
Any help, ideas appreciated.
I had to add this line
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'api' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'autoload.php'); at line 19 in
filemanager/cli.php since autoloading won’t work when invoking this script from commandline as described here: https://github.com/EGroupware/egroupware/wiki/VFS-System