From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 15:08:17 2020
|
I'm running Elog version V3.1.4-ba84827 on Red Hat Linux 7.9. As part of migrating from an older in-house logbook to Elog, I need to upload
all the old logbook entries. However, when I attempt to do that with the "elog" command line tool, I'm getting the error "command Submit
not allowed. |
Re: From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 17:50:50 2020
|
Update: I tried switching the logbook to no authentication reqiured, and still get the "command Submit not allowed" response.
David
Wallis wrote:
I'm running Elog version V3.1.4-ba84827 on Red Hat |
Re: From command line: "command Submit not allowed", posted by Stefan Ritt on Tue Oct 20 18:02:42 2020
|
"submit not allowed" you typically get if there is a "guest menu" for read-only access and you are not logged in. I never tried the
elog program with PAM authentication, but you said that your turned authentication off. What I would do is to strip down your elogd.cfg to a very simple
form until the elog utility works, then figure out which configuration makes the trouble. |
Re: From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 18:26:26 2020
|
Hmmm... I added "New" to the Guest menu list, and the button showed up for a guest user. But when I submitted the new ticket, I got the message Error:
Command "Submit" is not allowed for user ""
Stefan |
Re: From command line: "command Submit not allowed", posted by Stefan Ritt on Tue Oct 20 18:40:05 2020
|
Giving up. Send me your config file and I will debug it.
Stefan
David |
Re: From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 20:44:03 2020
|
I've been able to work around this by completely turning off authentication, and adding New to the Guest menu list.
One additional question: since I'm uploading historical logbook entries, is it possible to set the entry creation date via the command line?
It seems that elogd is overriding the attribute "Date". |
Re: From command line: "command Submit not allowed", posted by David Dunne on Wed Oct 21 03:08:21 2020
|
FYI, I had problems a few weeks ago trying to get the command line elog working, blamed everybody and everything but myself.
In my case it was command line syntax errors and eventually got it going as part of a nightly script
While testing I ran the Elog Server from the command line in verbose mode to see if that helped determine the problem. |
Re: From command line: "command Submit not allowed", posted by David Wallis on Wed Oct 21 15:14:13 2020
|
Hi David, thanks for your input!
This logbook has been around for almost 10 years, and has evolved from file-based authentication, to LDAP, and finally to PAM (that can use any
of local password files, LDAP, and Active Directory), and I'm thinking that might be the root of this problem. There are old account entries from the |
Upload attachment with py_elog, posted by Bruno Schuler on Tue Oct 20 16:05:40 2020
|
Hello,
How can one add an attachment to a new or existing entry with py_elog?
E.g. if I want to upload an image. |
Up-to-date windows-version, posted by Sergei Gavrilov on Sun Oct 18 16:59:38 2020
|
Dear colleagues,
Can someone compile an up-to-date windows-version or write a manual how to do it in Windows without compiling errors?
Thank you. |
Is it possible to visually group attributes with border, posted by Daniel Sajdyk on Thu Oct 8 12:29:55 2020
|
Hello,
I'm working on new logbook and in one category I'll have many attributes (many more than in attached screenshot).
So here is my question. Is it possible to visually group such attributes with some border, or something like that? |
Re: Is it possible to visually group attributes with border, posted by Stefan Ritt on Thu Oct 8 12:40:52 2020
|
Nope, this is not possible. Sorry.
Stefan
Daniel |
moving eLog to another computer, posted by Ekaterina Korobkina on Wed Sep 30 18:57:44 2020
|
Our Unix server died, so we decided to move our old eLog to the new server, running Mac OSX. Elog version is earlier then 2013, I can not say
I read that on OSX eLog must be intalled through "make" command
if I need to install eLog first, how to add all old information later? |
Re: moving eLog to another computer, posted by Andreas Luedeke on Sat Oct 3 11:08:27 2020
|
you need to copy your logbooks into the "logbooks" directory.
you need to copy your elog.cfg logbook config file to the
new elog folder and reference it at start-up (something like "elogd -c /usr/local/elog/elogd.cfg ...")
Some people modify other
stuff (CSS, java scripts) but if you had you would know what you did. |
Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:03:48 2020
|
Hi,
Since few days I Notice that I've some data who disappear from ELOG (software).
I find them on ELog/Logbooks, but can't view them in the application ELOG ! |
Re: Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:10:06 2020
|
Oh! I can view all data but only from the PC where ELOG is Installed !
From the other PC data missed.
Lahreche |
Re: Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:40:16 2020
|
The solution is in the reindex
Lahreche
Abdelmadjid wrote:
Oh! I can view all data but only from the PC where ELOG is Installed |
Bug report. "Submit" button misbehave, posted by Andrey on Tue Sep 22 18:54:04 2020
|
Hi.
I am an IT guy of the AMS collaboration at CERN. We have been using your wonderful elog software for about 10 years now. Thanks! It served us
so well that I guess we never got in touch with you. |
SOLVED, posted by Andrey on Wed Sep 23 11:51:57 2020
|
Hi again. We have solved our problem!
It was caused by a non-defined mod_auth_openidc configuration parameter:
# Interval in seconds after which the session will be invalidated when no interaction has occurred. |
Query to get values for Attributes, posted by Florian Feldbauer on Mon Sep 21 09:17:52 2020
|
Hey,
I'm trying to integrate the Elog into our SlowControl System (Phoebus/EPICS). As a first step I translated the python library to Java. So
writing new Entries and viewing them works. |
Re: Query to get values for Attributes, posted by Andreas Luedeke on Mon Sep 21 20:03:49 2020
|
That would be a nice feature...
If you are good in parsing HTML you can achieve this feature: when you create a new entry "<elog-URL>?cmd=new", you'll get
HTML source code that provides you with all possible attribute choices. |
Re: Query to get values for Attributes, posted by Florian Feldbauer on Tue Sep 22 09:27:45 2020
|
Thanks for the tipp. I managed to use XPATH to get the values for my Type and Category attributes!
The API, I'm developing for Phoebus is quiet simple. It currently just supports Author, Subject, Type and Category as attributes and the
latter two are just lists of values. |