Comments (19)
Thank you so much, its working again!
from hassio-addons.
Sorry i was always from home. It's working now. Thank you for help.
from hassio-addons.
I can second this report with my own.
Which addon?
syncthing
Describe the bug
After upgrading from 1.19.1 to 1.20.1, the logs show only s6-overlay-suexec: fatal: can only run as pid 1
Rolling back to 1.19.1 (using proxmox snapshots) brings syncthing back 1.19.1, which works.
To Reproduce
Notes:
- I'm not using the syncthing integration.
- I've repeated this 3 times with the same behavior.
- I am "up to date" with HA, HAOS, all other addons, etc.
Steps:
- Have syncthing addon 1.19.1 running.
- Look in
Settings | Addons | Syncthing | Logs
and see healthy log messages - Take a snapshot with proxmox (so I can get back to a working system)
- upgrade syncthing to 1.20.1
- Look in
Settings | Addons | Syncthing | Logs
sees6-overlay-suexec: fatal: can only run as pid 1
- Restart syncthing from Look in
Settings | Addons | Syncthing | Restart
- Look in
Settings | Addons | Syncthing | Logs
sees6-overlay-suexec: fatal: can only run as pid 1
- Reboot the VM with
Settings | System | Hardware | Reboot host
- Wait for Reboot to complete to complete
- Look in
Settings | Addons | Syncthing | Logs
sees6-overlay-suexec: fatal: can only run as pid 1
- Restart syncthing from
Look in Settings | Addons | Syncthing | Restart
- Look in
Settings | Addons | Syncthing | Logs
sees6-overlay-suexec: fatal: can only run as pid 1
- Rollback the snapshot with proxmox (so my system works again).
- Reboot the system
- Look in
Settings | Addons | Syncthing
and see that syncthing is again at 1.19.1 and wanting to be updated. - Look in
Settings | Addons | Syncthing | Logs
and see healthy log messages
Expected behavior
Log messages that show syncthing starting up / running.
Screenshots
N/A.
System
Home Assistant Core 2022.5.5
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.1
Kernel version 5.15.41
Agent version 1.2.1
Hardware: proxmox VM
Architecture: x86
Addon Version : 1.20.1
from hassio-addons.
In the HA discord today (2022-05-25) at about 7:31pm (central time) in the #add-ons
channel, user Frenck
suggested the add-on's config was missing "init: false".
from hassio-addons.
This seems to describe the necessary change along with when and why
https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/
from hassio-addons.
I believe the fix is to change syncthing/config.json
- update the version line
"version": "1.20.1-1",
- add the line
"init": false
from hassio-addons.
I have the same issue...
s6-overlay-suexec: fatal: can only run as pid 1
before I found this thread though, I tried to do a rebuild of the addon, and then you get messages like this:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
$HOME is not defined
panic: Failed to get user home dir
goroutine 1 [running]:
github.com/syncthing/syncthing/lib/locations.userHomeDir()
github.com/syncthing/syncthing/lib/locations/locations.go:187 +0x88
github.com/syncthing/syncthing/lib/locations.init.0()
github.com/syncthing/syncthing/lib/locations/locations.go:56 +0x20
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
from hassio-addons.
I have exactly the same log output as @Veldkornet
from hassio-addons.
This is now fixed with 1.20.2 that is now released. This issue can be closed.
from hassio-addons.
For me the issue persists also with 1.20.2, removed and reinstalled and still the output above posted by @Veldkornet in the logs
from hassio-addons.
I have same log has @Veldkornet. The issue is still there.
from hassio-addons.
Strangely, mine is working after the latest update...
from hassio-addons.
I'm now on
System
Home Assistant Core 2022.6.5
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.1
Kernel version 5.15.41
Agent version 1.2.1
Hardware: proxmox VM
Architecture: x86
Addon Version : 1.20.2
I try rebuild, uninstall and reinstall and restart HA. Nothing is working.
Still same message has @Veldkornet
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
$HOME is not defined
panic: Failed to get user home dir
goroutine 1 [running]:
github.com/syncthing/syncthing/lib/locations.userHomeDir()
github.com/syncthing/syncthing/lib/locations/locations.go:187 +0x7d
github.com/syncthing/syncthing/lib/locations.init.0()
github.com/syncthing/syncthing/lib/locations/locations.go:56 +0x1d
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped>
from hassio-addons.
Running Home Assistant Core 2022.6.4
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2
Tried a reinstall and rebuild as well, same problem:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
$HOME is not defined
panic: Failed to get user home dir
goroutine 1 [running]:
github.com/syncthing/syncthing/lib/locations.userHomeDir()
github.com/syncthing/syncthing/lib/locations/locations.go:187 +0x88
github.com/syncthing/syncthing/lib/locations.init.0()
github.com/syncthing/syncthing/lib/locations/locations.go:56 +0x20
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
from hassio-addons.
I'm so sorry, I did not get notifications on this issue, I don't know why.
It still appears in 1.20.2?
I don't know how it is possible since I added
HOME=/data
export HOME
to force the HOME to be set, even when the --home parameter is set (I think this is a regression in syncthing)
from hassio-addons.
Mine has been working fine since I reported that it works, but strangely others are still having the issue.
from hassio-addons.
I opened an issue to syncthing to see if that's something that could be fixed, and what changed recently (from what I saw, they went from the simple dash notation -home
to the double dash --home
, but with the env var set it should work...
Maybe some fork happens somewhere that does not preserve the env variable...
from hassio-addons.
I tried something on the 1.20.2-1, could you try again? It (still) works on my setup, I hope it'll fix yours
from hassio-addons.
Great news, and sorry again for not seeing this issue sooner. I'll close this as soon as @letnic confirms it works too
from hassio-addons.
Related Issues (20)
- Signal addon does not start anymore on aarch64 architecture HOT 22
- Signal addon will not run HOT 4
- Sync thing fails to start after hassio update HOT 3
- Cannot update signal add-on to 10.10.0 from home assistant HOT 4
- Config file version (33) is newer than supported version (32) HOT 2
- Signal: Add-on config * deprecated
- Sending a file HOT 15
- Add manifest.json to custom_component HOT 1
- Thank you HOT 1
- After update to HASS Signal 10.18.1, messages are not being sent HOT 2
- Use latest method to retrieve groups HOT 1
- Signal: WS authentication error when sending messages to Home Assistant HOT 13
- Signal doesn't work anymore - status cod 499 HOT 14
- Signal: Cannot send message to self HOT 2
- Syncthing stops due to auto-update HOT 1
- Documentation unclear HOT 8
- Message metadata unavailable in intent_script HOT 2
- Signal: WS error when sending messages to Home Assistant HOT 6
- The Synching addon keeps on restarting due to a repeated update that is being executed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-addons.