Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 10 22:29

    NicolasCARPi on newjson

    add tests/unit to phpstan (compare)

  • Apr 10 21:09

    NicolasCARPi on newjson

    rm hasmetadatainterface and Tem… add tpl title autosave fix the no notif on create and 1 more (compare)

  • Apr 10 00:47
    NicolasCARPi labeled #2586
  • Apr 10 00:47
    NicolasCARPi closed #2586
  • Apr 10 00:47
    NicolasCARPi commented #2586
  • Apr 10 00:10

    NicolasCARPi on newjson

    decode metadata in make json empty string is valid target done with metadata (compare)

  • Apr 09 17:37
    ramiroricardo opened #2586
  • Apr 09 15:42
    NicolasCARPi commented #2585
  • Apr 09 15:07
    MarcelBolten commented #2585
  • Apr 09 10:01
    NicolasCARPi commented #2585
  • Apr 09 09:32
    NicolasCARPi commented #893
  • Apr 09 09:30
    NicolasCARPi commented #2585
  • Apr 09 08:41
    MarcelBolten synchronize #2585
  • Apr 09 08:28
    MarcelBolten synchronize #2585
  • Apr 09 08:14
    MarcelBolten opened #2585
  • Apr 09 04:50

    NicolasCARPi on newjson

    get rid of updateparams (compare)

  • Apr 09 04:39

    NicolasCARPi on newjson

    better getparams (compare)

  • Apr 09 04:20

    NicolasCARPi on newjson

    extract getparams (compare)

  • Apr 09 03:49

    NicolasCARPi on newjson

    150 lines less (compare)

  • Apr 09 01:07

    NicolasCARPi on newjson

    more delete (compare)

Nicolas CARPi
@NicolasCARPi
and many more results after a google search ;)
mglotzer
@mglotzer

for reasons I don't understand, I was not able to run this command mentioned on the linked page: docker-compose run --rm db /bin/bash when I first tried to restart the system, the mysql would start and stop repeatedly. It now is running, but when I load eLabFTW, the page states, "The database structure is not loaded! Did you run the installer?"

I ran docker exec -it elabftw php bin/console db:update

Database check

Current version: 56
Required version: 56
No upgrade required.

any suggestions greatly appreciated!
Nicolas CARPi
@NicolasCARPi
this error message should only show up if no database structure is loaded. But doing the db:update command you show that all is fine and dandy. So it might be another issue with the database... What do you have in the logs? https://doc.elabftw.net/debug.html
mglotzer
@mglotzer
to avoid spamming this page, I sent an email to you, I hope that is ok.
Nicolas CARPi
@NicolasCARPi
didn't get anything in my inbox. Please open a github issue as email support is only for users with PRO Support package: https://www.deltablot.com/elabftw/
oh you sent it to this email ok, got it.
but as I said, it's best to do it on github.
mglotzer
@mglotzer
Thanks Nicolas, I opened an issue on Github. I wasn't sure whether to do so in the main eLabFTW project or the Docker one, but the latter was mostly empty so I opted for the former. https://github.com/elabftw/elabftw/issues/2508#issue-816967423
Merci bien!
Dracula of LICR
@dracula_of_licr:matrix.org
[m]
Hi @NicolasCARPi , is there a way to add database items from a (cron) script? I don't seem to find a suitable API call. Thanks!
Sorry, that came out wrong. I meant to say "is there a way to import a csv into a database, programatically?". The API call to create an item is there, d'oh!
J-Brandel
@J-Brandel
Hi @NicolasCARPi , we started to use elabFTW at the Ecole de Chimie, Polymères et Matériaux in Strasbourg (ECPM, part of the University of Strasbourg) for the students labwork in analytical chemistry. It’s a great tool and we are impressed and happy with all its functionalities.
Is there a way to edit the default templates for Experiments (the Common Experiment Template that opens when you click on “Create”), Status and Types of Items so that they would appear by default in every new Team that we create (because we create many Teams of students all along the year and it would be interesting to have our own templates for educational purposes and would spare a lot of time if they would appear by default automatically)?
topoldo
@topoldo
Dear Nicolas, I saw that are you planning to release a version 4.0 with php 8.0 minimum. So no Debian 10 or Ubuntu 20.04 support at my knowledge by default this version of php. Do you plan to give some detailed instructions on how to overcome this (and also ubuntu 20.04 docker snap) problems?
topoldo
@topoldo
Oops... I wrote a stupid thing! You always provide "your" php with elabftw. Sorry!
Nicolas CARPi
@NicolasCARPi
yeah, that's what nice with docker, you don't have to worry about these details and I'm free to use the latest language versions. Also, you can install php with custom PPA most of the time. Or compile it. But using Docker is the best course of action ;)
Martin Saraceno
@saracmtd:ruhr-uni-bochum.de
[m]
Hello. Just a quick question. Does elabftw-3.6.5 work with php-8.0? In the installation docs it just says PHP version > 7.3.7. So, I assume this should work.
Nicolas CARPi
@NicolasCARPi
@saracmtd:ruhr-uni-bochum.de Best is to use Docker to avoid these questions ;) But yes I think there are no reported issues with version 8.0. Next elab version will actually require php 8.
2 replies
xander-p
@xander-p:matrix.org
[m]
Hello there. Quick question: if there is any way to export the experiment as a PDF together with the attached PDFs?
My use-case: I use the experiment's text field for description and metadata and attach daily records as PDFs. The expected behavior: when the experiment is finished, export it as a single "mega-PDF", rather than only the metadata and list of attached files.
Not sure, if I am missing something, or there is no such function so the workaround is to export as ZIP and then merge all PDFs.
Nicolas CARPi
@NicolasCARPi
@xander-p:matrix.org like this: elabftw/elabftw#1231 ?
2 replies
joergm644
@joergm644
Hi @NicolasCARPi , short question: Is there a possibility to mark (e.g. via display ALL items) all items from a database, e.g. our antibody list, to then export them as a csv/zip in one go? I am looking for an easy way to generate a list of database entries with more than 100 entries (the current limit of display item) at the same time. All the best, and Thank You!
Nicolas CARPi
@NicolasCARPi
@joergm644 edit the limit parameter in the url
the max is 9999
joergm644
@joergm644
Thanks Nicolas, works for me only until 500 though, if I type in 501 in the URL or more it shows only 17 entries...
Nicolas CARPi
@NicolasCARPi
@joergm644
joergm644
@joergm644
good to know. I suppose we can change this for our instance individually in the check.php. However, in the absence of export option in the admin panel (e.g. for a complete database) it might be a good and simple idea to increase this 9999 in future updates. Though you might not want to include so high values in the drop down menu to avoid things getting slow if one accidently selects to show too many entries...thanks for your quick reply
Nicolas CARPi
@NicolasCARPi
I'll probably increase this limit yes.
ivanhoe1024
@ivanhoe1024
Hi there people, I am not an expert in the field, so please excuse me in advance if I ask something that seems funny and stupid. I would like to install elabFTW on a Linux server only accessible through LAN and not from outside the LAN. To do so, I have lots of difficulties with TLS certificates, since my server is not accessible by letsencrypt from outside my LAN (I do not even need TLS encryption, tbh). Is there a way to setup elabFTW within such environment, or is it supposed to work only on a "publicly" accessible web server? Many thanks!
Nicolas CARPi
@NicolasCARPi
@ivanhoe1024 you can generate self-signed certificates, in fact if you set ENABLE_LETSENCRYPT to false it will generate a self-signed certificate. The drawback is that users will get a warning when they connect (can be ignored with firefox but will show up repeateadly with chrome). And yes, you do need to use HTTPS even if it's on your local network.
ivanhoe1024
@ivanhoe1024

