hoobs-org / hoobsd

Server component for the certified HOOBS smart home stack.
GNU General Public License v3.0
8 stars 4 forks source link

HOOBSD Not Automatically Starting #86

Closed francescosabia closed 3 years ago

francescosabia commented 3 years ago

Description Every time I update the software or a plug-in the service won’t start. I need to ssh into it and manually restart

Version 4.x

Did you upgrade Please let us know if you upgraded from a previous version.

Pervious version 3.3.6

Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? Did you perform an upgrade from HOOBS 2.1.1? Some things are different.

What device are you using? Please let us know the device you are running HOOBS on.

If this is a custom install, what's your operating system? Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.

List your plugins Please include a list of the plugins you are using. We need to be able to find it on NPM. If the plugin is no published, please include a link to the repository.

Post your config This can be found in the interface, Configuration -> Advanced or you can get it via SSH cat ~/.hoobs/etc/config.json

POST CONFIG HERE

Post your log You can get the log from the interface. This is in the Log section.

POST LOG HERE

Additional context I have a video of that

Uploading IMG_0959.MOV…

mkellsy commented 3 years ago

The migration might have not finished. Here's how to check it.

  1. Access the terminal https://support.hoobs.org/docs/60e6310b6c19a6a5ca8f5c5f
  2. Then disable the migration service sudo systemctl disable migration.service
  3. Then delete the service sudo rm -f /etc/systemd/system/migration.service

If you get a service doesn't exist error on any of those commands, this is not the issue.

The terminal username is hoobs and the password is hoobsadmin

francescosabia commented 3 years ago

The migration might have not finished. Here's how to check it.

  1. Access the terminal https://support.hoobs.org/docs/60e6310b6c19a6a5ca8f5c5f
  2. Then disable the migration service sudo systemctl disable migration.service
  3. Then delete the service sudo rm -f /etc/systemd/system/migration.service

If you get a service doesn't exist error on any of those commands, this is not the issue.

The terminal username is hoobs and the password is hoobsadmin

No this is not the issue but I can tell u when I open ssh I have 2 message that I post in the photo ![Uploading image.jpg…]()

francescosabia commented 3 years ago

The migration might have not finished. Here's how to check it.

  1. Access the terminal https://support.hoobs.org/docs/60e6310b6c19a6a5ca8f5c5f
  2. Then disable the migration service sudo systemctl disable migration.service
  3. Then delete the service sudo rm -f /etc/systemd/system/migration.service

If you get a service doesn't exist error on any of those commands, this is not the issue.

The terminal username is hoobs and the password is hoobsadmin

Can u help me please?

mkellsy commented 3 years ago

You can enable the service. It should already be enabled.

sudo systemctl enable hoobsd.service

also can you post your logs. Go to the logs screen and click the download icon. Then drag the file into this issue.

francescosabia commented 3 years ago

You can enable the service. It should already be enabled.

sudo systemctl enable hoobsd.service

also can you post your logs. Go to the logs screen and click the download icon. Then drag the file into this issue.

I don t see anything wrong in the logs

francescosabia commented 3 years ago

You can enable the service. It should already be enabled.

sudo systemctl enable hoobsd.service

also can you post your logs. Go to the logs screen and click the download icon. Then drag the file into this issue.

Tried to apply the command but nothing appened

BobbySlope commented 3 years ago

@mkellsy please take a look at this

francescosabia commented 3 years ago

@mkellsy please take a look at this

I think this is solved with latest update.. but now I have this problem.. check the screenshot please ![Uploading 84497AB0-E937-4CE6-AA7C-83853ECA6138.jpeg…]()