Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread le père Léon

Le 20/08/2018 à 01:50, Peter Claes a écrit :

I had similar problem with a fresh install on Centos.

There I had to disable SELinux, it was enabled by default.

regards
Peter


Under Debian, it is disabled by default.

But maybe Debian has a specific way of treating permissions..


--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread le père Léon

Le 20/08/2018 à 01:44, le père Léon a écrit :

Still stucked, does anyone have any idea of something I could try ?

rdimport considers everything is OK and returns 0, it does insert new 
record in CART and CUTS tables, but does not write the file in /var/snd.


I suspect a write access problem between Apache and the rivendell 
user/group, but have no log reporting that.


I've tried to use strace :

$ strace -o strace.out -e open rdimport MUSIC a_soud.wav
$ tail -n 5 strace.out
open("/etc/rd.conf", O_RDONLY)  = 12
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 12
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
open("/var/snd/010019_001.wav", O_RDONLY) = -1 ENOENT (No such file or 
directory)

+++ exited with 0 +++


--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Branch name changes at GitHub

2018-08-20 Thread Fred Gleason
Howdy Folks:

I finally went ahead and straightened out the rather perplexing set of branch 
names that have been in use at Github for the past few months. As of right now, 
the following two branches are hosting active development:

stable - The default branch, whence production releases are made. Prior to 
today, this code was in the ‘v2.19’ branch.

master - Contains an ongoing port to Qt4, eventually to become Rivendell 3.x. 
This is where most work is going on right now.

For reference , the prior contents of the ‘stable’ branch (containing 
v2.19.2vlog06) have been renamed to a branch called ‘vlog’. I don’t expect to 
see additional work happen on this branch.

Confused? Please feel free to ask if you have any questions.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell Yum Repository

2018-08-20 Thread Fred Gleason
On Aug 19, 2018, at 18:14, Patrick  wrote:

> Does the Rivendell Yum Repository contain builds from the current Stable 
> branch?

‘Paravel-Broadcast-Test’ currently contains v2.19.2vlog06, but it is about to 
be superseded by a release candidate for v2.19.3. I strongly recommend *not* 
deploying v2.19.2vlog06 on a production system, as it contains a number of 
‘experimental’ features that have yet to be fully tested (hence, it’s presence 
in the ‘Test’ repo).


> Stable is currently at 2.19.2vlog06 and contains some fixes we've wanted to 
> deploy. There have not been any changes to this version since July 9.

just renamed to a branch called ‘vlog’. See my post ‘Branch name changes at 
Github’.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread rivdev


Does /var/snd exist?

Steve

