New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap fails to start on fresh install #5458
Comments
You have |
Yes, I also have provided the output in the OP. |
How much available memory do you have? |
4GB
|
I did just notice this appears to be Linux Mint? Being based on Ubuntu... You wouldn't think there would be issues. Can you give the version of snap using: |
I had the same thoughts... For the sake of clarity, here is the version of Mint I am using:
And output of
|
Your snap version is even newer then mine. I would think that would be fine. What do you get from: Did you already give removing the snap and re-adding it a shot? |
Yes I tried to reinstall, reboot, reboot and reinstall, no change. Looking at the journalctl command output, I see one interesting line (also present in my previous ocmments): |
@maxidor interesting.. Couple of things.
I'll reach out to the snap developers and see if ubuntu-core and core are equivalent. I would assume so.
Never seen that error... but sounds like something related. |
I'm installing following the instructions on the Downloads page of the website, and this is the output after install:
|
@maxidor the fact that its showing devmode leads me to believe there might be something not completely working on linux mint. Because we compile with strict confinement. Only time it would not be strict is if the OS is missing something. I assume in production you probably wouldn't be installing linux mint. I would suggest trying on regular Ubuntu maybe via a VM. Maybe we can get the Ubuntu guys to take a look. But since it is linux mint... i'm not sure. |
@geekgonecrazy Works out of the box on a Ubuntu server core 16.04 VM, so it seems the issue is with Mint indeed. |
👍 i'll go ahead and close this. We can revisit this in the future if we need to. But I don't see many production deployments being mint. |
Does anyone have any thoughts about this bug? Mint hasn't snapd by default and after installing it I can't run krita(and probably any other snapped program), it crashes with same error. If you have any experience with debugging snappy subsystem then report a bug to mint bugtracker please. |
@evgenymarkov from a guess I would say this is something to do with sys calls and apparmor. Its possible you could install the snap with |
Hello, I had the same issue with 'Hello, world!' snap(which was installed with '--dangerous') on Linux Mint 18.1. |
I have the same error here. Seems the node.js process is not starting properly, because of missing environment variables. I created my own systemd command as described in https://rocket.chat/docs/installation/manual-installation/pm2-systemd-upstart#how-to-run-rocket-chat-on-systemd-. Now the system is starting up manually. But I still have issue to autostart, beacause I have to wait in the MongoDB instance. Referencing My environment is a Ubuntu 16.04 in a LXC container. I installed Rocket.Chat v0.53.0 via snap. |
Solved it: I installed everything the manual way, now its working |
Looks like the issue has been fixed on snapd 2.25. |
Let me tack on a caution for anyone that lands here... Be careful with this. If you do this and have other issues with Rocket.Chat please make sure to call out the fact that you are running a different core. |
If you used the snap as discussed here it's |
I had posted on a wrong threat, thanks though @geekgonecrazy |
I am experiencing the same issue on Ubuntu 16.04
Log output:
etc. |
Please see the comments in #7000 your error looks related |
@geekgonecrazy Thanks so much, I am indeed using a custom kernel on my Ubuntu installation. I cannot change that, but that should not be a problem in production environment where I intend to deploy RocketChat. |
👍 yeah unfortunately some of these providers are doing this. I think this is a problem that several VPS providers are doing... 😦 Might be worth throwing your voice in and asking them to start using an upstream Ubuntu kernel. |
Your Rocket.Chat version: 0.48.2 (latest snap release at time of writing)
Wanting to give Rocket.chat a spin, I did a fresh install but the server is simply not starting.
There are few recent issues that suggest to do an apt-get dist-upgrade. but everything is already installed here.
I followed the snap instruction on the Download page:
snap install rocketchat-server
Logs of the server:
Logs of the DB server:
Apt output:
The text was updated successfully, but these errors were encountered: