Hello,
I installed a new server running Mediacore 0.9 and moved my date from my previous server runnin a Mediacore 0.8.2 installation. The upgrade went fine and the new site is up and running...
But I experience a strange behavior with the proxy_prefix setting in .ini file that I didn't experience in 0.8.2
In 0.8.2, my setting was: proxy_prefix = /le-podcast
All the links on the page look like: domain.com/le-podcast , domain.com/le-podcast/media , domain.com/le-podcast/podcasts , domain.com/le-podcast/categories , domain.com/le-podcast/files , etc
Now with the exact same setting in 0.9, the proxy_prefix appears twice everywhere in the links:
domain.com/le-podcast/le-podcast/media , domain.com/le-podcast/le-podcast/podcasts...
The links do work though somehow. No error in log files (including with development.ini)
I can manually type a URL with a single prefix: domain.com/le-podcast/media and it still works.
It doesn't work when I write the prefix 3 times though :-)
I put a quick and dirty RewriteRule in the Apache configuration file for that but unfortunately it does not affect the generation of the RSS file for the podcast so now all podcast clients consider every episode as being new :-(
Does anyone have any idea of what might be happening here?
On another note, and I imagine it may somehow be related to that issue, I also experience big memory issues: whenever i click on the player to start streaming, memory usage on the server increases fast until mod_wsgi crashes:
mod_wsgi (pid=3148): Exception occurred processing WSGI script '/opt/mediacore/deployment-scripts/mod_wsgi/mediacore.wsgi'.
Traceback (most recent call last):
File "/opt/mediacore_env/lib/python2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/gzipper.py", line 40, in __call__
response.finish_response(app_iter)
File "/opt/mediacore_env/lib/python2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/gzipper.py", line 85, in finish_response
output.write(s)
MemoryError: out of memory
Thanks for your help