Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2.3 LCDPROC

    Scheduled Pinned Locked Moved pfSense Packages
    69 Posts 24 Posters 35.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      revengineer
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • chpalmerC Offline
        chpalmer
        last edited by

        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.

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • T Offline
          treer
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • chpalmerC Offline
            chpalmer
            last edited by

            Thanks!  Fixed it.  :)

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • R Offline
              revengineer
              last edited by

              Yup, the manual install does not have this problem, which is why it was working fine for me.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Smoothrunnings
                last edited by

                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>

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Smoothrunnings
                  last edited by

                  @Smoothrunnings:

                  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,

                  1 Reply Last reply Reply Quote 0
                  • chpalmerC Offline
                    chpalmer
                    last edited by

                    @Smoothrunnings:

                    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?

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Smoothrunnings
                      last edited by

                      @chpalmer:

                      @Smoothrunnings:

                      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>

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        doktornotor Banned
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S Offline
                          stephenw10 Netgate Administrator
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Smoothrunnings
                            last edited by

                            @stephenw10:

                            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!

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              revengineer
                              last edited by

                              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.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                treer
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  revengineer
                                  last edited by

                                  @treer:

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    treer
                                    last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      briight56
                                      last edited by

                                      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_2

                                      New 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
                                      Failed

                                      there anyway to change the location its looking for the files or are they fixing it

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        revengineer
                                        last edited by

                                        It looks like the version number needs to be bumped to 0.10.5.

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Morlok8k
                                          last edited by

                                          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

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S Offline
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.