[Announcements][9.1.0beta1]Owncloud does not send announcements
Steps to reproduce
- As Admin enable Announcements center app
- Go to Announcement center
- Write a new announcement
Expected behaviour
Announcements generated should be sent to the clients connected to the server
Actual behaviour
Announcements are generated but not sent.
Server configuration
Operating system: Ubuntu 14.04.1 LTS Web server: Apache2 Database: Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu) PHP version: PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46 ownCloud version: ownCloud Enterprise Edition 9.1.0 beta 1 (testing)
List of activated apps: Announcement Center
The content of config/config.php:
<?php
$CONFIG = array (
'updatechecker' => false,
'supportedDatabases' =>
array (
0 => 'mysql',
1 => 'pgsql',
2 => 'oci',
),
'instanceid' => 'oco48z2585bc',
'passwordsalt' => 'ZZZZ',
'secret' => 'XXXXX',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'XXXXXX',
),
'datadirectory' => '/opt/owncloud/data',
'overwrite.cli.url' => 'XXXX',
'dbtype' => 'mysql',
'version' => '9.1.0.5',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => '',
'dbuser' => 'oc_admin',
'dbpassword' => '*** removed for security reasons',
'logtimezone' => 'UTC',
'installed' => true,
'license-key' => '*** removed for security reasons',
);
Are you using encryption: No
@mcastroSG Shouldn't this be re-opened in https://github.com/owncloud/announcementcenter/issues
Not really, the app generates notifications, if the notifications are shown in the web UI, but not in the client, it's either a time/cache problem and solves itself after the next poll, or it is an issue with the client. :wink:
@mcastroSG can you confirm that the notifications are shown in the web UI but not in the client?
@nickvergessen as could be seen at the snapshot announcement is generated and could be checked on GUI but something is not working because nothing appears on client 😭

wget http://XXXX:YYYY@serverOC/ocs/v2.php/apps/notifications/api/v1/notifications
returns
`
Did the background jobs get executed?
Setting Background Jobs
- AJAX:
1.- Create a new announcement 2.- Navigate to All files section several times and info related to "Last cron job execution" is updated but there is no announcement at any client.
- WebCron:
1.- Create a new announcement 2.- Wait 15 minutes to test, "Last cron job execution" is not updated (I mean it´s supposed to be launch every 15 minutes but we found "Last cron job execution: 17 minutes ago") and there is no announcement at any client.
- Cron:
1.- Create a new announcement 2.- Execute cron.php and announcements are sent to the clients.
Hope it helps
- WebCron needs a call to cron.php from an external system or via browser
Ajax cron needs to be executed a couple of times, because it only ever runs one
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.