The feeds update only once

by parasar, Tuesday, June 14, 2016, 18:56 (2845 days ago)

I have created a class jenkins.php /var/www/selfoss/spouts/jenkins.

I am able to add the new source details. But the rss feeds from the jenkins page only update once. Running cliupdate.php from command line or from address bar <ipaddress>/selfoss/update returns finished and does not throw any error but the page always has the old feeds the new feeds does not get updated.
Any suggestions in this direction ?

The feeds update only once

by jtojnar, Wednesday, June 15, 2016, 11:52 (2844 days ago) @ parasar

Do you have debug mode enabled? (In common.php: $f3->set('DEBUG',1); and in config.ini: logger_level=DEBUG).

Could you share the log output and the source of the spout?

The feeds update only once

by parasar, Wednesday, June 15, 2016, 19:00 (2844 days ago) @ jtojnar

Thank You fro the response
Here are the logs after making suggested changes
06-15-16 1:09:24 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:37:13 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:37:13 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:43:11 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:49:10 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:54:11 Error Unimplemented method for sqlite: numberOfUnreadForTag
06-15-16 16:54:54 Debug Establish database connection
06-15-16 16:54:54 Debug ---
06-15-16 16:54:54 Debug start fetching source "new_build (id: 6)
06-15-16 16:54:54 Debug spout successfully loaded: spouts\jenkins\jenkins
06-15-16 16:54:54 Debug fetch content
06-15-16 16:54:54 Debug minimum date: 2016-05-16 16:54:54
06-15-16 16:54:54 Debug start item fetching
06-15-16 16:54:54 Debug destroy spout object
06-15-16 16:54:54 Debug cleanup orphaned and old items
06-15-16 16:54:54 Debug cleanup orphaned and old items finished
06-15-16 16:54:54 Debug delete orphaned thumbnails
06-15-16 16:54:54 Debug delete orphaned thumbnails finished
06-15-16 16:54:54 Debug delete orphaned icons
06-15-16 16:54:54 Debug delete orphaned icons finished
06-15-16 16:54:54 Debug optimize database
06-15-16 16:54:54 Debug optimize database finished
06-15-16 16:54:58 Debug Establish database connection
06-15-16 16:55:02 Debug Establish database connection
06-15-16 16:55:02 Debug cleanup orphaned and old items
06-15-16 16:55:02 Debug cleanup orphaned and old items finished
06-15-16 16:55:02 Debug delete orphaned thumbnails
06-15-16 16:55:02 Debug delete orphaned thumbnails finished
06-15-16 16:55:02 Debug delete orphaned icons
06-15-16 16:55:02 Debug delete orphaned icons finished
06-15-16 16:55:02 Debug optimize database
06-15-16 16:55:02 Debug optimize database finished
06-15-16 16:55:02 Debug Establish database connection

The feeds update only once

by parasar, Wednesday, June 15, 2016, 19:07 (2844 days ago) @ jtojnar

Following is the source for the spout.It is same as feed.php in rss spout. I have only made changes in the params
<?PHP

namespace spouts\jenkins;

/**
* Spout for fetching an rss feed from jenkins
*
* @package spouts
* @subpackage rss
* @copyright Copyright (c) Tobias Zeising (http://www.aditu.de)
* @license GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
* @author Tobias Zeising <tobias.zeising@aditu.de>
*/
class jenkins extends \spouts\spout {

/**
* name of source
*
* @var string
*/
public $name = 'jenkins';


/**
* description of this source type
*
* @var string
*/
public $description = 'A default Jenkins Feed as source';


/**
* config params
* array of arrays with name, type, default value, required, validation type
*
* - Values for type: text, password, checkbox
* - Values for validation: alpha, email, numeric, int, alnum, notempty
*
* e.g.
* array(
* "id" => array(
* "title" => "URL",
* "type" => "text",
* "default" => "",
* "required" => true,
* "validation" => array("alnum")
* ),
* ....
* )
*
* @var bool|mixed
*/
public $params = array(
"url" => array(
"title" => "URL",
"type" => "url",
"default" => "http://xxx.xx.xxx.xx:8080/view/xxxx/rssLatest",
"required" => true,
"validation" => array("notempty")
)
);


}

The feeds update only once

by parasar, Thursday, August 04, 2016, 23:08 (2794 days ago) @ parasar

Could somebody help on this

The feeds are updating at 2-three days interval.

RSS Feed of thread
powered by my little forum