What's new

Scribe scribe 3.x_y - syslog-ng and logrotate installer

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

@Martinski

I made the changes from your #47 pull request in my installed scribe script and I think there may be a problem. I think syslog-ng expects the version to be 4.7, not 4.7.1, so it fails to start. If you correct the conf file to 4.7, scribe corrects it to 4.7.1 and there you go again.

If you disable the check, change the version to 4.7, syslog-ng starts.

EDIT: fixed
Thank you for finding & reporting the bug in the PR. It's been fixed now.

If you want to download the full script submitted with the PR (with all its latest fixes) so you don't have to edit your own installed version, here's the command:
Bash:
curl -LSs --retry 4 --retry-delay 5 --retry-connrefused \
https://raw.githubusercontent.com/cynicastic/scribe/fadcc527ec832d224dbc961023f6819b41b373a2/scribe \
-o /jffs/scripts/scribe && chmod a+x /jffs/scripts/scribe

If you want to save your currently installed version of the script before running the above command:
Bash:
cp -fp /jffs/scripts/scribe /jffs/scripts/scribe.OLDvers.SH

HTH
 
I'm undecided whether the existing approach of automatically updating the version is a good idea. Syslog-ng is adding all sorts of capabilities to send and receive messages to other systems, but I doubt anyone here is using any capability not in 3.6. Sooner or later something is going to be deprecated that is necessary on these old kernels.

Perhaps asking on initial install would be better, with an informational log statement at other times: "Your current configuration is version [3.6], which works fine. Syslog-ng has new capabilities in its current version [4.7]. Do you want to update the version? This may break things. Y/N?"
 
Last edited:
I have version 3.2.0 installed.
Code:
 5  open     scribe                     3.2.0

After updating to Firmware:386.14 on AC86U in "System log/General log" the scroll bar on the right disappears. This page seems to be managed by Scribe since it has this statement "System Log - enhanced by Scribe".

The issue appears to be due to the pre-386.14 version of Scribe. Most AddOns required slight updates for version 386.14 to address the scroll bar bug.

P.S. Also seems a bit of glitchiness - I had to fully reinstall Scribe since after updating to 386.14 the logging would quit at some point during the boot process.
 
I have version 3.2.0 installed.
Code:
 5  open     scribe                     3.2.0

After updating to Firmware:386.14 on AC86U in "System log/General log" the scroll bar on the right disappears. This page seems to be managed by Scribe since it has this statement "System Log - enhanced by Scribe".

The issue appears to be due to the pre-386.14 version of Scribe. Most AddOns required slight updates for version 386.14 to address the scroll bar bug.

P.S. Also seems a bit of glitchiness - I had to fully reinstall Scribe since after updating to 386.14 the logging would quit at some point during the boot process.
Not your scribe version, but you syslog-ng.conf version, select "s. show scribe status" ;)

1727114078455.png
 
Not your scribe version, but you syslog-ng.conf version, select "s. show scribe status" ;)

View attachment 61606

It seems the same as yours:

Code:
 Please select an option: s

      checking syslog-ng daemon ... alive.
    syslog.log default location ... /tmp/syslog.log
  ... & agrees with config file ... okay!

 checking system for necessary scribe hooks ...

          checking S01syslog-ng ... present.
         checking service-event ... present.
            checking post-mount ... present.
               checking unmount ... present.
    checking logrotate cron job ... present.
       checking directory links ... present.

 checking syslog-ng configuration ...

   syslog-ng.conf version check ... in sync. (4.7)
    syslog-ng.conf syntax check ... okay!

          scribe installed version: v3.2_0 (master)
             scribe GitHub version: v3.2_0 (master)
                    scribe is up to date!

 Press [Enter] to continue:
 
@bibikalka, this bug appeared on a bunch of scripts with Merlin firmware version 386.14, although it's not something wrong with the firmware itself.
You need to update your uiScribe script to the latest version of the develop branch to get the "missing scrollbar" bug fixed. Just execute the following command that will do the update on your router.
Code:
/jffs/scripts/uiScribe develop
Please be as accurate as you can when providing details about any issues next time!
 
@bibikalka, this bug appeared on a bunch of scripts with Merlin firmware version 386.14, although it's not something wrong with the firmware itself.
You need to update your uiScribe script to the latest version of the develop branch to get the "missing scrollbar" bug fixed. Just execute the following command that will do the update on your router.
Code:
/jffs/scripts/uiScribe develop
Please be as accurate as you can when providing details about any issues next time!
OK, thanks! That fixed it!
 
Can someone tell me how you set missingOK to false?!
 
With RT-BE86U and 3006.102.2_beta1, based on 36000+ GPL, there is no scroll bar for ScribeUI: does anyone know how can I fix this?
 
With RT-BE86U and 3006.102.2_beta1, based on 36000+ GPL, there is no scroll bar for ScribeUI: does anyone know how can I fix this?
Take a look at THIS...
 
Guys, excuse me as I'm relatively new here. But, we're going to face this so many more times (people asking for a fix). Is there any way to propagate the scrollbar fix to the master branch for all affected Jack Yaz scripts? This will allow everyone to avoid a lot of headache.
 
Take a look at THIS...

Yep, I'm the author of this modification, but with the new 3006.102.2_beta1 there is a newer GPL (36000+) and the scrollbar is not working as intended. These are the error I have in that page and the scrollbar is not displayed:

1730091085267.png
 
Ok, I followed the suggestion here:


and modified the asp webpage accordingly; now it's working. This is the asp page with my modifications:
 

Attachments

  • Main_LogStatus_Content_NEW.txt
    20.7 KB · Views: 3
Last edited:
Yep, I'm the author of this modification, but with the new 3006.102.2_beta1 there is a newer GPL (36000+) and the scrollbar is not working as intended. These are the error I have in that page and the scrollbar is not displayed:
...
Are you saying that *after* you downloaded & updated to the 'develop' 1.4.6 version of the uiScribe add-on, as suggested by @dave14305 in his post #212 (also shown below), the scrollbar was still missing and the errors were generated?

BTW, when reporting a problem, you need to explicitly provide the add-on version you're having issues with; otherwise, you keep people guessing.
 
Are you saying that *after* you downloaded & updated to the 'develop' 1.4.6 version of the uiScribe add-on, as suggested by @dave14305 in his post #212 (also shown below), the scrollbar was still missing and the errors were generated?

BTW, when reporting a problem, you need to explicitly provide the add-on version you're having issues with; otherwise, you keep people guessing.

Sorry guys, I don't know there was a develop version of uiScribe. I'm going to test it and let you know (I was on 1.4.5 version of uiScribe BTW and it works flawlessly with GT-BE98 and 3006.102.1_beta2)
 
Last edited:
Are you saying that *after* you downloaded & updated to the 'develop' 1.4.6 version of the uiScribe add-on, as suggested by @dave14305 in his post #212 (also shown below), the scrollbar was still missing and the errors were generated?

BTW, when reporting a problem, you need to explicitly provide the add-on version you're having issues with; otherwise, you keep people guessing.
I can confirm 1.4.6 works as intended
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Top