Karen,
Sorry for taking so long to answer, it's been one of those weeks.
On 10. sep. 2014 13:34, Karen Dolan wrote:
> Anders,
>
> If you haven't already seen this, there is
> a /docs/upgrade/1.4.0_to_1.4.1/postgres91.sql that adds the role column
> to mh_user.
>
Thank's for the tip Karen. Taking the time to look into it, i can't seem
to see where that adds the role column. It does add the role(along with
other things) in docs/upgrade/1.3_to_1.4/postgres84.sql, but since our
server was installed as 1.4, we haven't used this.
But after living with issues a week, I'm not sure if this is the related
to the Nonce timeout. But after reading your kickstarting jobs
trick(
https://opencast.jira.com/wiki/display/MHDOC/Job+Dispatching) we,
unintentionally, set all our jobs in status running, causing all the
jobs to run again(!) and fail. But instead of restoring the db from
backup, we let the jobs run. Some older jobs suddenly appeared, which
might have been clogging the system. After a cleanup by removing these
things look normal. For Now.
BTW: Are the any harmful effects of reingesting a failed recording?
These jobs seem to belong to recordings that might have been ingested
several times.
Have a nice weekend!
Anders
> I notice that the MH 1.4.4 modules/matterhorn-db/pom.xml references the
> postgres 8.4, but there is a released postgres sql driver 9.1-903.jdbc4.
> I haven't been following the postgres discussions, so there may be a
> reason not to upgrade the reference there. But if there isn't, it might
> help to upgrade that reference.
>
> <dependency>
> <groupId>postgresql</groupId>
> <artifactId>postgresql</artifactId>
> <version>8.4-701.jdbc4</version>
> </dependency>
>
> Best of luck,
> Karen
>
> On Sep 4, 2014, at 7:41 AM, Anders Myren <
anders...@adm.uib.no
> <mailto:
anders...@adm.uib.no>> wrote:
>
>> Got this yesterday:
>> 2014-09-03 18:06:57 ERROR (AbstractFaultChainInitiatorObserver:101) -
>> Error occurred during error handling
>> , give up!
>> org.apache.cxf.interceptor.Fault:
>> Internal Exception: org.postgresql.util.PSQLException: ERROR: column
>> t1.role does not exist
>> Position: 17
>> Error Code: 0
>> Call: SELECT DISTINCT t1.role FROM mh_user t0, mh_role t1 WHERE
>> ((t1.organization = t0.organization) AND (
>> t1.username = t0.username))
>> Query: ReportQuery(name="roles" referenceClass=JpaUser sql="SELECT
>> DISTINCT t1.role FROM mh_user t0, mh_ro
>> le t1 WHERE ((t1.organization = t0.organization) AND (t1.username =
>> t0.username))")
>>
>> Could it be a DB-issue?