OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: interfaSys on January 28, 2016, 08:26:22 pm

Title: [SOLVED] Going back to stable breaks the GUI
Post by: interfaSys on January 28, 2016, 08:26:22 pm
The thread about testing the dev version mentions that if we ever need to go back to stable, we would simply need to do

Code: [Select]
# pkg install -y opnsense
It seems to work but tries to download the next alpha at the same time


Code: [Select]
Updating OPNsense repository catalogue...
OPNsense repository is up-to-date.
All repositories are up-to-date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        opnsense: 16.1
        py27-netaddr: 0.7.18

The process will require 35 MiB more space.
10 MiB to be downloaded.
Fetching opnsense-16.1.txz: 100%    9 MiB 259.0kB/s    00:37
Fetching py27-netaddr-0.7.18.txz: 100%    1 MiB 263.7kB/s    00:04
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py27-netaddr: 0.7.18
        opnsense: 16.1

The process will require 35 MiB more space.
Fetching opnsense-devel-16.7.a_52.txz: 100%    9 MiB 245.7kB/s    00:39
[1/4] Installing py27-netaddr-0.7.18...
[1/4] Extracting py27-netaddr-0.7.18: 100%
[2/4] Deinstalling opnsense-devel-15.7.99_2050...
[3/4] Installing opnsense-16.1...
[3/4] Extracting opnsense-16.1: 100%
[3/4] Installing opnsense-devel-16.7.a_52...
pkg: opnsense-devel-16.7.a_52 conflicts with opnsense-16.1 (installs files into the same place).  Problematic file: /usr/local/opnsense/contrib/mobile-broadband-provider-info/serviceproviders.xml
Title: Re: Going back to stable also downloads next alpha
Post by: interfaSys on January 28, 2016, 08:32:25 pm
Looks like it failed, the interface doesn't work properly any more.

Code: [Select]
[28-Jan-2016 20:30:51 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
[28-Jan-2016 20:30:52 Europe/Amsterdam] PHP Fatal error:  Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
...
Title: Re: Going back to stable also downloads next alpha
Post by: franco on January 28, 2016, 08:36:16 pm
That's a pkg bug I haven't been able to reproduce and push upstream. Running

# pkg install -f opnsense

twice fixes this (at some point both opnsense and opnsense-devel are installed and files are mixed).
Title: Re: Going back to stable breaks the GUI
Post by: interfaSys on January 28, 2016, 08:42:18 pm
I just tried to install it again and it complains about the checksum, but completes the process.

The problem is that some pages like
Code: [Select]
/ui/diagnostics/activity/ are completely unresponsive.

I've restart the web interface, but it doesn't change anything
Title: Re: Going back to stable breaks the GUI
Post by: franco on January 28, 2016, 08:44:17 pm
Maybe the backend daemon didn't like the pkg probing.

# service configd restart

Does that help?
Title: Re: Going back to stable breaks the GUI
Post by: interfaSys on January 28, 2016, 08:47:18 pm
That was it, thanks

Code: [Select]
]# service configd restart
configd not running?
Starting configd.

Also, my /var/log looks strange. I have lots of files with a size of 511488. Is this normal somehow?
Title: Re: Going back to stable breaks the GUI
Post by: franco on January 29, 2016, 12:29:40 am
Yes, these are clog binary log files with a fixed size. Please double-check before posting. I can't guarantee that everything will be answered.