OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: jstrebel on May 25, 2015, 11:37:41 am

Title: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: jstrebel on May 25, 2015, 11:37:41 am
Hi,
I tried to upgrade from 15.1.10.1 to 15.1.11.1 and get the following message:
The process will require 126 MiB more space.
44 MiB to be downloaded.
pkg: Not enough space in /var/cache/pkg, needed 44 MiB available 38 MiB
*** Welcome to OPNsense 15.1.10.1-4b197af1e (amd64) on OPNs-tst ***

I followed the instruction and executed before pkg2ng

Jakob
# df

Filesystem         1K-blocks   Used  Avail Capacity  Mounted on
/dev/ufs/OPNsense0    958263 585959 295643    66%    /
devfs                      1      1      0   100%    /dev
/dev/md0               39196     60  36004     0%    /tmp
/dev/md1               59036  15588  38728    29%    /var
devfs                      1      1      0   100%    /var/dhcpd/dev
Title: Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: chol on May 25, 2015, 10:38:04 pm
You probably did run a liveCD.

You may want to install OPNsense prior to an upgrade. Use console menu point 99) to initiate the hard disk install.

Hope that helps.

See : Memory Disks (https://www.freebsd.org/doc/en/books/handbook/disks-virtual.html)
Title: Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: jstrebel on May 26, 2015, 07:50:01 am
I did a console update. (Menue 12). I'am Running a nano image on it.
It looks to me the root cause is in the fact that I was omitting a release. The second Box where I did a sequntial upgrade performed well.
jakob

Gesendet von iPhone mit Tapatalk
Title: Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: franco on May 29, 2015, 02:48:44 pm
Jakob, the MFS for /var is too small for the update. All files to be upgraded are downloaded to this partition. Under "System: Settings: Misc.: /var RAM Disk Size" set it to 100 MB or more, depending on your available RAM. Afterwards reboot and rerun the update. :)
Title: Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: jstrebel on May 29, 2015, 04:02:46 pm
Franco, thanks. It worked. J
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: weust on May 29, 2015, 04:27:16 pm
Good to know. I changed to RAM usage as well for my VM.
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: franco on May 29, 2015, 04:41:38 pm
One of the "whoops" moments -- /var/cache/pkg is used to fetch packages. We can probably up that limit, but that's a never-ending arms race. We can use tmpfs for /tmp and /var, these can adapt to whatever is available without specifying an upper bound. Anybody willing to look into that as an exercise? :)
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: weust on May 29, 2015, 04:45:41 pm
/me runs
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: franco on May 29, 2015, 04:49:44 pm
You'll even get karma for this.... :D
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: weust on May 29, 2015, 04:56:30 pm
You too for giving me karma :-)
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: franco on May 29, 2015, 04:58:58 pm
We're stuck in an endless loop then.
Title: Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
Post by: weust on May 29, 2015, 05:05:23 pm
10 echo "We're stuck in a loop"
20 goto 10