On Mon, Aug 20, 2018 at 10:18:01AM +0200, le père Léon wrote:
> Le 20/08/2018 à 01:44, le père Léon a écrit :
> > Still stucked, does anyone have any idea of something I could try ?
> > 
> > rdimport considers everything is OK and returns 0, it does insert new
> > record in CART and CUTS tables, but does not write the file in /var/snd.
> > 
> > I suspect a write access problem between Apache and the rivendell
> > user/group, but have no log reporting that.
> 
> I've tried to use strace :
> 
> $ strace -o strace.out -e open rdimport MUSIC a_soud.wav
> $ tail -n 5 strace.out
> open("/etc/rd.conf", O_RDONLY)  = 12
> open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 12
> open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
> open("/var/snd/010019_001.wav", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> +++ exited with 0 +++
> 
> 
> -- 
> Léon.
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Another "How Would You.." Question: Cart Rotation

2018-08-20 Thread rivdev
Hello,

I may be having a problem of not seeing the forest from the trees, so I'm 
hoping the collective experience of the list helps.

Our station has sponsors for various specialty shows who have an ad rotation 
something like:

Widget Co:  3x per show
Another Co: 1x per show
A Third Co: 2x per show
Fourth National:  1x per show  (competes with Widget co, shouldn't play same 
break)

To achieve this result, I have set up a cart rotation for each show.  In that 
cart rotation I setup cuts to play in a specific order 
reflecting the above.  I then setup an event for each cart and created clock 
hours so that the cart would run through once per show.

This seems to work but is quite cumbersome.  The same sponsor, say Widget Co, 
might sponsor 10 shows during a week, so I need to 
import the same ad 3x per cart, resulting in a lot of wasted space.  Then if 
Widget Co changes the content of their spot it will need 
to be reimported - or if they pay late we need to stop their ads for a week, 
etc.

What are other ways to achieve this result that I'm missing?

Steve
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread Fred Gleason
On Aug 19, 2018, at 19:44, le père Léon  wrote:

> rdimport considers everything is OK and returns 0, it does insert new record 
> in CART and CUTS tables, but does not write the file in /var/snd.
> 
> I suspect a write access problem between Apache and the rivendell user/group, 
> but have no log reporting that.

Is the target system using SELinux by any chance? If so, and you have it 
running in ‘enforcing’ mode, then you’ll need to ensure that the ‘/var/snd’ 
directory has been properly tagged to allow writes from Apache. A quick way to 
check would be to run ‘sestatus’ from a root shell. If you get back a message 
that says the current mode is ‘enforcing’, then try dropping it into permissive 
mode by doing ‘setenforce permissive’ and see if that clears the problem.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread rivdev


One other thought.  Apache runs as user www-data and group www-data on Debian.  
Make sure that user and group have write access to the directory (chown 
www-data.www-data)

Steve

On Mon, Aug 20, 2018 at 10:30:34AM -0400, Fred Gleason wrote:
> On Aug 19, 2018, at 19:44, le père Léon  wrote:
> 
> > rdimport considers everything is OK and returns 0, it does insert new 
> > record in CART and CUTS tables, but does not write the file in /var/snd.
> > 
> > I suspect a write access problem between Apache and the rivendell 
> > user/group, but have no log reporting that.
> 
> Is the target system using SELinux by any chance? If so, and you have it 
> running in ???enforcing??? mode, then you???ll need to ensure that the 
> ???/var/snd??? directory has been properly tagged to allow writes from 
> Apache. A quick way to check would be to run ???sestatus??? from a root 
> shell. If you get back a message that says the current mode is 
> ???enforcing???, then try dropping it into permissive mode by doing 
> ???setenforce permissive??? and see if that clears the problem.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
> 

> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread Fred Gleason
On Aug 20, 2018, at 10:34, riv...@braingia.org wrote:

> One other thought.  Apache runs as user www-data and group www-data on 
> Debian.  Make sure that user and group have write access to the directory 
> (chown www-data.www-data)

No! Not correct.

‘/var/snd’ should be owned by the user and group set in the [Identity] section 
of ‘/etc/rd.conf’ (normally, ‘rivendell’). This should be a role-based account 
created specifically for Rivendell. The ‘rdxport.cgi’ binary (installed in the 
location specified by --libexecdir) should likewise to SETUID to that same user.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Branch name changes at GitHub

2018-08-20 Thread Patrick

> 
> On Aug 20, 2018, at 6:58 AM, Fred Gleason  wrote:
> 
> Howdy Folks:
> 
> I finally went ahead and straightened out the rather perplexing set of branch 
> names that have been in use at Github for the past few months. As of right 
> now, the following two branches are hosting active development:
> 
> stable - The default branch, whence production releases are made. Prior to 
> today, this code was in the ‘v2.19’ branch.
> 
> master - Contains an ongoing port to Qt4, eventually to become Rivendell 3.x. 
> This is where most work is going on right now.
> 
> For reference , the prior contents of the ‘stable’ branch (containing 
> v2.19.2vlog06) have been renamed to a branch called ‘vlog’. I don’t expect to 
> see additional work happen on this branch.

I'm confused about this one. Does this mean that the following changes will, or 
will not, be incorporated into the stable branch and 2.19.3 release?

2018-05-25 Fred Gleason 
* Merged pull request #000209, "Prioritize scheduler code over
artist/title separation".
2018-05-25 Fred Gleason 
* Merged pull request #000205, "Makefile fixes".
2018-05-25 Fred Gleason 
* Merged pull request #000195, "Fixed bug where CheckOrphanedTracks()
would remove valid voice tracks".
2018-05-25 Fred Gleason 
* Merged pull request #000191, "Add RLM to update metadata on TuneIn."
* Updated the 'rlm_tunein' plug-in to support vlogs.
2018-05-25 Fred Gleason 
* Merged pull request #000194, "Fixed bug in GetStream() where
return value from HPI_OutStreamOpen was ignored".
2018-05-25 Fred Gleason 
* Merged pull request #000197, "Issue 195 rlm_filewrite filename
wildcards".
2018-05-29 Fred Gleason 
* Merged pull request #000212, "Patches for building on Ubuntu 18.04".
2018-05-30 Fred Gleason 
* Merged pull request #000200, "Set SCHEDULED_AT when adding to
the STACK".
2018-05-31 Patrick Linstruth 
* Implemented purging of STACK_* tables for RDMaint(1) in
'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.

> 
> Confused? Please feel free to ask if you have any questions.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Branch name changes at GitHub

2018-08-20 Thread Fred Gleason
On Aug 20, 2018, at 10:53, Patrick  wrote:

> I'm confused about this one. Does this mean that the following changes will, 
> or will not, be incorporated into the stable branch and 2.19.3 release?
> 
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000209, "Prioritize scheduler code over
> artist/title separation".
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000205, "Makefile fixes".
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000195, "Fixed bug where CheckOrphanedTracks()
> would remove valid voice tracks".
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000191, "Add RLM to update metadata on TuneIn."
> * Updated the 'rlm_tunein' plug-in to support vlogs.
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000194, "Fixed bug in GetStream() where
> return value from HPI_OutStreamOpen was ignored".
> 2018-05-25 Fred Gleason  >
> * Merged pull request #000197, "Issue 195 rlm_filewrite filename
> wildcards".
> 2018-05-29 Fred Gleason  >
> * Merged pull request #000212, "Patches for building on Ubuntu 18.04".
> 2018-05-30 Fred Gleason  >
> * Merged pull request #000200, "Set SCHEDULED_AT when adding to
> the STACK".
> 2018-05-31 Patrick Linstruth  >
> * Implemented purging of STACK_* tables for RDMaint(1) in
> 'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.

Those are all in ‘master’. We may be able to back port them to ‘stable’ (though 
I’d rather devote that time to getting the Qt4 port done). We’re very close to 
having a beta release ready.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Still can't add active services to groups

2018-08-20 Thread pab
After replacing hard drive and reinstalling Rivendell client, all groups now
have no active services, and attempts to add active services revert as soon
as "OK" is pressed.

 

Version 2.19.2-1 DB Schema 275.

 

Machine name and IP are same as on previous client.

 

Any ideas why this is happening? Where in the DB are active services for
groups set? Maybe my DB got corrupted somehow (although rddbcheck reports
all okay).

 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Still can't add active services to groups

2018-08-20 Thread Cowboy
On Mon, 20 Aug 2018 11:44:28 -0400
 wrote:

> After replacing hard drive and reinstalling

 Reinstalling CentOS ?
 Have you seen the previous threads about selinux ?

-- 
Cowboy 

After his Ignoble Disgrace, Satan was being expelled from
Heaven.  As he passed through the Gates, he paused a moment in thought,
and turned to God and said, "A new creature called Man, I hear, is soon
to be created."
"This is true," He replied.
"He will need laws," said the Demon slyly.
"What!  You, his appointed Enemy for all Time!  You ask for the
right to make his laws?"
"Oh, no!"  Satan replied, "I ask only that he be allowed to
make his own."
It was so granted.
-- Ambrose Bierce, "The Devil's Dictionary"
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Still can't add active services to groups

2018-08-20 Thread pab
Have not, but SELinux is disabled.

-Original Message-

> After replacing hard drive and reinstalling

 Reinstalling CentOS ?
 Have you seen the previous threads about selinux ?


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] scheduler stops hour at 1st voicetrack

