Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:59
    MarcelBolten synchronize #3071
  • 03:59

    MarcelBolten on metadata-2.0

    jslint (compare)

  • 03:51
    codecov[bot] commented #2975
  • 03:46
    codecov[bot] commented #2975
  • 03:44
    codecov[bot] commented #2975
  • 03:28
    codecov[bot] commented #2975
  • 03:28
    MarcelBolten synchronize #2975
  • 03:28

    MarcelBolten on advanced-query

    extend test coverage: add >date… (compare)

  • 03:22
    MarcelBolten synchronize #3071
  • 03:22

    MarcelBolten on metadata-2.0

    remove unused import (compare)

  • Dec 06 23:13
    NicolasCARPi commented #3071
  • Dec 06 21:53
    MarcelBolten commented #3071
  • Dec 06 21:09
    lgtm-com[bot] commented #3071
  • Dec 06 21:04
    MarcelBolten commented #3071
  • Dec 06 21:03
    MarcelBolten synchronize #3071
  • Dec 06 21:03

    MarcelBolten on metadata-2.0

    set codeset to utf8 for gettext… add metadata Schema and ajv update interfaces.ts and 10 more (compare)

  • Dec 06 20:00
    NicolasCARPi commented #3071
  • Dec 06 09:50
    HenningTimm commented #2050
  • Dec 06 09:06
    codecov[bot] commented #2975
  • Dec 06 08:43
    codecov[bot] commented #2975
Nicolas CARPi
@NicolasCARPi
do you need to click somewhere for it to show?
alexander-haller
@alexander-haller
I do not need to click anything
and its happens a lot
Nicolas CARPi
@NicolasCARPi
are you able to update your chromium?
I have 95.0 here
Version 95.0.4638.69 (Official Build) Arch Linux (64-bit)
maybe it's a chromium bug
i can try a local chromium version
Nicolas CARPi
@NicolasCARPi
what other extensions are present ?
alexander-haller
@alexander-haller
only aktive non-default is ublock origen
Nicolas CARPi
@NicolasCARPi
then I guess you'll need to try with an updated version of chromium
alexander-haller
@alexander-haller
I also can not replicate it with Chromium Version 98.0.4698.0 (Developer Build) (64-bit)
Nicolas CARPi
@NicolasCARPi
oh ok great
I'm going to install v90 to see if I can reproduce
alexander-haller
@alexander-haller
as long as it does not impact others users I would be fine to ignore it if upgrading to later browser versions fixes it (even if it would be interesting to know why it happens)
Nicolas CARPi
@NicolasCARPi
tried with version close to yours, didn't reproduce, so yeah let's classify this as "bug fixed by browser vendor"
btw downloading a specific old chromium version is a PITA...
alexander-haller
@alexander-haller

btw downloading a specific old chromium version is a PITA...

yeah at least for the latest version you can simply use https://github.com/scheib/chromium-latest-linux

Nicolas CARPi
@NicolasCARPi
nah, pacman -Syu :p
BarryJive
@BarryJive
Has anyone updated to 4.2.2 yet and has done so successfully? I get an error message, see issue #3053 .
Nicolas CARPi
@NicolasCARPi
it's just because your version of docker is not recent enough ;)
BarryJive
@BarryJive
OK, so it's one of those days...
Thanks
alexander-haller
@alexander-haller
on Debian 11 "docker compose" does also not exist and this "breaks" elabctl 2.3.1 with the Debian docker version 20.10.5+dfsg1
Nicolas CARPi
@NicolasCARPi
that's weird. Isn't it a packaging issue then? Like Debian maintainers not building the "compose" part of the docker?
Nicolas CARPi
@NicolasCARPi
@MarcelBolten I'm not sure why you share this link, it's not the issue at all. Here the issue is with the compose subcommand of docker which might or might not exist with or without the -f flag.
Nicolas CARPi
@NicolasCARPi
so apparently it's a cli-plugin: https://github.com/docker/compose/tree/v2#linux
Niels Cautaerts
@din14970
I updated from version 4.0.11 to the latest version, simply following the update guidelines with elabctl and updating the database with the docker command. Now I can no longer access the site, getting a SSL_ERROR_RX_RECORD_TOO_LONG. I'm using the docker installation behind nginx. Is there something I should change in my nginx configuration?
alexander-haller
@alexander-haller
@din14970 can you clarify: are you using the nginx docker image from elabftw or are you using a own nginx server and run elabftw behind this?
if you use your own nginx you could compare to this https://github.com/elabftw/elabimg/tree/master/src/nginx
SSL_ERROR_RX_RECORD_TOO_LONG could mean that you do not actually have ssl on on port 443 and get an pure http response
Nicolas CARPi
@NicolasCARPi
@din14970 can you delete your cookies for the elab domain and try again?
did you fill the installation_url value in sysconfig? I think it's an issue with the redirection here.
Niels Cautaerts
@din14970

