ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67284
|
Mon May 21 14:41:25 2012 |
| Roland Gsell | roland.gsell@oeaw.ac.at | Question | Linux | 2.9.1-2435 | Periodic backup doesn't work .. | Hi,
I installed ELOG on other machine for making automatic backups. I copied the .cfg file to the slave and edited the .cfg file on the original machine (mirror server entries).
(automatic configuration with -C didn't work somehow - maybe a firewall problem)
Then I tried to synchronize manually, which works great.
I set the mirror cron = 0 7-18 * * 1-5, as written as example in the documents, but nothing happens at full hours.
There's something else strange: I can't access "https://lx0.mydomain.org/" or "http://lx1.mydomain.org:8082/" directly. The browser just keeps loading - showing an empty page (and an error message after a long while). I have to add the name of the logbook to the link. Why is that?
If I set different paths in the [global HBAR] and [global SMI] areas (like URL = https://lx0.mydomain.org/hbar/), I can access the links above (giving me the overview page as expected), but I can't access the logbooks itself anymore.
However, that's not a big problem (I can access the logbooks via direct link and see all the others in the same group and switch to them), but the backup thing is.
So, main machine is lx0.mydomain.org and the backup machine is lx1...
Attached are my config files.
I deleted many of the logbook specific entries, since they aren't important and just look like the first one.
Hope anyone can help,
Roland. |
Attachment 1: lx0_elogd.cfg.txt
|
[global]
SSL = 1
Mirror server = http://lx1.mydomain.org:8082
Mirror config = 1
Mirror cron = 0 7-18 * * 1-5
Mirror user = gsell
Mirror simulate = 0
Mirror exclude = 0
SMTP host = smtp.mydomain.org
Group HBAR-HFS = Detektor, Simulation, Cavity, Shielding_and_Helmholtz_coils, Sextupole, DAQ
Group non-ERC = SIDDHARTA, VIP, FAIR, HP3_Leannis, HP3_Joint_GEM, HP3_SiPM, HP3_Future_Jet
Top group HBAR = HBAR-HFS
Top group SMI = non-ERC
Theme = default
; attributes
Attributes = Author, Type, Category, Subject
Options Type = Logbook, Configuration, Other
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
Extendable Options = Category
Required Attributes = Author, Category, Subject
Thread display = $Subject, entered by $author on $Entry date
; Title shown in the browser
Page Title = HBAR-HFS - $subject
Reverse sort = 1
Quick Filter = Date, Category
Preset Author = $long_name
Locked Attributes = Author, Author Email
; only author can change its own entry
Restrict edit = 1
; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email
[global HBAR]
URL = https://lx0.mydomain.org/
Password file = elogpass_hbar
Admin user = gsell, malbrunot
[global SMI]
URL = https://lx0.mydomain.org/
Password file = elogpass_smi
Admin user = gsell
[Detektor]
;User
Login user = gsell, widmann, diermaier, federmann, malbrunot, massiczek, sauerzopf, wuenschek, zmeskal, suzuki
|
Attachment 2: lx1_elogd.cfg.txt
|
[global]
SSL = 0
Port = 8082
SMTP host = smtp.mydomain.org
Group HBAR-HFS = Detektor, Simulation, Cavity, Shielding_and_Helmholtz_coils, Sextupole, DAQ
Group non-ERC = SIDDHARTA, VIP, FAIR, HP3_Leannis, HP3_Joint_GEM, HP3_SiPM, HP3_Future_Jet
Top group HBAR = HBAR-HFS
Top group SMI = non-ERC
Theme = default
; attributes
Attributes = Author, Type, Category, Subject
Options Type = Logbook, Configuration, Other
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
Extendable Options = Category
Required Attributes = Author, Category, Subject
Thread display = $Subject, entered by $author on $Entry date
; Title shown in the browser
Page Title = HBAR-HFS - $subject
Reverse sort = 1
Quick Filter = Date, Category
Preset Author = $long_name
Locked Attributes = Author, Author Email
; only author can change its own entry
Restrict edit = 1
; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email
[global HBAR]
URL = http://lx1.mydomain.org:8082/
Password file = elogpass_hbar
Admin user = gsell, malbrunot
[global SMI]
URL = http://lx1.mydomain.org:8082/
Password file = elogpass_smi
Admin user = gsell
[Detektor]
;User
Login user = gsell, widmann, diermaier, federmann, malbrunot, massiczek, sauerzopf, wuenschek, zmeskal, suzuki
|
67287
|
Tue Jun 12 10:38:34 2012 |
| Roland Gsell | roland.gsell@oeaw.ac.at | Question | Linux | 2.9.1-2435 | Re: Periodic backup doesn't work .. | The synchronize feature is totally worthless to me.
First of all the automatic backup doesn't work - and nobody seems to know why - and pressing the synchronize button by hand from time to time also doesn't work if the entry is too big:
Error sending local entry: Error transmitting message
So, copying the files manually helps, but for this I don't need a "fancy" synchronize feature. |
67288
|
Tue Jun 19 04:02:43 2012 |
| Ken Harvey | richard.harvey@l-3com.com | Question | Linux | 2.9.1-2435 | Re: author field in reply |
I am a newbie to being the administrator to ELog, but have used it for a while now. We just updated and have the same issue with the reply now. Unfortunatley I am not much of a programmer, yet, still learning. In our config file it has "Preset Name = $long_name", "Preset Author = $long_name", "Preset on reply Author = $long_name". By looking in the Syntax of elogd.cfg section, it seems to be correct, but I am not sure. Can you give me a suggestion on how it should look? Or tell me why it is not working and lead me in the right direction on how to correctly set it up? Thank you for your time. |
67289
|
Wed Jun 20 14:02:45 2012 |
| Ocane | reuldky@yahoo.com | Question | Linux | 2.9.1-2435 | Protect Selection page=1 | Hi,
I have several top groups and each has several logbooks.
If I use the global option Protect Selection page=1 and Show top groups = 1, after an user logs in to the top group selection URL, the elog steers away from the top group selection page, and automatically brings him to the logbook selection page of the first top group. Is the elog programmed to exhibit this behavior?
What I would prefer is that, after an user logs in, the elog stays on the top group selection page, sine each user has his preferred destination, not always the logbooks in the first top group. Is there any setting I can use in the config file to do this?
(My users need to access different top groups and logbooks on regular basis).
Thank you and regards. |
67290
|
Wed Jun 20 16:16:56 2012 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | 2.9.1-2435 | Re: author field in reply |
Ken Harvey wrote: |
I am a newbie to being the administrator to ELog, but have used it for a while now. We just updated and have the same issue with the reply now. Unfortunatley I am not much of a programmer, yet, still learning. In our config file it has "Preset Name = $long_name", "Preset Author = $long_name", "Preset on reply Author = $long_name". By looking in the Syntax of elogd.cfg section, it seems to be correct, but I am not sure. Can you give me a suggestion on how it should look? Or tell me why it is not working and lead me in the right direction on how to correctly set it up? Thank you for your time. |
A common mistake is to think that "Author" is some kind of keyword: it is not.
You can use any defined attribute, if you want to use "Author" this attribute needs to be defined in the "Attributes=" command line.
Attributes = Author, ...
Then you can use the "Preset" command.
Preset Author = $long_name
Preset on reply Author = $long_name
I've just tested it with 2.9.0-2435 and it works fine.
If the following 4 line minimal logbook configuration does not work for 2.9.1, then please post again:
Attributes = Author
Preset Author = $long_name
Preset on reply Author = $long_name
Locked Attributes = Author
Cheers
Andreas |
67291
|
Thu Jun 21 05:29:59 2012 |
| Ken Harvey | richard.harvey@l-3com.com | Question | Linux | 2.9.1-2435 | Re: author field in reply |
Andreas Luedeke wrote: |
Ken Harvey wrote: |
I am a newbie to being the administrator to ELog, but have used it for a while now. We just updated and have the same issue with the reply now. Unfortunatley I am not much of a programmer, yet, still learning. In our config file it has "Preset Name = $long_name", "Preset Author = $long_name", "Preset on reply Author = $long_name". By looking in the Syntax of elogd.cfg section, it seems to be correct, but I am not sure. Can you give me a suggestion on how it should look? Or tell me why it is not working and lead me in the right direction on how to correctly set it up? Thank you for your time. |
A common mistake is to think that "Author" is some kind of keyword: it is not.
You can use any defined attribute, if you want to use "Author" this attribute needs to be defined in the "Attributes=" command line.
Attributes = Author, ...
Then you can use the "Preset" command.
Preset Author = $long_name
Preset on reply Author = $long_name
I've just tested it with 2.9.0-2435 and it works fine.
If the following 4 line minimal logbook configuration does not work for 2.9.1, then please post again:
Attributes = Author
Preset Author = $long_name
Preset on reply Author = $long_name
Locked Attributes = Author
Cheers
Andreas |
Thanks Andreas,
That cleared up a lot for me. With your information I was able to figure it out. I got rid of the Author and just went with Name, and now it all works good.
Again, thanks for your help,
Ken Harvey |
67438
|
Mon Feb 18 20:12:25 2013 |
| Tom Langford | tlangfor@umd.edu | Question | Linux | 2.9.1-2435 | Re: Protect Selection page=1 |
Ocane wrote: |
Hi,
I have several top groups and each has several logbooks.
If I use the global option Protect Selection page=1 and Show top groups = 1, after an user logs in to the top group selection URL, the elog steers away from the top group selection page, and automatically brings him to the logbook selection page of the first top group. Is the elog programmed to exhibit this behavior?
What I would prefer is that, after an user logs in, the elog stays on the top group selection page, sine each user has his preferred destination, not always the logbooks in the first top group. Is there any setting I can use in the config file to do this?
(My users need to access different top groups and logbooks on regular basis).
Thank you and regards.
|
I am currently having a similar problem. I am migrating a few separate elogs to one new computer. I have three top groups set up with their own password files. If I log into top group A (TGA), and then try to go to top group B (TGB), I am presented with a "Create new user" screen for my login name for TGA. When I complete that form, I am taken to the user settings for top group A, rather than TGB. I can log out of TGA and then log into TGB fine, but if I try to switch between them without logging out, it freaks out.
There seems to be a problem with the cookies that keep me logged into the different top groups not recognizing that they are different entities. I'm running eLog 2.9.1 rev 436. Is it possible that this has been addressed in 2.9.2?
Thanks,
-t |
67439
|
Tue Feb 19 09:13:34 2013 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.9.1-2435 | Re: Protect Selection page=1 |
Tom Langford wrote: |
Ocane wrote: |
Hi,
I have several top groups and each has several logbooks.
If I use the global option Protect Selection page=1 and Show top groups = 1, after an user logs in to the top group selection URL, the elog steers away from the top group selection page, and automatically brings him to the logbook selection page of the first top group. Is the elog programmed to exhibit this behavior?
What I would prefer is that, after an user logs in, the elog stays on the top group selection page, sine each user has his preferred destination, not always the logbooks in the first top group. Is there any setting I can use in the config file to do this?
(My users need to access different top groups and logbooks on regular basis).
Thank you and regards.
|
I am currently having a similar problem. I am migrating a few separate elogs to one new computer. I have three top groups set up with their own password files. If I log into top group A (TGA), and then try to go to top group B (TGB), I am presented with a "Create new user" screen for my login name for TGA. When I complete that form, I am taken to the user settings for top group A, rather than TGB. I can log out of TGA and then log into TGB fine, but if I try to switch between them without logging out, it freaks out.
There seems to be a problem with the cookies that keep me logged into the different top groups not recognizing that they are different entities. I'm running eLog 2.9.1 rev 436. Is it possible that this has been addressed in 2.9.2?
Thanks,
-t
|
Certainly 2.9.1 and 2.9.2 should behave similar in that respect. Have you tried to clear all cookies in your browser and try again?
/Stefan |
|