2.3 LCDPROC
-
Looking at the history of this package there seem to have been incompatibilities with pfSense arising with changes in the LCDproc binary. That was before I joined the pfSense club. Have you tried reinstalling the package via the GUI and following the instructions in treers post linked below?
https://forum.pfsense.org/index.php?topic=110177.msg647262#msg647262
-
Yep- tried re-installing on all the boxes.
Getting this now also- syntax error, unexpected 'return' (T_RETURN) in /usr/local/pkg/lcdproc_client.php on line 109 on the dashboard.
-
Getting this now also- syntax error, unexpected 'return' (T_RETURN) in /usr/local/pkg/lcdproc_client.php on line 109 on the dashboard.
Ahh! That's the clue that was needed. Looks like some '+' symbols somehow got into the code when I created a pull request.
Lines 107, 108, and 109 should not start with +
You could edit them out yourself (e.g. Diagnostics -> Edit File), but I'll submit a fix this weekend, if someone doesn't do it faster.
-
Thanks! Fixed it. :)
-
Yup, the manual install does not have this problem, which is why it was working fine for me.
-
Where am I supposed to put these lines of code into the config.xml file?
<menu>
<name>LCDproc</name>
<tooltiptext>Set LCDproc settings such as display driver and COM port.</tooltiptext>
Services
<url>/packages/lcdproc/lcdproc.php</url>
</menu><service><name>lcdproc</name>
<rcfile>lcdproc.sh</rcfile>
<executable>LCDd</executable></service>When I look under <installedpackages>at what's already there, none of the code has
<menu>or <service>, they only say <package>, and there is a package option already there for LCDPRoc.
Is it possible the installation information on the site in this thread it out of date or is it just not clearly written?
Thanks in advance,</package></service> </menu></installedpackages>
-
Where am I supposed to put these lines of code into the config.xml file?
<menu>
<name>LCDproc</name>
<tooltiptext>Set LCDproc settings such as display driver and COM port.</tooltiptext>
Services
<url>/packages/lcdproc/lcdproc.php</url>
</menu><service><name>lcdproc</name>
<rcfile>lcdproc.sh</rcfile>
<executable>LCDd</executable></service>When I look under <installedpackages>at what's already there, none of the code has
<menu>or <service>, they only say <package>, and there is a package option already there for LCDPRoc.
Is it possible the installation information on the site in this thread it out of date or is it just not clearly written?
Thanks in advance,</package></service> </menu></installedpackages>
Actually looking through the config.xml file the code is already there, just noticed it after posting the message above, the issue is I don't see it in installed applications, so there is no way to know when I need to patch it, or is there?
Thanks and advance,
-
When I look under <installedpackages>at what's already there, none of the code has
<menu>or <service>, they only say <package>, and there is a package option already there for LCDPRoc.
Actually looking through the config.xml file the code is already there, just noticed it after posting the message above, the issue is I don't see it in installed applications, so there is no way to know when I need to patch it, or is there?
Thanks and advance,</package></service> </menu></installedpackages>
Arn't you using a snapshot of 2.3.3?
-
When I look under <installedpackages>at what's already there, none of the code has
<menu>or <service>, they only say <package>, and there is a package option already there for LCDPRoc.
Actually looking through the config.xml file the code is already there, just noticed it after posting the message above, the issue is I don't see it in installed applications, so there is no way to know when I need to patch it, or is there?
Thanks and advance,</package></service> </menu></installedpackages>
Arn't you using a snapshot of 2.3.3?
Nope. I blew away my pfSense and went back to the stable OS updated of course. I was having problems with HAProxy under the Snapshot dev 2.3.3, so I followed the instruction to install LCDPro and looked through the config.xml and noticed it had installed the lines in the recent installer for the LCDPro under <installedpackages>. I restarted the firewall but only see HAProxy under my Installed Packages.
Thanks and advance,</installedpackages>
-
There is no reasonable to way to install the menu entry without installing the package. Not really sure what you are trying there. If you cannot install the package properly (there are no issues with haproxy and 2.3.3 except PEBKAC ones), then bookmark the page and move on.
-
Manually installing will never show the package as installed in the package manager.
However the lcdproc package is in 2.3.3 and 2.4 now so the easiest thing is to just use one of them. Or wait for 2.3.3 to be released which should be happening 'real soon now' assuming no large bug discoveries.
Steve
-
Manually installing will never show the package as installed in the package manager.
However the lcdproc package is in 2.3.3 and 2.4 now so the easiest thing is to just use one of them. Or wait for 2.3.3 to be released which should be happening 'real soon now' assuming no large bug discoveries.
Steve
Thanks Steve for the construct response!
Much appreciated!
-
Treer,
as you know I have been running LCDPROC version linked here https://github.com/Treer/FreeBSD-ports/blob/devel/README.md#installation. Will I get the same version when I install the LCDPROC package in pfSense 2.3.3? Specifically, will that version include your improvements for the MatrixOrbital display? Finally, have the fixes for the problem chpalmer found been checked in yet?Thanks much.
-
The fix is here - they haven't merged it into pfsense yet.
The two versions are the same with the exception of those three '+' symbols that got inserted into the previous pull request.
i.e. 2.3.3 includes the extra matrix orbital stuff, you just have to delete those + symbols.
-
The fix is here - they haven't merged it into pfsense yet.
The two versions are the same with the exception of those three '+' symbols that got inserted into the previous pull request.
i.e. 2.3.3 includes the extra matrix orbital stuff, you just have to delete those + symbols.
Great thanks. The MatrixOrbital fix was the important one, I can handle the + symbols.
-
The MatrixOrbital fix was the important one, I can handle the + symbols.
For what it's worth, they've now merged that + symbol fix in.
-
LCDproc 0.10.4 is in the Package Manager/Available Packages
but i get this error
LCD display driver.Package Dependencies:
lcdproc-0.5.7_2New packages to be INSTALLED:
pfSense-pkg-LCDproc: 0.10.4 [pfSense]
lcdproc: 0.5.7_2 [pfSense]
freetype2: 2.6.3 [pfSense]Number of packages to be installed: 3
The process will require 3 MiB more space.
787 KiB to be downloaded.
pkg: https://pkg.pfsense.org/pfSense_v2_3_3_i386-pfSense_v2_3_3/All/pfSense-pkg-LCDproc-0.10.4.txz: Not Found
Failedthere anyway to change the location its looking for the files or are they fixing it
-
It looks like the version number needs to be bumped to 0.10.5.
-
to treer, or whomever else may know:
I manually installed lcdproc on 2.3.1 (and since upgraded to 2.3.2). if i upgrade to 2.3.3 with lcdproc available as a package, should i uninstall (and how would i do this?) the manually installed version and then install the official package, or will there be no issues with upgrading and installing over the manually installed version?
I just don't want two versions running at the same time, or some other silly issue.
i could use the uninstallation part of the instructions here: https://github.com/Treer/FreeBSD-ports/blob/devel/README.md#update
edit: hmmm… it's already showing up in my installed packages list even on 2.3.2 with an available upgrade from 0.10.1 to 0.10.5
-
The package is effectively the same thing, it was this that was accepted into our repo.
You would not get two versions running as both would try to use the same config file and hence the same port and would fail.
I wouldn't anticipate any problems
Steve