Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: Arnaud on February 13, 2016, 10:00:47 PM
-
It's me again! :)
I noticed that DownloadTicketService of my SME9.1 production machine doesn't upload files any more: after clicking on the "upload" button, the screen get white and ........stay white :sad:
I tried / checked following:
- on this machine, the upoad via php works: CMsimple (on a ibay) and Pydio can upload files
- removing the template-custom that gives the base-dir and the temp-dir for php on ibays (and reconfiguring the server) makes no improvement for DownloadTicketService
- on the test machine (VM): DownloadTicketService works well
- on the test machine as a clone of the production machine (via affa --rise): DownloadTicketService works well too --> so I think that none of my parameters blocks DownloadTicketService
I guess that DownloadTicketService doesn't find or access its temp directory.
I had a look into the logs, but I was not able to find something in relation with this problem.
As I don't know when this problem exact occurs, I can't say if some modifications of parameters of some installations of contribs can be put in relation with this.
In order to search in the correct direction, I would like to find a log showing me the direction to search in.....
Where should I start searching ?
Thanks.
Arnaud
-
Arnaud
I have seen the dreaded "white screen" before.
Sounds like a php or file permission/ownership issue or maybe https issue.
Maybe work through the settings here
https://wiki.contribs.org/PHP
& check your file permissions & ownership related to DownloadTicketService.
-
Arnaud
I have seen the dreaded "white screen" before.
Sounds like a php or file permission/ownership issue or maybe https issue.
Maybe work through the settings here
https://wiki.contribs.org/PHP
& check your file permissions & ownership related to DownloadTicketService.
I agree.. maybe just looking at /var/log/messages and /var/log/httpd/* files can be sufficient
-
Thanks for your replies.
Enabling the display of php errors (as given here https://wiki.contribs.org/PHP (https://wiki.contribs.org/PHP)) didn't have any effect: I get further the white screen and no error is displayed.
Checking the logs again, I discovered that there is a log "dl" for DownloadTicketService...And it is written in the wiki...... :oops:
This log gives:
cannot generate unique ticket ID
Unfortunately there is no detail given.
Bye
Arnaud
-
I think that I got it :lol:
Comparing to the running DownloadTicketService of the VM, I noticed that /var/lib/dl/data had owner root:root on the not running dl and apache:www on the running one.
chmown -R apache:www /var/lib/data makes dl of the prod SME running again.
I have no idea why the ownership was changed...........
Could somebody please confirm the ownership setting of /var/lib/dl/data ??
Thanks.
Bye
Arnaud
-
For me, dl stopped working when I upgraded to dl-0.17-2.el6.noarch. I downgraded to dl-0.17-1.el6.noarch, and things returned to normal. I haven't, unfortunately, digged further into this.
# ls -ld /var/lib/dl/data
drwxr-xr-x 2 apache www 4096 Feb 9 03:21 /var/lib/dl/data
-
if something isn't working as expected, you'd follow what you read here:
https://wiki.contribs.org/DownloadTicketService#Bugs
-
https://bugs.contribs.org/show_bug.cgi?id=9749