--------------------------------------------------------------------
Un o’r 4 prifysgol uchaf yn y DU a’r orau yng Nghymru am fodlonrwydd myfyrwyr.
(Arolwg Cenedlaethol y Myfyrwyr 2016)
www.aber.ac.uk

Top 4 UK university and best in Wales for student satisfaction
(National Student Survey 2016)
www.aber.ac.uk
--- Begin Message ---
Hi,

I'm currently trying to install a galaxy instance for production.
Eventually that will involve proxying through apache but for the moment
I'm testing by accessing http://localhost:8080 directly.

When I load the front page, I get the following error:

{
  "agent": "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 
Firefox/45.0",
  "url": 
"http://localhost:8080/galax/galaxy/api/histories/1cd8e2f6b131e891?keys=size%2Cnon_ready_jobs";,
  "options": {
    "parse": true,
    "data": "keys=size%2Cnon_ready_jobs",
    "emulateHTTP": false,
    "emulateJSON": false,
    "textStatus": "error",
    "errorThrown": "Forbidden"
  },
  "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": {
      "Server": "PasteWSGIServer/0.5 Python/2.7.5\r",
      "Date": "Wed, 30 Nov 2016 16:17:11 GMT\r",
      "x-frame-options": "SAMEORIGIN\r",
      "Content-Type": "application/json\r",
      "Cache-Control": "max-age=0,no-cache,no-store\r",
      "Connection": "close\r"
    }
  },
  "source": {
    "model_class": "History",
    "id": "1cd8e2f6b131e891",
    "name": "Unnamed history",
    "state": "new",
    "deleted": false,
    "importable": false,
    "create_time": "2016-11-30T16:17:11",
    "contents_url": "/galaxy/api/histories/1cd8e2f6b131e891/contents",
    "size": 0,
    "user_id": null,
    "username_and_slug": null,
    "annotation": null,
    "state_details": {
      "paused": 0,
      "ok": 0,
      "failed_metadata": 0,
      "upload": 0,
      "discarded": 0,
      "running": 0,
      "setting_metadata": 0,
      "error": 0,
      "new": 0,
      "queued": 0,
      "empty": 0
    },
    "empty": true,
    "update_time": "2016-11-30T16:17:11",
    "tags": [],
    "genome_build": "?",
    "slug": null,
    "url": "/galaxy/api/histories/1cd8e2f6b131e891",
    "state_ids": {
      "paused": [],
      "ok": [],
      "failed_metadata": [],
      "upload": [],
      "discarded": [],
      "running": [],
      "setting_metadata": [],
      "error": [],
      "new": [],
      "queued": [],
      "empty": []
    },
    "published": false,
    "purged": false,
    "nice_size": "0 b"
  },
  "user": {
    "id": null,
    "username": "(anonymous user)",
    "email": "",
    "total_disk_usage": 0,
    "nice_total_disk_usage": "0 bytes",
    "quota_percent": null,
    "is_admin": false
  }
}


I'm not sure what to make of that.

Galaxy is running as it's own user and group, in a subdirectory of the
home directory of that user.  File permissions are sufficiently
permissive.  It is connecting to a mysql database `galaxy' as a user
that has ALL PRIVILEGES on `galaxy'.* tables.

It is galaxy version 16.07, running on CentOS7.2 if it matters.

I've been battling with SELinux to give apache sufficient permissions to
act as a proxy for galaxy, but this issue is (I think) separate from that.

Thanks

Max

Attachment: signature.asc
Description: PGP signature


--- End Message ---
___________________________________________________________
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