Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Alex Lubbock
    The Thunor website has been updated with links to Thunor Core, more documentation, and this chat room: www.thunor.net
    Darren Tyson
    So, where are we supposed to report bugs/feature requests now?
    Leonard Harris
    I added one not long ago to the Thunor-issues Github repo. I assume we’re still using that.
    Alex Lubbock
    For future issues, it's probably best to log issues against the actual repository here: https://github.com/alubbock/thunor-web
    Although I think it's fine to discuss feature requests here first if someone wanted to get initial feedback before opening an issue on Github.
    hi why I cant log in?
    Alex Lubbock
    Hi @florazhao86 . Where are you trying to log in to?
    thunor web localhost
    is that by invitation only?
    Alex Lubbock
    No, you just need to create an account. Did you install using these instructions? If so, you just need to create an admin account by running python thunorctl.py createsuperuser on the command line.
    I did set up my password and username, trying to login, after click login, the webpage refresh
    i fix it there is a bug in the login part. one more thing, when i use the web-platemapper can I apply different drugs in different column?
    Alex Lubbock
    Yes, you can select one or more columns by clicking on the column number, then type in a drug, then click apply. You can then select a different column and repeat the process.
    @alubbock , @florazhao86 How did you get past the login? I also had this problem.
    Alex Lubbock
    @swattie91 Verry sorry for the slow reply, I didn't get a notification for some reason. First, check you're running version 0.2.9 or higher: python thunorctl.py version. If not, then run python thunorctl.py upgrade. Then, make sure you've created an account using python thunorctl.py createsuperuser. Use the email address and password that you entered there to log in to Thunor.
    Lance Davidow
    Hi. I just installed thunor-web 0.3.1 on ubuntu and tried to load the dataset HTS007.h5 (which I downloaded from the demo site onto the Create dataset page of my server's web client. But I got the message "Internal server error". Is there an obvious set of debugging steps to follow?
    Lance Davidow
    is this the wrong place for asking questions?
    Alex Lubbock
    Hi Lance, did you follow the "full installation" instructions when you installed? If so, you can check the docker container logs by running docker-compose logs app in the thunor-web directory. You should see a Python exception with a Traceback with further information on the error.
    Lance Davidow
    hi alex. I followed the "typical installation" instructions at https://docs.thunor.net/pdf/manual.pdf. The contents of my thunor-web directory are screening@Screening-Ubintu:~/thunor-web$ ls
    config-examples docker-compose.services.yml LICENSE _state thunorctl.py
    docker-compose.certbot.yml docker-compose.yml README.md thunor-app.env thunor-db.env
    Which instructions should I have followed for "full installation" there is a link to "developer installation" in the same pdf document. Should I delete my thunor-web directory and follow those instructions?
    Lance Davidow
    I am using a local server that I installed a fresh copy of Ubuntu on
    Lance Davidow
    File "/usr/lib/python3/dist-packages/docker/transport/unixconn.py", line 30, in connect
    PermissionError: [Errno 13] Permission denied
    was the first error I saw. then more :During handling of the above exception, another exception occurred:
    Lance Davidow
    When I googled the above error message I saw several suggestions to add our user (www-data?) to the docker group. But this did not solve the error :https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/1958827
    Alex Lubbock
    I think that error is because you need to prefix docker commands with sudo on Linux, rather than a filesystem issue. Try sudo docker-compose logs app to see if that works.
    Lance Davidow
    Thanks. OK here is the output: screening@Screening-Ubintu:~/thunor-web$ sudo docker-compose logs app
    Attaching to thunor-web_app_1
    app_1 | Starting uWSGI 2.0.18 (64bit) on [Fri Nov 4 05:24:22 2022]
    app_1 | compiled with version: 9.3.0 on 10 July 2021 05:06:35
    app_1 | os: Linux-5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022
    app_1 | nodename: bdaa89f14282
    app_1 | machine: x86_64
    app_1 | clock source: unix
    app_1 | detected number of CPU cores: 4
    app_1 | current working directory: /thunor
    app_1 | detected binary path: /usr/local/bin/uwsgi
    app_1 | !!! no internal routing support, rebuild with pcre support !!!
    app_1 | setgid() to 33
    app_1 | setuid() to 33
    app_1 | your memory page size is 4096 bytes
    app_1 | detected max file descriptor number: 1048576
    app_1 | lock engine: pthread robust mutexes
    app_1 | thunder lock: disabled (you can enable it with --thunder-lock)
    app_1 | uwsgi socket 0 bound to TCP address :8000 fd 3
    app_1 | Python version: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
    app_1 | Python main interpreter initialized at 0x55f60e4efb00
    app_1 | python threads support enabled
    app_1 | your server socket listen backlog is limited to 100 connections
    app_1 | your mercy for graceful operations on workers is 60 seconds
    app_1 | mapped 609456 bytes (595 KB) for 5 cores
    app_1 | Operational MODE: preforking
    app_1 | DEBUG 2022-11-04 05:24:23,957 base 1 139992332925824 Configuring Raven for host: None
    app_1 | INFO 2022-11-04 05:24:23,957 base 1 139992332925824 Raven is not configured (logging is disabled). Please see the documentation for more information.
    app_1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55f60e4efb00 pid: 1 (default app)
    app_1 | uWSGI is running in multiple interpreter mode
    app_1 | spawned uWSGI master process (pid: 1)
    app_1 | spawned uWSGI worker 1 (pid: 12, cores: 1)
    app_1 | spawned uWSGI worker 2 (pid: 13, cores: 1)
    app_1 | spawned uWSGI worker 3 (pid: 14, cores: 1)
    app_1 | spawned uWSGI worker 4 (pid: 15, cores: 1)
    app_1 | spawned uWSGI worker 5 (pid: 16, cores: 1)
    app_1 | [pid: 12|app: 0|req: 1/1] () {46 vars in 816 bytes} [Fri Nov 4 05:24:40 2022] GET / => generated 0 bytes in 92 msecs (HTTP/1.1 302) 6 headers in 201 bytes (1 switches on core 0)
    app_1 | [pid: 14|app: 0|req: 1/2] () {42 vars in 766 bytes} [Fri Nov 4 05:24:41 2022] GET /accounts/login/?next=/ => generated 8934 bytes in 196 msecs (HTTP/1.1 200) 6 headers in 334 bytes (1 switches on core 0)
    app_1 | [pid: 13|app: 0|req: 1/3] () {50 vars in 999 bytes} [Fri Nov 4 05:24:55 2022] POST /accounts/login/?next=/ => generated 0 bytes in 545 msecs (HTTP/1.1 302) 8 headers in 580 bytes (1 switches on core 0)
    app_1 | [pid: 14|app: 0|req: 2/4] () {44 vars in 978 bytes} [Fri Nov 4 05:24:56 2022] GET / => generated 10269 bytes in 158 msecs (HTTP/1.1 200) 6 headers in 265 bytes (1 switches on core 0)
    app1 | [pid: 16|app: 0|req: 1/5] () {44 vars in 843 bytes} [Fri Nov 4 05:24:57 2022] GET /ajax/dataset/all?=1667539496890 => generated 120 bytes in 24 msecs (HTTP/1.1 200) 5 headers in 157 bytes (1 switches on core 0)
    app_1 | [pid: 14|app: 0|req: 3/6] () {44 vars in 837 bytes} [Fri Nov 4 05:25:01 2022] GET /dataset/add => generated 10583 bytes in 30 msecs (HTTP/1.1 200) 5 headers in 167 bytes (1 switches on core 0)
    app_1 | [pid: 12|app: 0|req: 2/7] () {52 vars in 1104 bytes} [Fri Nov 4 05:25:13 2022] POST /ajax/dataset/create => generated 27 bytes in 34 msecs (HTTP/1.1 200) 4 headers in 114 bytes (1 switches on core 0)
    app_1 | [pid: 12|app: 0|req: 3/8] () {52 vars in 1201 bytes} [Fri Nov 4 05:25:21 2022] POST /ajax/platefile/upload => generated 34 bytes in 2542 msecs (HTTP/1.1 500) 4 headers in 133 bytes (1 switches on core 0)
    So I see a few errors flagged. one about pcre scpport. one about configuring Raven
    Lance Davidow
    screening@Screening-Ubintu:~/thunor-web$ sudo apt-get install libpcre3 libpcre3-dev
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    libpcre3 is already the newest version (2:8.39-13ubuntu0.22.04.1).
    libpcre3 set to manually installed.
    The following additional packages will be installed:
    libc-dev-bin libc-devtools libc6-dev libcrypt-dev libnsl-dev libpcre16-3 libpcre32-3 libpcrecpp0v5 libtirpc-dev
    linux-libc-dev manpages-dev rpcsvc-proto
    Suggested packages:
    The following NEW packages will be installed:
    libc-dev-bin libc-devtools libc6-dev libcrypt-dev libnsl-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libtirpc-dev
    linux-libc-dev manpages-dev rpcsvc-proto
    0 upgraded, 13 newly installed, 0 to remove and 4 not upgraded.
    Need to get 7,134 kB of archives.
    After this operation, 30.0 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y