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

    2.2 upgrade - postfix breaks webconfigurator

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 5 Posters 5.8k 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.
    • S
      Sn3ak
      last edited by

      the postfix widget is broken on 2.2? or at least on upgrades. it's missing sqlite, and breaks the dashboard.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Package seems to work, where are you seeing sqlite missing?

        The widget does appear broken.
        https://redmine.pfsense.org/issues/4270

        It doesn't break the dashboard though, just is a blank widget for me. You're seeing it make other parts of the dashboard break?

        1 Reply Last reply Reply Quote 0
        • S
          Sn3ak
          last edited by

          These are production boxes, I couldn't leave them broken. sadly I didn't record the error.
          I'll attempt to load a vm and replicate the issue and report back in the afternoon.

          It may have been unrelated, but the last widget displayed was the postfix widget.

          ultimately, i had to hand edit the xml file, and delete all widgets/dashboard content, and restore the config.

          1 Reply Last reply Reply Quote 0
          • S
            Sn3ak
            last edited by

            actually, i can replicate it without the widget, in a different way.
            go to services/postfix forwarder
            click search mail
            click a sqlite file (meaning, you need a working? install)
            click search

            
            Fatal error: Call to undefined function sqlite_open() in /usr/local/www/postfix.php on line 544 
            
            

            btw, this is on i386 full. oh and I did submit one of the widget crashes via the crash dump reporter

            1 Reply Last reply Reply Quote 0
            • S
              Sn3ak
              last edited by

              and here's a snap of the widget breakage. as soon as I added it back in, it killed my dashboard.
              remove, dashboard is still borked, even after a reboot.

              hand edit xml, delete dashboard/widget related items, restore config, all is well again.

              my guess is it blank for you, because you haven't previously used the package, thus don't have
              any sqlite databases for it to attempt to load.

              postfix-widget-breakage.png
              postfix-widget-breakage.png_thumb

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                It needs a fix to update code from sqlite 2 to sqlite 3.

                And may not be related only to widget, but all package logging to database.

                I'll try to fix it ASAP.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • O
                  oscarbet5
                  last edited by

                  Hi, everyone.

                  I am new to pfsense and I am trying to use postfix, but I am getting same issue I think:

                  Crash report details:

                  PHP Errors:
                  [09-Apr-2015 10:36:00 America/Bogota] PHP Fatal error:  Call to undefined function sqlite_open() in /usr/local/www/postfix.php on line 457

                  Anyone has any clue how to solve this?

                  Thanks a lot.

                  OSCAR BETANCUR

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    Disable update logs to database. It's a sqlite2/3 issue I'm working on.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • P
                      planetinse
                      last edited by

                      @marcelloc:

                      It needs a fix to update code from sqlite 2 to sqlite 3.

                      And may not be related only to widget, but all package logging to database.

                      I'll try to fix it ASAP.

                      Hi - any news on this topic ?  ;) - I have the same issue. (dashboard blank, no sqllite db to select -  in search mail)

                      I have tried the two
                      fetch -o /usr/local/www/widgets/widgets/postfix.widget.php http://e-sac.siteseguro.ws/px22/postfix.widget.txt
                      fetch -o /usr/local/www/postfix.php http://e-sac.siteseguro.ws/px22/postfix.txt

                      it did not fix anything - but gave me this FATAL error instead (1 per minute)
                      Crash report begins.  Anonymous machine information:

                      amd64
                      10.1-RELEASE-p25
                      FreeBSD 10.1-RELEASE-p25 #0 c39b63e(releng/10.1)-dirty: Mon Dec 21 15:20:13 CST 2015    root@pfs22-amd64-builder:/usr/obj.RELENG_2_2.amd64/usr/pfSensesrc/src.RELENG_2_2/sys/pfSense_SMP.10

                      Crash report details:

                      PHP Errors:
                      [13-Sep-2016 15:40:00 Europe/Stockholm] PHP Fatal error:  require_once(): Failed opening required 'postfix_dkim.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/www/postfix.php on line 4

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