Comments (17)
@twosky2000 @zyga verified: it's a bug, apparmor profiles aren't generated on neon. Making a PR now. Thanks again @twosky2000!
from nextcloud-snap.
Hey @twosky2000, thanks for giving the snap a test!
Can you please provide the output of the following commands?
$ sudo systemctl status snap.nextcloud.apache
$ sudo systemctl status snap.nextcloud.mysql
from nextcloud-snap.
services aren't runninging
Apache:
● snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Don 2016-06-16 12:11:24 CEST; 2h 36min ago
Process: 1112 ExecStop=/usr/bin/ubuntu-core-launcher snap.nextcloud.apache snap.nextcloud.apache /snap/nextcloud/1/stop-command-apache.wrapper (code=exited, status=1/FAILURE)
Process: 1109 ExecStart=/usr/bin/ubuntu-core-launcher snap.nextcloud.apache snap.nextcloud.apache /snap/nextcloud/1/command-apache.wrapper (code=exited, status=1/FAILURE)
Main PID: 1109 (code=exited, status=1/FAILURE)Jun 16 12:11:24 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 12:11:24 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 12:11:24 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 12:11:24 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 12:11:24 RocketOne systemd[1]: snap.nextcloud.apache.service: Start request repeated too quickly.
Jun 16 12:11:24 RocketOne systemd[1]: Failed to start Service for snap application nextcloud.apache.
mysql:
● snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Don 2016-06-16 14:45:13 CEST; 2min 38s ago
Process: 9256 ExecStop=/usr/bin/ubuntu-core-launcher snap.nextcloud.mysql snap.nextcloud.mysql /snap/nextcloud/1/stop-command-mysql.wrapper (code=exited, status=1/FAILURE)
Process: 9253 ExecStart=/usr/bin/ubuntu-core-launcher snap.nextcloud.mysql snap.nextcloud.mysql /snap/nextcloud/1/command-mysql.wrapper (code=exited, status=1/FAILURE)
Main PID: 9253 (code=exited, status=1/FAILURE)Jun 16 14:45:13 RocketOne systemd[1]: snap.nextcloud.mysql.service: Unit entered failed state.
Jun 16 14:45:13 RocketOne systemd[1]: snap.nextcloud.mysql.service: Failed with result 'exit-code'.
Jun 16 14:45:13 RocketOne systemd[1]: snap.nextcloud.mysql.service: Service hold-off time over, scheduling restart.
Jun 16 14:45:13 RocketOne systemd[1]: Stopped Service for snap application nextcloud.mysql.
Jun 16 14:45:13 RocketOne systemd[1]: snap.nextcloud.mysql.service: Start request repeated too quickly.
Jun 16 14:45:13 RocketOne systemd[1]: Failed to start Service for snap application nextcloud.mysql.
from nextcloud-snap.
Huh, odd that they're both down. Okay, let's focus on Apache first. As a sanity check: you don't already have something running on port 80, do you? Assuming not, let's continue.
Start Apache back up again:
$ sudo systemctl start snap.nextcloud.apache
Now take a look at the syslog. You'll see Apache try to restart a number of times before finally giving up. Do you see a reason for the failure? Please paste the resulting log in here.
from nextcloud-snap.
I have nothing at port 80. System was just set up.
i tried to restart
Here's what i get from journalctl:
-- Logs begin at Don 2016-06-16 14:55:05 CEST, end at Don 2016-06-16 15:04:55 CEST. --
Jun 16 14:55:06 RocketOne systemd[1]: Started Service for snap application nextcloud.apache.
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[827]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[967]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Control process exited, code=exited status=1
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 14:55:06 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 14:55:06 RocketOne systemd[1]: Started Service for snap application nextcloud.apache.
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[994]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[998]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Control process exited, code=exited status=1
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 14:55:06 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 14:55:06 RocketOne systemd[1]: Started Service for snap application nextcloud.apache.
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[1035]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 14:55:06 RocketOne ubuntu-core-launcher[1043]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Control process exited, code=exited status=1
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 14:55:06 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 14:55:07 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 14:55:07 RocketOne systemd[1]: Started Service for snap application nextcloud.apache.
Jun 16 14:55:07 RocketOne ubuntu-core-launcher[1052]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 14:55:07 RocketOne ubuntu-core-launcher[1063]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Control process exited, code=exited status=1
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 14:55:07 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 14:55:07 RocketOne systemd[1]: Started Service for snap application nextcloud.apache.
Jun 16 14:55:07 RocketOne ubuntu-core-launcher[1069]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 14:55:07 RocketOne ubuntu-core-launcher[1078]: aa_change_onexec failed with -1. errmsg: No such file or directory
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Control process exited, code=exited status=1
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Failed with result 'exit-code'.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Service hold-off time over, scheduling restart.
Jun 16 14:55:07 RocketOne systemd[1]: Stopped Service for snap application nextcloud.apache.
Jun 16 14:55:07 RocketOne systemd[1]: snap.nextcloud.apache.service: Start request repeated too quickly.
Jun 16 14:55:07 RocketOne systemd[1]: Failed to start Service for snap application nextcloud.apache.
from nextcloud-snap.
apparmor issues! That looks like a snapd (or launcher) bug-- investigating now, thank you very much for reporting!
from nextcloud-snap.
What is the distribution that was hosting snapd when that error occurred?
from nextcloud-snap.
From the description, sounds like Ubuntu Neon.
from nextcloud-snap.
Can we please see the /etc/os-release
file from that system?
from nextcloud-snap.
Here's /etc/os-release:
NAME="KDE neon"
VERSION="5.6"
ID=neon
ID_LIKE=ubuntu debian
PRETTY_NAME="KDE neon User Edition 5.6"
VERSION_ID="16.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
UBUNTU_CODENAME=xenial
from nextcloud-snap.
I think this is the problem
What is the packaging of snap-confine (aka ubuntu-core-launcher) for this distribution?
Is this distribution using an Ubuntu kernel?
from nextcloud-snap.
Please patch this file and send the pull request along with a trivial test:
https://github.com/snapcore/snapd/blob/master/release/release.go#L54
from nextcloud-snap.
Alright, I'll take a look at that. Thanks @zyga!
from nextcloud-snap.
Not sure how to do that.
I tried sudo snap refresh ubuntu-core
error: cannot perform the following tasks:
- Download snap "ubuntu-core" from channel "stable" (revision 122 of snap "ubuntu-core" already installed)
Will research more to get the patch on my system.
from nextcloud-snap.
@twosky2000 if you want to hack on snapd please feel free, but I'm getting setup with a Neon VM now to play with this issue.
from nextcloud-snap.
Fixed in snapcore/snapd#1346.
from nextcloud-snap.
Note that the fix won't make it into the archives until next week, but if you want to continue playing with the snap you can install snapd from this PPA: https://launchpad.net/~snappy-dev/+archive/ubuntu/edge
from nextcloud-snap.
Related Issues (20)
- Unable to play .mkv video files properly HOT 5
- Upgrade to 27.1.8 to fix "Enforce password protection" bug HOT 6
- nextcloud.enable.https lets-encrypt won't work HOT 3
- Upgrade Nextcloud to 28.0.4 HOT 2
- Upgrade Nextcloud to 27.1.8 HOT 1
- Upgrade Nextcloud to 26.0.13
- Upgrade Apache to 2.4.59
- [Solved] File upload - Toastify is Awesome - notice on file uploading of size > 1 mb HOT 3
- Upgrade PHP to 8.2.18
- Curl errors now showing up in the logs HOT 5
- PHP Vulnerability - CVE-2024-2961 HOT 5
- nextcloud.export not exporting userdata HOT 17
- Update Nextcloud to 29
- Update Nextcloud to 28.0.5
- Update Nextcloud to 27.1.9 HOT 1
- NEXTCLOUD VERSION - still 24 as per security scan of nextcloud HOT 1
- Update MySQL to 8.0.37 HOT 1
- MySQL starting with 8.0.37 requires cmake 3.11.2 or newer
- nextcloud-snap/wiki/Managing-services | error in text + suggestions HOT 14
- Enable dailies for Nextcloud 29 HOT 1
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 nextcloud-snap.