Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting issues #228

Open
kidac opened this issue Feb 18, 2021 · 2 comments
Open

Highlighting issues #228

kidac opened this issue Feb 18, 2021 · 2 comments

Comments

@kidac
Copy link

kidac commented Feb 18, 2021

We are using the linux binary 4.9.1
Command line: ./frontail-linux -p 8443 /opt/server.log --ui-highlight-preset /opt/preset
But no highlighting occurs and no error message is thrown. Any hints where to start some diagnostics?

@Llibyddap
Copy link

Linux with version 4.9.1

I've actually run into this issue as well... I have two instances of /frontail running. One in a single node RancherOS cluster which works exactly as expected with the --ui-highlight-preset and the other running on a three node K3s cluster which doesn't deploy the highlighting. Within the K3s environment there are no errors thrown and all the mount points, paths and files seem to work just fine.

One added item - which may or may not be related - but if I pass the --ui-highlight flag on creating the pod/deployment it throws this error:

bill@k3smaster01:~/payload/home$ kubectl logs pod/frontail-5798bcd5cb-6q6c4 -n home
undefined:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.<anonymous> (/frontail/index.js:119:30)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/frontail/bin/frontail:2:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)

But if I deploy without the flag and then apply the change it doesn't through the error (but it also doesn't change the highlighting.

@Llibyddap
Copy link

An update... I did a complete new install, including the persistent storage that the logs attached to. Although I still am not exactly sure what caused my issue, this reinstall from scratch made everything work as advertised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants