سطر 135: |
سطر 135: |
| | | |
| NOT FIXED TILL NOW | | NOT FIXED TILL NOW |
| + | 14- RELATED ERROR: |
| + | {u'status': {u'text': u'login required', u'code': 401}} (Terminal) |
| + | |
| + | DATA_SERVICE = 'http://localhost/api/' |
| + | VIDEO_PREFIX = "//localhost" |
| + | #SESSION_COOKIE_DOMAIN = ".localhost" |
| + | |
| + | |
| + | |
| + | http://arabdigitalexpression.org/wiki/Pandora_Installation_and_Configuration_Issues |
| + | |
| + | admin user of pandora server |
| + | pwd of it |
| + | the local_settings.py should look like that: |
| + | |
| + | DATA_SERVICE = 'http://localhost/api/' |
| + | VIDEO_PREFIX = "//localhost" |
| + | #SESSION_COOKIE_DOMAIN = ".localhost" |
| + | |
| + | 1st time you run pandora_client config you add a path to tell pandora_client to read files from it and label this folder path |
| + | pandora_client add_volume name path |
| + | eg: pandora_client add_volume pandora_images /home/wafaa/Videos |
| + | → create folders tree with at least 2 levels under /home/wafaa/Videos |
| + | So it looks like |
| + | /home/wafaa/Videos/vids_for_pandora/pandora_camps_videos |
| + | /home/wafaa/Videos/vids_for_pandora/pandora_deca_videos |
| + | |
| + | without port 8000. This is only 4 dev server (it is virtual server) |
| + | NOTICE |
| + | → Remove port 8000 fro many config. Make virtual server for my pandora site. Access it through http://localhost |
| + | |
| + | 16- Video is not playing in the browser and gives error file is corrupted although when I run mplayer from the terminal, I get the video working. I’m using Apache server. |
| + | |
| + | FIX |
| + | ==== |
| + | I installed nginx, deleted default file in the /etc/nginx/sites-enabled and everything is working. |
| + | |
| + | 17- When check log, I get |
| + | /var/log/nginx/pandora.access.log 404.html" failed (13: Permission denied) |
| + | |
| + | → Make sure you are logged in or make video public |
| + | |
| + | → Make the local_settings.py config looks like this: |
| + | DATA_SERVICE = 'http://localhost/api/' |
| + | VIDEO_PREFIX = "//localhost" |
| + | #SESSION_COOKIE_DOMAIN = ".localhost" |
| + | |
| + | |
| + | |
| + | |
| + | |
| | | |
| </div> | | </div> |