Greg, thanks for all your help! Josh, thanks a ton for the tip. That pointed me in the right direction and when I looked closely at logs during startup I saw that there were errors trying to create/write to the default directories in /tmp that ship with matterhorn. I made a new directory called "matterhorn" in /var/spool/matterhorn and gave the matterhorn user access to read/write to it. Then I changed the setting in config.properties for the storage.dir like:
org.opencastproject.storage.dir=/var/spool/matterhorn and now the 404 error on file upload is gone. Excellent. Figured I'd write up the fix for future googlers of the archives so whoever comes next can find it. -Pete On Tue, May 24, 2011 at 1:38 PM, Josh Holtzman <[email protected]>wrote: > If you look closely at your startup logs, you'll find that the > matterhorn-ingest-service-impl module failed to start. I can't guess why it > failed to start without seeing the logs themselves, though. > > Once the ingest service starts up properly, the upload html snippet will > load properly, rather than returning a 404. > > Josh > > > On May 24, 2011, at 2:29 PM, Mentzer, Peter wrote: > > If I open port 8080 on the server firewall I can browse directly to > http://matterhorn.duoc.edu:8080 and see the welcome screen etc. Get the > same error in the logs tho with 8080 opened up. I didn't install directly > into port 80. I did a standard install on 8080, and then set up proxy with > apache via port 80 according to the install docs. It's interesting that the > exact message is: > > Unable to post capabilities to > http://matterhorn.duoc.edu/capture-admin/agents/demo_capture_agent/capabilities > > If I browse to that specific URL directly, I get a blank xml doc warning in > my browser: > > XML Parsing Error: no element found > Location: > http://matterhorn.duoc.edu/capture-admin/agents/demo_capture_agent/capabilities > Line Number 1, Column 1: > > Being totally new to how matterhorn works, I'm not really sure what is > supposed to be happening there :-) > > I'm not planning on using any capture agents anyway for a bit, really just > wanted to see if matterhorn might work for us by testing uploading a few > videos manually. So the file upload error is the real kicker for me at this > point. > > On Tue, May 24, 2011 at 12:42 PM, Greg Logan <[email protected]> wrote: > >> On 11-05-24 01:16 PM, Mentzer, Peter wrote: >> > The output in the opencast.log is: >> > >> > WARN (AgentCapabilitiesJob:113) - #1013 - Unable to post capabilities to >> > >> http://matterhorn.duoc.edu/capture-admin/agents/demo_capture_agent/capabilities >> , >> > message reads: >> > org.opencastproject.security.api.TrustedHttpClientException: >> > org.apache.http.conn.HttpHostConnectException: Connection to >> > http://matterhorn.duoc.edu refused. >> >> Hrm, did you install the core on port 80? Or are you actually running >> on the default port of 8080? What happens when you go to >> http://matterhorn.duoc.edu:8080? >> >> That message just means that the agent cannot communicate with the core, >> which is indeed unrelated to the ingest problems you are experiencing. >> >> G >> >> > But I have a feeling that log message is completely unrelated to the >> > problem I'm seeing uploading a file. >> > >> > Thanks in advance, Peter >> > >> > >> > >> > _______________________________________________ >> > Matterhorn-users mailing list >> > [email protected] >> > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >> >> >> >> _______________________________________________ >> Matterhorn-users mailing list >> [email protected] >> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >> >> > > > -- > Peter Mentzer MS Ed > Director of Online Technology > Dominican University of California > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users > > > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users > > -- Peter Mentzer MS Ed Director of Online Technology Dominican University of California
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
