Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 703 of 806  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  69811   Fri Jul 26 12:52:54 2024 Entry Carl Unsworthcarl.unsworth@stfc.ac.ukBug reportLinuxV3.1.5-23df00dOld attachments erroneously appearing on new Elog entries.

Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition to any attachments which were actually added during article creation.

I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.

Does anyone have any idea what's happening?

Attachment 1: Screenshot_from_2024-07-26_11-46-44.png
Screenshot_from_2024-07-26_11-46-44.png
Attachment 2: Screenshot_from_2024-07-26_11-47-58.png
Screenshot_from_2024-07-26_11-47-58.png
  69812   Fri Jul 26 12:53:23 2024 Question Carl Unsworthcarl.unsworth@stfc.ac.ukBug reportLinuxV3.1.5-23df00dOld attachments erroneously appearing on new Elog entries.

Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition to any attachments which were actually added during article creation.

I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.

Does anyone have any idea what's happening?

Attachment 1: Screenshot_from_2024-07-26_11-46-44.png
Screenshot_from_2024-07-26_11-46-44.png
Attachment 2: Screenshot_from_2024-07-26_11-47-58.png
Screenshot_from_2024-07-26_11-47-58.png
  69814   Fri Jul 26 13:14:38 2024 Reply Carl Unsworthcarl.unsworth@stfc.ac.ukBug reportLinuxV3.1.5-23df00dRe: Old attachments erroneously appearing on new Elog entries.

Thanks very much for the quick response Stefan. My apologies, I thought I was on the latest version or I would have upgraded before contacting you.
The file I installed from was the rpm "elog-3.1.5-20240226.el9.x86_64.rpm" which still seems to be the latest version on the Dropbox downloads page.
Do I need to use the tar distribution to get the latest?

Stefan Ritt wrote:

This bug has been fixed in meantime, please upgrade to the current version.

 

  69816   Fri Jul 26 14:33:50 2024 Reply Carl Unsworthcarl.unsworth@stfc.ac.ukBug reportLinuxV3.1.5-23df00dRe: Old attachments erroneously appearing on new Elog entries.

Great, thank you again. I have now installed the latest and the problem appears to be gone.

Stefan Ritt wrote:

I updated the EL9 rpms, so please try again.

 

  1359   Thu Jul 28 17:11:32 2005 Question Carl Shireycarl.shirey@pw.utc.comQuestionLinux2.6Login twice
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.
  1363   Mon Aug 1 23:41:06 2005 Reply Carl Shireycarl.shirey@pw.utc.comQuestionLinux2.6Re: Login twice

Stefan Ritt wrote:

Carl Shirey wrote:
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.


Can you send me your elogd.cfg?


Yes Here is a copy of the elog.cfg.

Thanks for your help
Attachment 1: elogd.cfg
[global]
Mirror server = http://pdl:8080
Mirror cron = 30 01 * * *

port = 8080

Welcome title = <center><H1>Test & Operations Log</h1><p>Contact Carl Shirey with questions.</p></center>

#  Top text = <center><a href="/">Logbooks</a></center>
Bottom text = <center><a href="/">Logbooks</a></center>

#  SMTP host = E102374@pwflwp

#  Theme = compact

Theme = default

password file = elogd_passwd

self register = 1

Login expiration = 1

Group DRO = DRO-E06, DRO-E8A, DRO-E8B, DRO-North_Stand, DRO-EWR, DRO-Other

Group OPS = OPS-E06, OPS-E8A, OPS-E8B, OPS-North_Stand, OPS-EWR, OPS-Other

Group Stand_Crew = Stand_Crew-E06, Stand_Crew-E08, Stand_Crew-North_Stand, Stand_Crew-PSA,

Group ELECTRICIAN = Elec_Log

Group Test_log = Test_log

admin user = e102374, admin

Write Password Expiration = 0

Reverse sort = 1

Default encoding = 1




##########################################################################
##########################################################################

[DRO-E06]
Comment = DRO PASS#DOWN E06 LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y


#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:
 

#   a few flags



Filtered browsing = 0

Entries per page = 10

Restrict edit = 1

Summary lines = 0

Back to main = 1

Restrict edit time = 8


#   options for reply

Subst on reply subject = Re: $Configuration Name

Remove on reply = Author, Author Email

 

#   No Email notification

Suppress Email to users = 1

#   RSS Title

RSS Title = $subject, posted by $author on $entry time




##########################################################################
##########################################################################

[DRO-E8A]
Comment = DRO PASS#DOWN E8A LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y


#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:
 

#   a few flags

Filtered browsing = 0

Entries per page = 10

Restrict edit = 1

Summary lines = 0

Back to main = 1

Restrict edit time = 8
 

#   options for reply

Subst on reply subject = Re: $Configuration Name

Remove on reply = Author, Author Email

 

#   No Email notification

Suppress Email to users = 1

#   RSS Title

RSS Title = $subject, posted by $author on $entry time


##########################################################################
##########################################################################

[DRO-E8B]
Comment = DRO PASS#DOWN E8B LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y
 

#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:

 

#   a few flags

Filtered browsing = 0

Entries per page = 10

Restrict edit = 1
... 1466 more lines ...
  1378   Fri Aug 5 02:14:22 2005 Reply Carl Shireycarl.shirey@pw.utc.comQuestionLinux2.6Re: Login twice

Stefan Ritt wrote:

Carl Shirey wrote:
Yes Here is a copy of the elog.cfg.


I tried with your config file and it worked fine. So can you tell me:

  • At what URL do you access your logbook? Do you just type http://localhost:8080 or anything else
  • Do you use any proxy or stunnel?
  • What is the URL in your browser showing on the first and second login?

You might want to consider to put a
URL = http://<your host>:8080/
into your config file.


Thanks
Your questions that you ask me help me out.
What I was doing was typing in the URL was http://pdls:8080 and it took me the pass down log. When I went to login into Elog took me back to the log but the URL read http://pdls.pwfl.com:8080 so when I log in the second time I was to be the edit mode. So I guess I should have typing in the URL http://pdls.pwfl.com:8080.

Thanks again for your help
  1459   Thu Oct 13 19:15:48 2005 Question Carl Shireycarl.shirey@pw.utc.com Linux2.6New Accounts
I hope you can help me Stefan.
The problem that I am having is when someone request a account on elog I received e-mail message to activate there account. I click on the link from my e-mail to activate the account it takes me to the logon page. I log on and then I get a massage that the web does not exist.
What I found out was the elog Damon stops, and I have to restart it and everything work fine.
Here is a copy of me Elog config.

Also can you tell me how you set up the Subtext and the Show new entry buttons on the main page of the elog.

Thank for your help
ELOG V3.1.5-3fb85fa6