2018-08-20 Thread Peter Claes
I have a strange problem.

I imported our database a while a go, onto a new machine.
Everything is tested, and runs perfectly.

Until I made a new clock under the new database structure.

In the new clock (copy and paste from another one) it stops at the 1st
voicetrack, and starts a new clock.

I generate the logs via a cron job, only then this occurs.

If generate a log via Rdllogmanager, this is not happening.

Could this be user related ?

Regards
Peter
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread le père Léon

Le 20/08/2018 à 16:09, riv...@braingia.org a écrit :

Does /var/snd exist?


It does, is owned by rivendell:rivendell, is 775 and more...

--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread le père Léon

Le 20/08/2018 à 16:30, Fred Gleason a écrit :
On Aug 19, 2018, at 19:44, le père Léon > wrote:


rdimport considers everything is OK and returns 0, it does insert new 
record in CART and CUTS tables, but does not write the file in /var/snd.


I suspect a write access problem between Apache and the rivendell 
user/group, but have no log reporting that.


Is the target system using SELinux by any chance? If so, and you have it 
running in ‘enforcing’ mode, then you’ll need to ensure that the 
‘/var/snd’ directory has been properly tagged to allow writes from 
Apache. A quick way to check would be to run ‘sestatus’ from a root 
shell. If you get back a message that says the current mode is 
‘enforcing’, then try dropping it into permissive mode by doing 
‘setenforce permissive’ and see if that clears the problem.


# apt -y install policycoreutils
# sestatus
SELinux status: disabled

SELinux would really be disabled by default..


--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] destination file not created - Debian 8 fresh install

2018-08-20 Thread le père Léon

Le 20/08/2018 à 16:40, Fred Gleason a écrit :
On Aug 20, 2018, at 10:34, riv...@braingia.org 
 wrote:


One other thought.  Apache runs as user www-data and group www-data on 
Debian.  Make sure that user and group have write access to the 
directory (chown www-data.www-data)


Have tried it, but it did not change anything..


No! Not correct.

‘/var/snd’ should be owned by the user and group set in the [Identity] 
section of ‘/etc/rd.conf’ (normally, ‘rivendell’). This should be a 
role-based account created specifically for Rivendell. The ‘rdxport.cgi’ 
binary (installed in the location specified by --libexecdir) should 
likewise to SETUID to that same user.


I must say that the sound test file - created when launching rdadmin and 
the Rivendell database does not exist- is created only when my user is 
in rivendell group and /var/snd is g+w (or when I launch rdadmin as the 
superuser).


--
Léon.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev