ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69869
|
Fri Mar 21 23:51:08 2025 |
| Konstantin Olchanski | olchansk@triumf.ca | Question | Linux | latest | Re: Host ELOG on Raspberry Pi for small lab | > is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?
would be same as on any other linux machine, in the nutshell:
- install generic raspbian (R-12 is current version)
- setup the network
- setup apache2 https with automatic https certificate renewal using certbot
- setup apache2 redirect to elogd port 8080
- setup elogd on port localhost:8080
some of this is written up here:
https://daq00.triumf.ca/DaqWiki/index.php/Ubuntu#Install_apache_httpd_proxy_for_midas_and_elog
in theory you can run elogd without apache https proxy, but I find computer security
people are quite happy when I tell them that I run apache https with SSLlabs score "A+".
also I believe elogd does not support automatic https certificate renewal, running
it behind apache https solves that.
another consideration, specifically for RaspberryPi, they use SD flash for storage,
and unlike SATA and NVMe SSDs, SD flash does not have SMART to report flash read,
write and wear-out problems. So you may run into unexpected SD flash failures. We do.
do daily/hourly rsync to backup/archive storage to avoid total data loss if this happens.
also be aware that SD flash is very slow, compared to normal PC SSDs. read speed is not too
bad, but write speed is quite abysmal.
as solution to this, RPi5 can have a PCIe/NVMe dongle, you can try that instead of SD flash.
K.O. |
69868
|
Thu Mar 20 11:21:07 2025 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | latest | Re: Host ELOG on Raspberry Pi for small lab | Just read the manual: https://elog.psi.ch/elog/adminguide.html
Michel Döhring wrote: |
Dear all,
is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?
Wishes,
M
|
|
69867
|
Thu Mar 20 10:25:59 2025 |
| Michel Döhring | michel.doehring@physik.uni-giessen.de | Question | Linux | latest | Host ELOG on Raspberry Pi for small lab | Dear all,
is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?
Wishes,
M |
69866
|
Thu Mar 20 07:34:24 2025 |
| Harry Martin | harrymartin772@gmail.com | Bug report | Linux | 3.1.5 | 3-level conditional not working | Not sure if this is a bug or not; if it is not, kindly reclassify the category.
Following is a small example of what I will dub a 3-level, conditional logbook:
[cond_test]
attributes = region, manufacturer, model
show attributes edit = region
options region = american{1}, japanese{2}, european{3}
{1} options manufacturer = ford, chrysler, gm
{2} options manufacturer = toyota{4}, nissan{5}, mitsubishi{6}
{3} options manufacturer = audi, mercedes, bmw, volvo, fiat
{1,2,3} show attributes edit = region, manufacturer
{4} options model = corolla, prius, miata
{5} options model = sentra, murano
{6} options model = starion, outlander, mirage
{4,5,6} show attributes edit = region, manufacturer, model
This example is hardly complete, but it is sufficient to demonstrate the issue I am running into. This works until I select from the 2nd level (manufacturer); it won't display the dropdown for the model (I think my show attribute edit is supposed to display that). Is there a restriction on how many levels of conditional I can have? If there is, it would be disappointing because I am trying to do something similar to this example.
I hope there is something very simple I can do to correct this, or perhaps a completely different approach that accomplishes the same thing. I'd like to stick with the multi-level selection process as I have done here.
I am running elog 3.1.5 on Devuan Chimaera (approx. Debian Bullseye, sans systemd) in a Virtualbox VM. |
69864
|
Thu Jan 23 11:32:05 2025 |
| Arjan Hulsbosch | Arjan.Hulsbosch@ext.esa.int | Bug report | Linux | Windows | Mac OSX | All | Other | 3.1.5 | Webserver authentication may cause redirect loop | If
- Elog is configured to use webserver authentication, and
- the user reported by the webserver does not exist in the password file, and
- the "Guest Menu commands" configuration is set in "elogd.cfg", and
- a logbook is accessed,
then Elog returns with a redirect (302) to the logbook itself, causing the loop.
The fix here is to remove the "Guest Menu commands" configuration from "elogd.cfg".
Source code location: https://bitbucket.org/ritt/elog/src/30ada1df634529c8011c27275c52a05b01b7b3d6/src/elogd.cxx#lines-27599 |
69863
|
Tue Jan 7 20:41:13 2025 |
| Stefan Ritt | It i | Bug report | Linux | elog-3.1.5-1 | Re: Segfault on elog-3.1.5-1 when uploading file. | It is in the usual download area which is referenced at https://elog.psi.ch/elog/download.html
Stefan
Evinrude Motor wrote: |
When will the new source be in the standard download area ? I'm on ubuntu .
gary holman wrote: |
Thanks Stefen!
I built from source (ELOG V3.1.5-3a5f2f00) and I confirmed as fixed.
Stefan Ritt wrote: |
Thanks to your stack trace, I found a case where a string might get overwritten, but only if the attachment file name is longer than 256 chars. I fixed the code and made a new RPM:
https://www.dropbox.com/scl/fi/r37qx9aka5ytt3j7vn4km/elog-3.1.5-20241213.el8.x86_64.rpm?rlkey=knct99pdltggunrbmyr2hpfe5&st=pkre24aq&dl=0
Alternatively, you can compile from sources. Give it a try.
Stefan
|
|
|
|
69862
|
Tue Jan 7 20:35:23 2025 |
| Evinrude Motor | minsonj2016@gmail.com | Bug report | Linux | elog-3.1.5-1 | Re: Segfault on elog-3.1.5-1 when uploading file. | When will the new source be in the standard download area ? I'm on ubuntu .
gary holman wrote: |
Thanks Stefen!
I built from source (ELOG V3.1.5-3a5f2f00) and I confirmed as fixed.
Stefan Ritt wrote: |
Thanks to your stack trace, I found a case where a string might get overwritten, but only if the attachment file name is longer than 256 chars. I fixed the code and made a new RPM:
https://www.dropbox.com/scl/fi/r37qx9aka5ytt3j7vn4km/elog-3.1.5-20241213.el8.x86_64.rpm?rlkey=knct99pdltggunrbmyr2hpfe5&st=pkre24aq&dl=0
Alternatively, you can compile from sources. Give it a try.
Stefan
|
|
|
Draft
|
Tue Jan 7 20:32:10 2025 |
| Evinrude Motor | minsonj2016@gmail.com | Bug report | Linux | elog-3.1.5-1 | Re: Segfault on elog-3.1.5-1 when uploading file. | When will the new src be in the standard repos? I'm on ubuntu and
gary holman wrote: |
Thanks Stefen!
I built from source (ELOG V3.1.5-3a5f2f00) and I confirmed as fixed.
Stefan Ritt wrote: |
Thanks to your stack trace, I found a case where a string might get overwritten, but only if the attachment file name is longer than 256 chars. I fixed the code and made a new RPM:
https://www.dropbox.com/scl/fi/r37qx9aka5ytt3j7vn4km/elog-3.1.5-20241213.el8.x86_64.rpm?rlkey=knct99pdltggunrbmyr2hpfe5&st=pkre24aq&dl=0
Alternatively, you can compile from sources. Give it a try.
Stefan
|
|
|
|