Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed (Read 25158 times)
jstrebel
Full Member
Posts: 188
Karma: 23
[SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
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
«
Last Edit: May 29, 2015, 04:07:53 pm by franco
»
Logged
chol
Jr. Member
Posts: 99
Karma: 17
Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #1 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
Logged
jstrebel
Full Member
Posts: 188
Karma: 23
Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #2 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
«
Last Edit: May 26, 2015, 08:56:11 am by jstrebel
»
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #3 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.
Logged
jstrebel
Full Member
Posts: 188
Karma: 23
Re: upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #4 on:
May 29, 2015, 04:02:46 pm »
Franco, thanks. It worked. J
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #5 on:
May 29, 2015, 04:27:16 pm »
Good to know. I changed to RAM usage as well for my VM.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #6 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?
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #7 on:
May 29, 2015, 04:45:41 pm »
* weust runs
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #8 on:
May 29, 2015, 04:49:44 pm »
You'll even get karma for this....
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #9 on:
May 29, 2015, 04:56:30 pm »
You too for giving me karma :-)
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #10 on:
May 29, 2015, 04:58:58 pm »
We're stuck in an endless loop then.
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed
«
Reply #11 on:
May 29, 2015, 05:05:23 pm »
10 echo "We're stuck in a loop"
20 goto 10
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] upgrade from 15.1.10.1 to 15.1.11.1 failed