Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Upgrade issues Upgrade stuck in loop and fails to complete [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upgrade issues Upgrade stuck in loop and fails to complete [SOLVED] (Read 2708 times)
Thorrrr
Newbie
Posts: 29
Karma: 0
Upgrade issues Upgrade stuck in loop and fails to complete [SOLVED]
«
on:
June 06, 2023, 10:19:37 am »
HI Guys
Not sure what the issues are lately having had over 12 months of updates with no issues.The last 2 have been a nightmare i am trying to update today and it is just hanging for 40 min on the last part see here
Terminal Log
https://paste.centos.org/view/ebd14956
I know it said reboot required but should it not perform this option itself or do i need to do a manual reboot?
What is the issue and how do i fix it?
Update audit log see
https://paste.centos.org/view/fdf75ed2
I have rebooted as mentioned it has started up with crowdsec stopped but the updater is still spinning?
https://i.imgur.com/xpaabLS.png
https://i.imgur.com/gsRLkhc.png
So crowdsec is stopped but still cannot get out of update loop please could somebody help me?
I have also tried a reboot from CLI but gets stuck onPIDS:3338
0) Logout 7) Ping host
1) Assign interfaces
Shell
2) Set interface IP address 9) pfTop
3) Reset the root password 10) Firewall log
4) Reset to factory defaults 11) Reload all services
5) Power off system 12) Update from console
6) Reboot system 13) Restore a backup
Enter an option: 6
The system will reboot. Do you want to proceed? [y/N]: y
>>> Invoking stop script 'beep'
>>> Invoking stop script 'freebsd'
crowdsec not running? (check /var/run/crowdsec.pid).
Stopping crowdsec_firewall.
Waiting for PIDS: 3338
«
Last Edit: June 07, 2023, 02:49:16 pm by Thorrrr
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #1 on:
June 06, 2023, 11:17:29 am »
It's a known issue with latest crowdsec. Either deinstall plugin temporarily to update cleanly or kill the crowdsec daemon to continue the update.
Cheers,
Franco
Logged
Thorrrr
Newbie
Posts: 29
Karma: 0
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #2 on:
June 06, 2023, 11:52:35 am »
HI
Please can you tell me how to do this
I have tried crowdsec -c /var/run/crowdsec.sock stop
From cli but does not work!
Also i cannot find shell in GUI area
I have disabled crodsec bouncer in gui and stopped crodsec then tried rebooting still stuck in cli on
The system will reboot. Do you want to proceed? [y/N]: y
>>> Invoking stop script 'beep'
>>> Invoking stop script 'freebsd'
crowdsec not running? (check /var/run/crowdsec.pid).
Stopping crowdsec_firewall.
Waiting for PIDS: 3338
«
Last Edit: June 06, 2023, 12:04:20 pm by Thorrrr
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #3 on:
June 06, 2023, 12:33:02 pm »
# kill -9 3338
(it mentions the pid there in your paste)
Cheers,
Franco
Logged
Thorrrr
Newbie
Posts: 29
Karma: 0
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #4 on:
June 06, 2023, 12:38:15 pm »
HI Franco
Great thank you for the help
But now i see another update
https://i.imgur.com/WyYxfsZ.png
Is this going to cause same issue?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #5 on:
June 06, 2023, 12:41:06 pm »
Yes, that's the update part that was being blocked by crowdsec daemon not stopping.
Cheers,
Franco
Logged
Thorrrr
Newbie
Posts: 29
Karma: 0
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #6 on:
June 06, 2023, 12:53:12 pm »
So do I ssh into OPnsesne cli run kill -9 3338 again
Then go back to terminal options and update from cli ?
Is this the preferred option?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #7 on:
June 06, 2023, 12:55:13 pm »
You don't need to kill it again.
Cheers,
Franco
Logged
Thorrrr
Newbie
Posts: 29
Karma: 0
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #8 on:
June 06, 2023, 01:28:27 pm »
HI
Thank you for your help great community.Is it best to check in here before upgrading in future ?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #9 on:
June 06, 2023, 01:29:35 pm »
Not really. As far as this one goes it's a one off problem. Haven't had to deal with this before.
Cheers,
Franco
Logged
Thorrrr
Newbie
Posts: 29
Karma: 0
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #10 on:
June 07, 2023, 10:27:11 am »
Hi
I had an issue with the Adguard plugin before this that affected many other users.
So i had a bad couple of last 2 upgrades but it looks more like addons / plugins not OPNsense.
O do i mark this as solved ?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade issues Upgrade stuck in loop and fails to complete
«
Reply #11 on:
June 07, 2023, 12:22:43 pm »
Edit first post and add "[SOLVED]" to subject.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Upgrade issues Upgrade stuck in loop and fails to complete [SOLVED]