@alexander-haller I have my own nginx server and run elabftw behind it. nginx.conf is difficult to compare but I didn't change any settings since the update. My server block in sites-enabled:

server {
    server_name elabftw.domain.com;

    # listen 8888 ssl;
    # listen [::]:8888 ssl;

    access_log /var/log/nginx/elabftw.domain.com.log proxy;

    location / {
        proxy_pass       http://localhost:3148; # use httpS here if needed
        proxy_set_header Host      $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        # add this if nginx is terminating TLS
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    listen [::]:443 ssl; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}

I also have a block below

server {
    if ($host = elabftw.domain.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot

        listen 80 ;
        listen [::]:80 ;

        server_name  elabftw.domain.com;
    return 404; # managed by Certbot
}

@NicolasCARPi I deleted cookies, history and tried in a private window, no luck. I don't recall ever entering an installation url, I don't think this was necessary before - at least it was working? Is there a way to edit this without going through the web interface, seeing as I can't access it anymore?

alexander-haller
@alexander-haller
@din14970 if you can access the mysql database you should be able to change "url" in the table "config"
mysql> select * from config where conf_name = "url";
+-----------+-------------------------------------------+
| conf_name | conf_value |
+-----------+-------------------------------------------+
| url | https://XXX.XXX.XX |
+-----------+-------------------------------------------+
1 row in set (0.00 sec)
Niels Cautaerts
@din14970
@alexander-haller Thanks for the help, I think it must be related to this issue but now it's still not working and behaving even weirder. I went into the mysql container with docker exec -it mysql bash then entered mysql with mysql -u root -p. I selected the elabftw database and entered your SELECT statement. The conf_value was empty. I updated this with UPDATE config SET conf_value = 'elabftw.domain.com' WHERE conf_name = "url";. Now when I try to visit elabftw.domain.com I get redirected to https://elabftw.domain.com/elabftw.domain.com/app/logout.php?keep_redirect=1, showing me an angry bunny on a "page not found". So indeed some redirection issue but how to solve it?
Nicolas CARPi
@NicolasCARPi
try to access it directly to the login page
and make sure you don't have a cookie "redirect" lying around with an incorrect value
Nicolas CARPi
@NicolasCARPi
also the url value should be the full url with https://
Niels Cautaerts
@din14970
yep, it seems the https:// was it, I'm back in! Thanks a lot @NicolasCARPi and @alexander-haller !
HClO4
@HClO4
I am not able to add a user to an existing group with Chrome. The cursor constantly tabs out and the teal "saved" message appears in the top left corner. Edge works fine. Latest elabFTW Version. Can someone verify this or is it a local problem?
alexander-haller
@alexander-haller
@HClO4 I can reproduce this as well since the last version with some browsers. Scroll up in this chat for more info.
Nicolas CARPi
@NicolasCARPi
@HClO4 what chrome version? Probably solved by an update
HClO4
@HClO4
@NicolasCARPi 96.0.4664.45 and does not show me any available updates
Nicolas CARPi
@NicolasCARPi
@HClO4 dammit
with @alexander-haller we concluded it was because of an older chrome version, as it was not reproducible on newest ones. But here it's the latest version. You're on Windows I guess, right? Windows 10?
Can you clear the cache?
What plugins (addons) do you have installed? Can you try with disabling especially any password manager addon?