Hi Folks,

I'm working on setting up a Galaxy production server, following the
instructions on
https://wiki.galaxyproject.org/Admin/Config/Performance/ProductionServer.
I'm using postgresql and an Apache proxy server.  It's not going well, and
I could use some guidance.

When I access the galaxy server on Google Chrome, I can't log in.  I can go
to the login prompt and enter my credentials, but after I do that, I
continue to see the login prompt as if I hadn't logged in.

Then when I try to do a simple file upload, I see this message in pink in
the history panel:

"An error occurred while getting updates from the server.  Please contact a
Galaxy admninistrator if the problem persists"

and when I click on the little bug icon, here's what I see in the Galaxy
pane:

{
  "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36",
  "url": "
https://galaxyxena.soe.ucsc.edu/galaxy/galaxy/api/histories/bf0806da5b28c6d9/contents
",
  "data": "",
  "options": {
    "data": {},
    "parse": true,
    "emulateHTTP": false,
    "emulateJSON": false
  },
  "xhr": {
    "readyState": 4,
    "responseText": "{\"err_msg\": \"History is not accessible by user\",
\"err_code\": 403002}",
    "responseJSON": {
      "err_msg": "History is not accessible by user",
      "err_code": 403002
    },
    "status": 403,
    "statusText": "Forbidden",
    "responseHeaders": {
      "Date": "Wed, 13 May 2015 02:23:16 GMT\r",
      "cache-control": "max-age=0,no-cache,no-store\r",
      "Transfer-Encoding": "chunked\r",
      "Server": "PasteWSGIServer/0.5 Python/2.7.1\r",
      "Connection": "close\r",
      "x-frame-options": "SAMEORIGIN\r",
      "content-type": "application/json\r"
    }

  },
  "source": [],
  "user": {
    "quota_percent": null,
    "nice_total_disk_usage": "0 bytes",
    "total_disk_usage": 0,
    "id": null,
    "username": "(anonymous user)",
    "email": "",
    "is_admin": false
  }
}

Meanwhile, paster.log shows the following error messages:

galaxy.tools ERROR 2015-05-12 19:23:16,766 Exception caught while
attempting to\

ol execution:

Traceback (most recent call last):

  File "/scratch/home/galaxy/galaxy/lib/galaxy/tools/__init__.py", line
1303, in handle_single_execution
    job, out_data = self.execute( trans, incoming=params, history=history,
rerun_remap_job_id=rerun_remap_job_id,mapping_over_collection=mapping_over_collection
)

  File "/scratch/home/galaxy/galaxy/lib/galaxy/tools/__init__.py", line
1867, in execute
    return self.tool_action.execute( self, trans, incoming=incoming,
set_output_hid=set_output_hid, history=history, **kwargs )
  File "/scratch/home/galaxy/galaxy/lib/galaxy/tools/actions/upload.py",
line 21, in execute
    uploaded_datasets = upload_common.get_uploaded_datasets( trans, '',
incoming, precreated_datasets, dataset_upload_inputs, history=history )
  File
"/scratch/home/galaxy/galaxy/lib/galaxy/tools/actions/upload_common.py", line
242, in get_uploaded_datasets
    data = new_upload( trans, cntrller, uploaded_dataset,
library_bunch=library_bunch, history=history )
  File
"/scratch/home/galaxy/galaxy/lib/galaxy/tools/actions/upload_common.py", line
232, in new_upload
    return __new_history_upload( trans, uploaded_dataset, history=history,
state=state )
  File
"/scratch/home/galaxy/galaxy/lib/galaxy/tools/actions/upload_common.py",line
135, in __new_history_upload
    hda.state = hda.states.QUEUED
  File "/scratch/home/galaxy/galaxy/lib/galaxy/model/__init__.py", line
1546, in set_dataset_state
    object_session( self ).add( self.dataset )
AttributeError: 'NoneType' object has no attribute 'add'

Meanwhile, if I'm working on Firefox, I can log in and upload files with no
trouble.

Any ideas?

Thanks!

Melissa
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to