Re: [RDD] Nautel RBDS Pypad script question
Le 23/04/2022 à 05:05, Rob Landry a écrit : [...] I have a funny feeling the script is never reading the config file. Where is the config file stored? In the database. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Compiling Rivendell
Le 10/12/2021 à 23:15, Tim Camp a écrit : > I remember this coming up before and have found some discussion on it, > but what is the final determination of what to do about pow10 in cae > causing make to error out? http://caspian.paravelsystems.com/pipermail/rivendell-dev/2018-July/026975.html -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] 3.1 bug : can't update to DataBase schema 310
Le 19/03/2021 à 18:20, Lorne Tyndale a écrit : > I don't know if that patch is specific to MariaDB, I've only used MySQL. I think it's not. > But I do know that for MySQL on Ubuntu 18.04 and Rivendell 3.x to work, > you need to add the "disable strict mode" configuration file to the > MySQL setup. Otherwise it throws all sorts of errors. Something similar > might be needed for MariaDB. Thank you for this information. As far as there are only 5 lines which don't respect that "strict mode", would it be acceptable to correct that code in RD ? I posted the proposed diff, here is the archive : http://caspian.paravelsystems.com/pipermail/rivendell-dev/2019-November/028297.html -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Wiki access?
Le 14/11/2020 à 03:38, Lorne Tyndale a écrit : > I'm just wondering who I need to contact to be able to add to the > Rivendell Wiki? http://wiki.rivendellaudio.org/index.php/Special:RequestAccount -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Compiling latest release version on Ubuntu 18.04
Le 12/08/2020 à 18:26, Tim Camp a écrit : > Ok, well after compiling musicbrainz library from source, make got > passed that string of errors and then stopped in the same manner because > of libcoverart. Since 3.3.0 under Debian 10 I've had to : sudo apt install libdiscid-dev libmusicbrainz5-dev libcoverart-dev (http://wiki.rivendellaudio.org/index.php/Debian10) These 3 packages are available in universe section of bionic packages. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell v3.3.0
Le 30/03/2020 à 05:00, Rob Landry a écrit : > [...] sometimes it will compile and sometimes it won't. I can > unstall Rivendell, blow out rivendell-3.3.0, gunzip the .tar.gz file to > make a virgin rivendell-3.3.0, and recompile the same source code... and > it's even money whether or not it will compile. Could it be a problem related to the machine ? its memory for example.. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell v3.3.0
Le 22/03/2020 à 14:58, Rob Landry a écrit : > Well, finally got it to work. I blew out rivendell-3.3.0, re-gunzipped > rivendell-3.3.0.tar.gz, then edited the source code manually, rather > than applying the patch. The "default ''" appeared as "default " in the wiki. Modified. > Now rdadmin is complaining that the Rivendell daemons aren't running; > evidently in this new era of v3 it doesn't automatically start them as > it used to in v2. But that's no big deal. As noticed in the wiki, you can use : - to start the daemons : $ systemctl start rivendell - to fix it at boot time : $ systemctl enable rivendell > Debian is probably not going to be a viable option for Rivendell going > forward, I think. Could you explain the reason why you think so ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell v3.3.0
Le 24/03/2020 à 13:14, Schwoon, newsletter a écrit : > For Debian 10 it needs the package: > python3-mysqldb > to get pypad (icecast) running.! If the wiki editor like to add that..?! Done. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell v3.3.0
Le 19/03/2020 à 19:12, Rob Landry a écrit : > Now, after I execute: rddbmgr --create --generate-audio > I get a databdase that isn't the right version; rdadmin reports: > Database version mismatch, should be 314, is 309. Since 3.1.0 you have to patch the code of the file utils/rddbmgr/updateschema.cpp See : http://wiki.rivendellaudio.org/index.php/Debian10 https://github.com/ElvishArtisan/rivendell/issues/515 -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] non-blocking bug since v3.1.0, related to CART.MINIMUM_TALK_LENGTH
Updating from 3.0.3int2 to 3.2.0, when dropboxes are importing, I have that kind of log : dropbox[44]: invalid SQL or failed DB connection[Out of range value for column 'MINIMUM_TALK_LENGTH' at row 1 QMYSQL: Unable to execute query]: update CART set MINIMUM_TALK_LENGTH=-1 where NUMBER=125475 In CART table, MINIMUM_TALK_LENGTH is an "int(10) unsigned". And, could anyone tell me.. what's the best place for reporting bugs ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] 3.1 bug : can't update to DataBase schema 310
I did not specify, but it is on a Debian 10 system. Le 09/10/2019 à 11:23, le père Léon a écrit : > Since 310 DB schema, I can't modify or even create a new complete database. > > leon@rivendell:~$ sudo rddbmgr --create > DB connection re-established > invalid SQL or failed DB connection[Field 'STATION' doesn't have a > default value QMYSQL: Unable to execute query]: insert into > NEXUS_STATIONS set RD_SERVICE="Production" > rddbmgr: sql error: Field 'STATION' doesn't have a default value QMYSQL: > Unable to execute query query: insert into NEXUS_STATIONS set > RD_SERVICE="Production" > > > DB creation is halted on 309 DB schema > > > MariaDB [Rivendell]> select * from VERSION; > +-+-+--+ > | DB | LAST_MAINT_DATETIME | LAST_ISCI_XREFERENCE | > +-+-+--+ > | 309 | 1970-01-01 00:00:00 | 1970-01-01 00:00:00 | > +-+-+--+ > 1 row in set (0.000 sec) > > MariaDB [Rivendell]> desc NEXUS_STATIONS; > +---+---+--+-+-+---+ > | Field | Type | Null | Key | Default | Extra | > +---+---+--+-+-+---+ > | STATION | varchar(255) | NO | | NULL| | > | CATEGORY | varchar(10) | NO | | NULL| | > | AUTO_MERGE| enum('N','Y') | YES | | N | | > | RD_SERVICE| varchar(10) | NO | | NULL| | > | RD_GROUP_NAME | varchar(10) | NO | | NULL| | > | RD_SCHED_CODE | varchar(11) | NO | | NULL| | > +---+---+--+-+-+---+ > 6 rows in set (0.001 sec) > > > > Nearly everything defaults to NULL and can't be NULL, but the values are > not specified in the INSERT query. > > -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] 3.1 bug : can't update to DataBase schema 310
Since 310 DB schema, I can't modify or even create a new complete database. leon@rivendell:~$ sudo rddbmgr --create DB connection re-established invalid SQL or failed DB connection[Field 'STATION' doesn't have a default value QMYSQL: Unable to execute query]: insert into NEXUS_STATIONS set RD_SERVICE="Production" rddbmgr: sql error: Field 'STATION' doesn't have a default value QMYSQL: Unable to execute query query: insert into NEXUS_STATIONS set RD_SERVICE="Production" DB creation is halted on 309 DB schema MariaDB [Rivendell]> select * from VERSION; +-+-+--+ | DB | LAST_MAINT_DATETIME | LAST_ISCI_XREFERENCE | +-+-+--+ | 309 | 1970-01-01 00:00:00 | 1970-01-01 00:00:00 | +-+-+--+ 1 row in set (0.000 sec) MariaDB [Rivendell]> desc NEXUS_STATIONS; +---+---+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +---+---+--+-+-+---+ | STATION | varchar(255) | NO | | NULL| | | CATEGORY | varchar(10) | NO | | NULL| | | AUTO_MERGE| enum('N','Y') | YES | | N | | | RD_SERVICE| varchar(10) | NO | | NULL| | | RD_GROUP_NAME | varchar(10) | NO | | NULL| | | RD_SCHED_CODE | varchar(11) | NO | | NULL| | +---+---+--+-+-+---+ 6 rows in set (0.001 sec) Nearly everything defaults to NULL and can't be NULL, but the values are not specified in the INSERT query. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell v3.1.0 : segfault after trying to update the db schema
Le 19/09/2019 à 22:33, Fred Gleason a écrit : >Be sure to run 'rddbmgr --modify' (as root) immediately after >upgrading to allow any necessary changes to the database schema to >be applied. Running Debian 10, trying to upgrade from 3.0.3 to 3.1 # systemctl stop rivendell # make install; ldconfig # rddbgmr --modify DB connection re-established Erreur de segmentation (-> means *segfault*) in /var/log/syslog : ... kernel: [...] rddbmgr[...]: segfault at 30 ip ... sp ... error 4 in librd-3.1.0.so[...] -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] beta to production...
Le 05/09/2019 à 22:19, Timothy Elwell a écrit : > Can't seem to find the email chain now that discussed moving from Riv 3 > beta to the full production release. This was installed via the beta > install scripts from Fred on CentOS7. > > Is it as simple as 'yum remove rivendell', then downloading the new > scripts and running that installer or are there other steps that need to > happen. I was just testing on this machine before the full release, so > I'm not concerned about /var/snd or database entries. They'll all be > redone when the full release is properly installed on this machine. yum update rivendell ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] 3.0.3 caed segfault
Le 30/08/2019 à 04:03, li...@lokum.ro a écrit : > So something must be be fishy with debian10 as any usb sound card fails > (tried 2 types) but with internal cards works. Doesn't fail for me on Debian 10 with a usb soundcard, a Focusrite Scarlett. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] RN command vs RN script
Trying the RN macro (from a terminal) with 2 methods : 1/ trying to launch a system command (with 1 argument) $ rmlsend "RN touch /tmp/test_rd_from_command!" -> does not create the file 2/ trying to launch a script $ cat >/my/path/myscript < does create the file What's wrong with the first method ? Is it normal and for security reason (that I could easily understand) ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] make install and rd client only
With "make install", I will install the full rd application : server + client. Is there any way for installing only the client part ? just as the CentOS packages do. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Compiling Rivendell 3.0 rc0.0 on debian 9
Le 20/04/2019 à 22:30, Patrick a écrit : > Clearly we need some instructions for compiling on Debian systems. I wrote a few lines : http://wiki.rivendellaudio.org/index.php/Debian9 have to update for the new debian-specific runuser bug. I did not check if last revisions do really work after the described install. All additions and modifications are welcome !! -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell 3.0.0beta00 packages for Ubuntu 18.04 LTS (bionic)
Le 20/02/2019 à 21:54, Florent Peyraud a écrit : > And to begin with, I'm pleased to announce that Ubuntu packages are > available for *testing*. Here is the procedure for installation Do you plan to make packages for Debian 9/10 ? Else I can try, as I managed to install for Deb9.. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell 3.0.0beta00 packages for Ubuntu 18.04 LTS (bionic)
Le 21/02/2019 à 10:54, Pedro Picoto a écrit : > Following: sudo apt-key add - echo "deb > https://apt-rec.rivendell-fr.org/ bionic main contrib non-free beta" > and after inserting the password my terminal stalls, rendering the > action useless. Something wrong here? the command ? please re-check : > On Wed, Feb 20, 2019 at 8:54 PM Florent Peyraud > mailto:fpeyr...@rivendell-fr.org>> wrote: > > 1) add the repository > > sudo apt-get install apt-transport-https > wget -q -O - https://apt.rivendell-fr.org/release.asc | sudo apt-key > add - > echo "deb https://apt-rec.rivendell-fr.org/ bionic main contrib > non-free > beta"|sudo tee /etc/apt/sources.list.d/rivendell-fr.list > sudo apt-get update -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] [RESOLVED] destination file not created - Debian 8 fresh install
Le 22/08/2018 à 15:30, Fred Gleason a écrit : On Aug 22, 2018, at 01:46, le père Léon <mailto:news.l...@free.fr>> wrote: Is there any way for tracing the cgi script ? Not easily. It basically requires instrumenting the source code. Trying to test setuid with my own cgi program, I realised there was a configuration problem, as cgi module is disabled by default. # a2enmod cgid # service apache2 restart $ rdimport MUSIC test.wav $ ls -ld /var/snd The file is now created and owned by rivendell:rivendell Note that when launching rdadmin at the first time, the test wav file is (still) not created if the user is not in rivendell group (and is not root). -- 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
Le 21/08/2018 à 17:55, Fred Gleason a écrit : On Aug 20, 2018, at 17:14, le père Léon <mailto:news.l...@free.fr>> wrote: 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). Which implies that the permissions in ‘/var/snd’ are in fact correct. This smells like a problem with Apache. Is this a SystemD setup? If so, it might be worth trying starting httpd by hand, rather than using the SystemD service unit file. The developers of SystemD have rather a habit of unilaterally deciding that certain actions are ‘insecure’ and then (silently) preventing service processes from performing them. Debian 8 (and following) are systemD. I don't feel rewriting my own init script for Apache, but running Apache as root would probably help. I also think about security reasons, as I can hardly imagine how the web server running as www-data: user could get root permissions to setuid a file to any user. (oh yes.. the cgi has rws user rights..) Having /var/snd owned by www-data could be a solution, acl also could help. It seems that rdxport.cgi should stop if it does not get the required uid and gid, but I have no logs about it. Is there any way for tracing the cgi script ? -- 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
Le 20/08/2018 à 16:30, Fred Gleason a écrit : On Aug 19, 2018, at 19:44, le père Léon <mailto:news.l...@free.fr>> 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
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
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
Re: [RDD] destination file not created - Debian 8 fresh install
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
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. Here is my detailed installation procedure : - install Debian 8.11 with xfce, update system # vi /etc/apt/sources.list -> delete the line refering to the cdrom # apt update # apt upgrade - install apache2 and mysql # apt install apache2 # apt install mysql-server -> don't forget the root db password defined there - install compilation tools # apt install make gcc g++ - check my user can write in /usr/local # ls -ld /usr/local # adduser leon staff - create rivendell user and check /var/snd permissions # adduser --system --group --home=/var/snd rivendell # chmod g+w /var/snd # adduser leon rivendell # chmod ug+s /var/snd - configure env variables for qt3 $ echo '# Qt3 env variables > QTDIR=/usr/local/qt3 > PATH=$QTDIR/bin:$PATH > MANPATH=$QTDIR/doc/man:$MANPATH > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH > export QTDIR PATH MANPATH LD_LIBRARY_PATH > ' >> ~/.bash_aliases - reboot (kernel update, user groups, env..) # reboot - download qt3, install depedencies, compile $ wget https://download.qt.io/archive/qt/3/qt-x11-free-3.3.8b.tar.gz $ cd /usr/local $ tar xf ~/qt-x11-free-3.3.8b.tar.gz $ ln -s qt-x11-free-3.3.8b/ qt3 $ cd qt3 # apt install libx11-dev libxext-dev libxt-dev libmysqlclient-dev $ ./configure $ vi include/qmap.h include/qvaluelist.h -> add near line 55 #include $ vi src/sql/drivers/mysql/qsql_mysql.h -> modify line 53 #include $ make - download rivendell, install depedencies, compile $ cd $ wget http://rivendellaudio.org/ftpdocs/rivendell/rivendell-2.19.2.tar.gz $ tar xf rivendell-2.19.2.tar.gz $ cd rivendell-2.19.2/ # apt install libssh-dev libsamplerate0-dev libsndfile1-dev \ > libcdparanoia-dev libid3-3.8.3-dev libcurl4-openssl-dev \ > libpam0g-dev libsoundtouch-dev libasound2-dev libflac++-dev \ > libmp4v2-dev libmad0-dev libtwolame-dev libmp3lame-dev libfaad-dev $ ./configure --libexecdir=/var/www/rd-bin \ > --sysconfdir=/etc/apache2/conf-available $ make - install and configure rivendell # cd /home/leon/rivendell-2.19.2/ # make install # cp conf/rd.conf-sample /etc/rd.conf # a2enconf rd-bin && service apache2 reload # vi /etc/init.d/rivendell -> :%s/alsasound/alsa-utils/g -> :%s/mariadb/mysql/g -> :wq # update-rc.d rivendell defaults # update-rc.d rdrepld defaults $ rdadmin => Rivendell DB and its tables are created => first test sound is created # rdalsaconfig -> add the available audio cards - test import $ rdimport MUSIC a_sound.wav -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] "unable to create destination file" - Debian 8 fresh install
Le 28/07/2018 à 08:33, Gary Hodder a écrit : I've tried. It does not work for me. I mean, not more. It seams that in Debian 8 the /var/www/rd-bin can be a bin directory (and /var/www/html can stay an fixed pages directory). The rd-bin directory also has web pages that need to be in the apache document root to read them. I don't think so : html pages are default-handler in your /var/www/html/rd-bin directory See rd-bin.conf and https://httpd.apache.org/docs/2.4/handler.html There is no apache error when I try to rdimport, even in debug LogLevel. I have no more error message since apache is configured, but the wav file is still not created. If you still have rd-bin.conf in /etc/apache2/rivendell then its out side of the apache configeration hierarchy. So as far as apache is concerned rd does not exist so there wont be rd error messages in the log. You could move things but that may break rd elsewhere so I would personly start again. To save confusion later on remove the broken unused directories /etc/apache2/rivendell and /var/www/rd-bin. Goto rd source Make clean ./configure --libexecdir=/var/www/html/rd-bin -- sysconfdir=/etc/apache2/sites-available make make install make sure rd-bin.conf is in /etc/apache2/sites-available and it is also symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf that should point to /var/www/html/rd-bin. Restart apache2 and rd and try again. Sorry Garry, but this does not make any difference on my system, both working the same (good ?) way. I've followed your conf options with a fresh install : I still have nothing written in my /var/snd directory on a new fresh deb8 install. And I really don't like to considere rd-bin.conf as a "site configuration" for my localhost server, I consider this as a "conf configuration". -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] "unable to create destination file" - Debian 8 fresh install
Le 24/07/2018 à 04:11, Gary Hodder a écrit : I compiled rivendell 2.19.2 with : ./configure --libexecdir=/var/www/rd-bin --sysconfdir=/etc/apache2/rivendell I remember reading quite some time ago that apache2 by default for security reasons will not look out side of its set root directory. In debian 9.4 its document root is /var/www/html It also looks like it only checks its include directories for *.conf files so It wont find /etc/apache2/rivendell/rd-bin.conf I had it wrong at the start so deleted the directories files from the wrong paths and recompiled. configure --libexecdir=/var/www/html/rd-bin -- sysconfig=/etc/apache/sites-available make install wont over write conf files so check rd-bin.conf in sites- available points to, in my case /var/www/html/rd-bin rd-bin.conf is symlinked from /etc/apache2/sites-available to /etc/apache2/sites-enabled Restart apache2 and rd. Now import works. I've tried. It does not work for me. I mean, not more. It seams that in Debian 8 the /var/www/rd-bin can be a bin directory (and /var/www/html can stay an fixed pages directory). There is no apache error when I try to rdimport, even in debug LogLevel. I have no more error message since apache is configured, but the wav file is still not created. -- 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
Le 23/07/2018 à 20:04, Fred Gleason a écrit : On Jul 22, 2018, at 12:28, le père Léon <mailto:news.l...@free.fr>> wrote: I just have no message or log telling me if it does or not. Apache log returns 200 -> ok In the database, CUTS and CARTS are filled. Unfortunately nothing is written in /var/snd. Check your permissions in ‘/var/snd’. That directory should be mode 775 or 770, and owned by the same user and group that are specified in the ‘Audiowner=‘ and ‘audioGroup=‘ directives in the [Identity] section of ‘/etc/rd.conf’. All this seems to be correct : # ls -ld /var/snd/ drwxrwxr-x 2 rivendell rivendell 4096 juil. 17 15:56 snd # grep ^Audio /etc/rd.conf AudioOwner=rivendell AudioGroup=rivendell # grep rivendell /etc/passwd /etc/group /etc/passwd:rivendell:x:1001:1001::/var/snd:/bin/false /etc/group:rivendell:x:1001: you can get more detailed information by adding ‘LogXloadDebugData=Yes’ to the ‘[Logs]’ section of ‘/etc/rd.conf’. The added information will be sent to the syslog. I don't get any more information and since Apache is configured, I don't have any more error message. But it does not write any wav file in /var/snd. Le 23/07/2018 à 16:17, Rob Landry a écrit : We're all assuming the problem is access to /var/snd, but what if the real problem is that it's trying to write to /tmp and there's not enough disk space? There is enough space. # mount |grep sd /dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) # df -h /dev/sda5 Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /dev/sda5 46G4,6G 39G 11% / Is there any configuration I may have missed ? A temporary directory not configured or hard coded ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] [RESOLVED] Re: "unable to create destination file" - Debian 8 fresh install
Le 21/07/2018 à 19:24, David Klann a écrit : The "404" status in the Apache log means that the apache server could not find /rd-bin/rdxport.cgi. You need to make sure that the apache configuration file (maybe in /etc/apache2/rivendell??) has the proper path to the CGI program. I've pasted a sample apache configuration file (below). Thanks ! I did not pay attention to the 404 and my Include line was left uncommented in the configuration of my web site. I use : Include rivendell/rd-bin.conf In Debian, the (default) paths should be --libexecdir=/var/www/html/rd-bin --sysconfdir=/etc/apache2/conf-enabled (or /etc/apache2/conf-available and linked to conf-enabled). I'll be using /etc/apache2/conf-available for the sysconfdir option next time, as I find it proper for a machine dedicated to rivendell. I prefer /var/www/rd-bin for the libexecdir option. Now the import command *does work !!* and I'm nearly ready to write something in the wiki. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] "unable to create destination file" - Debian 8 fresh install
Le 17/07/2018 à 19:14, Fred Gleason a écrit : On Jul 17, 2018, at 12:42, le père Léon wrote: (I must say I did not configure Apache since I don't know the relation between the c++-qt3-mysql Rivendell application and Apache..) In which case, a great many things won’t work (including import). Well.. I compiled rivendell 2.19.2 with : ./configure --libexecdir=/var/www/rd-bin --sysconfdir=/etc/apache2/rivendell Apache is now configured and working. When I try to import (with rdimport command line), I still have that message : " Unable to create destination file, skipping dirname/filename..." In apache logs : 127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)" 127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2" Le 17/07/2018 à 18:52, riv...@braingia.org a écrit : My first thought was to make sure there's enough disk space left. There is. I'd try to touch a file in /var/snd as the rd user I can't touch as 'rivendell' user, as I defined this user with no login access (/bin/false as shell in /etc/passwd). A user in 'rivendell' group can touch, create, remove in /var/snd. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] "unable to create destination file" - Debian 8 fresh install
Sounds like these words have already been read.. Under Debian 8 (thanks to many tricks I finally succeeded in compiling and launching Rivendell !!) .. import does not work : "unable to create destination file" It does not even work when /var/snd is 0777 mode. (I must say I did not configure Apache since I don't know the relation between the c++-qt3-mysql Rivendell application and Apache..) -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] nfs mount with CentOS
As a Debian user, I'm not familiar with CentOS I'm testing. (due to compilation and configuration difficulties with Debian) /var/snd will be on NAS, I'm trying to mount nfs volume : [root@rivendell ~]# mount -t nfs4 192.168.0.100:/volume1/Rivendell /mnt/test mount.nfs4: mount system call failed In /var/log/messages : rivendell kernel: NFS: nfs4_discover_server_trunking unhandled error -22. Exiting with error EIO It works correctly with client under my favorite Linux system. Any idea ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
Re: [RDD] [RESOLVED] Qt3 and Rivendell compilation (in the Debian World..)
Le 14/05/2018 à 16:46, Marius Wikstøl a écrit : I assume you included --with-Qt-dir=/path/to/qt3 and it seems to find it. Are libxext and libxt installed? That's it ! libxt was missing - fixed installing libxt-dev package. The libxext was already installed, because required for compiling Qt3. For information, --with-Qt-dir is not needed. Thanks. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] Qt3 and Rivendell compilation (in the Debian World..)
I have the following error during ./configure : -8<-- checking for Qt... yes: QT_CXXFLAGS=-I/usr/local/qt/include QT_DIR=/usr/local/qt QT_LIBS=-L/usr/local/qt/lib -lqt -lX11 -lXext -lXt QT_BIN=/usr/local/qt/bin QT_UIC=/usr/local/qt/bin/uic QT_MOC=/usr/local/qt/bin/moc checking correct functioning of Qt installation... failure configure: error: Failed to find matching components of a complete Qt installation. Try using more options, see ./configure --help. -8<-- Means that Qt is installed but something is missing OR the test isn't working. Any way to explore ? I've installed Qt3 from TrollTech source. Same problem under Debian 8 and Debian 9. -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[RDD] DATETIME bug in scripts/rd_create_db
In the rd_create_db script, the following default date is proposed when creating CUTS table : "0/0/ 24:00:00" I've had to replace it to : "-00-00 00:00:00" which is the default MySQL "zero" date Another bug in that script : when the db admin uses an empty password, I'm asked password for each mysql or mysqldump instruction. By the way, what's the way.. such a mail to that list ? a patch ? a git thing.. ? -- Léon. ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev