Koozali.org: home of the SME Server

DownloadTicketService: no upload any more

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
DownloadTicketService: no upload any more
« 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

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: DownloadTicketService: no upload any more
« Reply #1 on: February 13, 2016, 10:33:13 PM »
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: DownloadTicketService: no upload any more
« Reply #2 on: February 13, 2016, 11:08:02 PM »
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

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: DownloadTicketService: no upload any more
« Reply #3 on: February 14, 2016, 12:50:34 PM »
Thanks for your replies.

Enabling the display of php errors (as given here 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:
Code: [Select]
cannot generate unique ticket IDUnfortunately there is no detail given.

Bye
Arnaud

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: DownloadTicketService: no upload any more
« Reply #4 on: February 14, 2016, 06:10:21 PM »
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

Offline holck

  • ****
  • 317
  • +1/-0
Re: DownloadTicketService: no upload any more
« Reply #5 on: February 15, 2016, 09:39:36 AM »
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

......

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: DownloadTicketService: no upload any more
« Reply #6 on: February 15, 2016, 12:35:26 PM »
if something isn't working as expected, you'd follow what you read here:

https://wiki.contribs.org/DownloadTicketService#Bugs

Offline nicolatiana

  • *
  • 721
  • +0/-0
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.