ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69470
|
Thu Feb 10 17:32:42 2022 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 3.1.4-2 | Re: "New User" option does not work when Authentication=Webserver |
Thanks for your patch, I committed it.
Stefan |
69552
|
Sat Aug 6 18:38:50 2022 |
| Uwe Vollbracht | uwe.vollbracht@malteser-bergheim.de | Question | Windows | 3.1.4-2 | Unable to add user |
Hi,
we're using elog to handle various logbooks. It's a great tool by the way.
While replacing the Win32 2.7.8 Release with Release 3.1.4-2, we ran into the
following problem.
Since elog is for internal usage only, we allow users to self-register if they
are new. Therefore "Self register = 1" is set in the [global]-area.
Using the Win32-Release of elog, it worked fine while using Release 2.7.8 or
2.8.0. Starting with Release 3.x everytime you try do add a user, the following
error occurs:
Error: Command "config" is not allowed for user ""
No matter if the user self-registers or is added by an elog-admin-user. We
tried various 3.x Releases from 3.1.0-1 up to the latest 3.1.4-2.
The error-message remains the same. Curious, although an error-message occurs,
the user is added and able to use all logbooks. We also ran elogd in
Debug-Mode (-v3), but the output didn't give a clue.
By the way using the same configuration on a linux-based installation (Debian
and RaspiOS) self-registration works smooth. No error-message occurs.
So what could be the problem? Any suggestion is greatly appreciated.
Thanks in advance. |
69553
|
Mon Aug 8 08:26:11 2022 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.4-2 | Re: Unable to add user |
I recommend to clear all your browser cookies for the elog server. Sometimes an old cookie confuses the
access mechanism.
Stefan |
69554
|
Mon Aug 8 14:06:28 2022 |
| Uwe Vollbracht | uwe.vollbracht@malteser-bergheim.de | Question | Windows | 3.1.4-2 | Re: Unable to add user |
Thanks for answering. Just tried your suggestion with different browsers
(firefox, chrome, brave) but the error message still appears when adding a
new user.
By the way, i justed noticed that if you click "back" followed by "cancel" you
enter the logbook as the user you just added. It seems that although elogd
throws an error, the user is added. Weird.
Since most of our users don't trust open source software, the error message
will only confuse them. So, is there any way to avoid this message from
appearing?
Perhaps a few words about our use case:
We are a german non profit organisation in disaster control. Since 2007 we use
elog as mobile mission journal in our unit. We adapted elog to run from
usb-stick, so all our first-responders have to do is to plug it into a laptop
and they are ready to go.
We also hand the adapted installation to other organisations like local fire
department or red cross units and offer them a short (2 hour) course on how to
use it. Since the windows-release is the most requested, it would be confusing
for them if an error message appears every time a new user is added.
So if you have any further ideas, I would appreciate that.
Uwe |
69555
|
Mon Aug 8 20:52:17 2022 |
| Konstantin Olchanski | olchansk@triumf.ca | Question | Windows | 3.1.4-2 | Re: Unable to add user |
> Error: Command "config" is not allowed for user ""
Could it be related to the error messages thrown by "activate user"? see
https://elog.psi.ch/elogs/Forum/69479
K.O. |
68897
|
Mon Feb 25 17:03:50 2019 |
| Kester Habermann | kester.habermann@gmail.com | Bug report | Linux | 3.1.4-1 | elogd hangs on self referencing log entry |
Hello,
Somehow when replying to a log entry, a log entry was created that was referring to itself. How this happened, I have no idea. The effect was that each time this enty was loaded, the elogd started to hang, going to 100% load and not responding to any http requests anymore. This problem can be reproduced by manually creating such a self-referencing log entry (see attachment). The problem entry that leads to the crash can be made by editing any elog entry and adding a line "Reply to: X" and a line "In reply to: X" where X is the MID of this entry.
1) Maybe it is possible to add a check when writing files that ensure, that is a log entry does not reference itself.
2) Maybe when loading files are preparing the thread view, elogd can detect cycles and abort.
|
Attachment 1: 011108a.log
|
$@MID@$: 1
Date: Thu Nov 08 18:37:57 2001
Reply to: 1
In reply to: 1
Author: Stefan Ritt
Type: Routine
Category: General
Subject: Welcome
Attachment:
Encoding: ELCode
========================================
[B]Congratulations for installing ELOG sucessfully!
[/B]
This is a demo entry to ensure the elogd server is working correctly.
Click [I]"New"[/I] to add new pages and [I]"Delete"[/I] to delete this page.
|
69341
|
Fri Apr 9 16:48:54 2021 |
| Gys Wuyts | gys.wuyts@gmail.com | Question | Windows | 3.1.4 (latest) | auto pre-fill fields issue |
Hello,
what are the pre-requisites to automatically fill the Author and Author Email fields. The documented method:
Subst Author = $long_name from $remote_host
Subst Email = $user_email
in the elogd.cfg file does not seem to work.
(I see it works here on this platform)
Tnks
G |
69342
|
Fri Apr 9 17:54:42 2021 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.4 (latest) | Re: auto pre-fill fields issue |
You need user-level access control, using
Password file = ...
Stefan
Gys Wuyts wrote: |
Hello,
what are the pre-requisites to automatically fill the Author and Author Email fields. The documented method:
Subst Author = $long_name from $remote_host
Subst Email = $user_email
in the elogd.cfg file does not seem to work.
(I see it works here on this platform)
Tnks
G
|
|