@ivanhoe1024 you can generate self-signed certificates, in fact if you set ENABLE_LETSENCRYPT to false it will generate a self-signed certificate. The drawback is that users will get a warning when they connect (can be ignored with firefox but will show up repeateadly with chrome). And yes, you do need to use HTTPS even if it's on your local network.

Thank you for your answer. So what is the right way to proceed to have a self-signed certificate on a debian server accessible with IP address? When it asks, I should select "Server" as kind of installation, then "NO" to domain name and enter the IP address, choose HTTPS, correct?

Nicolas CARPi
@NicolasCARPi
I highly recommend using a domain name if possible, anyway, the script is just a helper, edit the .yml file after running it to make sure it is as you want it to be
ivanhoe1024
@ivanhoe1024
It seems to work, many many thanks for your assistance!
Nicolas CARPi
@NicolasCARPi
great!
can you tell me in which lab/institution you're setting this up? @ivanhoe1024
ivanhoe1024
@ivanhoe1024
I am in Italy, started to work for a small dutch research company which deals with drug discovery, synthesis and in vitro assays incubated in a public italian "research companies incubator"... at the moment I installed elabftw on a virtual debian server, since I need to get a little used to it and understand its true potential by using it for some true experiments. In this way, I can sponsor it to my supervisors, with the hope to replace paper-based registers asap
Nicolas CARPi
@NicolasCARPi
Ok cool. Feel free to contact me on deltablot.email if you wish to go with PRO Hosting or purchase PRO Support!
Luigi Faino
@lfaino
Hi
i have a problem installing elabftw
i installed using http and not https but when i try to log in i get this error:
eLabFTW works only in HTTPS. Please enable HTTPS on your server. Or click this link : http://zeuspv.dbv.uniroma1.it:4443
any idea how i can fix it
Nicolas CARPi
@NicolasCARPi
yeah, use https.
ivanhoe1024
@ivanhoe1024

Hi

You should set "DISABLE_HTTPS=false" in your configuration file even if you are not setting up a certificate through letsencrypt (it is a little misleading, imho). Then, if you open your local site through firefox, and accept the risk of not having a certificate from an external provider, you should be ready to go

Luigi Faino
@lfaino
when i finish to re-install the software, it asks me to configure a TLS. how can i configure a TLs certificate? i`m new to all this and i do not have any idea
Nicolas CARPi
@NicolasCARPi
@lfaino look into Let's Encrypt service, and google every question you have ;)
but to be fair, a minimum of server administration knowledge is required to install eLabFTW. That shouldn't stop you of course, and you will learn a lot along the way, but if you're going to do more than just play with it, I would recommand the PRO Hosting solution!
Hosting a webservice is easy. Doing it right is hard.
Luigi Faino
@lfaino
at the end it worked out
thanks
Nicolas CARPi
@NicolasCARPi
ok great!