Comments (11)
You need to call a different binary:
sudo /snap/bin/nextcloud.enable-https
from nextcloud-snap.
Yeah, /snap/bin/
isn't in the path for sudo at the moment (a bug which been fixed but is being SRUd, which takes a bit). A workaround while we're waiting is to use the absolute path as @oparoz mentioned.
from nextcloud-snap.
So it the bug is in snapd?
from nextcloud-snap.
So it the bug is in snapd?
It ended up being fixed in sudo (LP: #1595558).
from nextcloud-snap.
Ah thanks, is it okay if I leave the issue open until the fix comes out of xenial-proposed?
from nextcloud-snap.
Oh certainly, I probably would have re-opened it if you closed it 😄 . Thanks for the report!
from nextcloud-snap.
Great, so let's: Ceep Calm, and sudo apt update! ;)
from nextcloud-snap.
Just saw that this works in 16.04 now. Make sure you're up-to-date.
from nextcloud-snap.
This issue seems to still exist on Fedora 31 Server. After following https://snapcraft.io/docs/installing-snap-on-fedora I can install nextcloud but running...
[apattyn@localhost ~]$ nextcloud.enable-https lets-encrypt
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
chmod: changing permissions of '/tmp/pids': Operation not permitted
This utility needs to run as root
[apattyn@localhost ~]$ sudo nextcloud.enable-https lets-encrypt
sudo: nextcloud.enable-https: command not found
Wasn't sure if cgroups v2 was causing an issue but running the same command above but with /snap/bin/nextcloud.enable-https
instead works.
from nextcloud-snap.
This issue seems to still exist on Fedora 31 Server. After following https://snapcraft.io/docs/installing-snap-on-fedora I can install nextcloud but running...
[apattyn@localhost ~]$ nextcloud.enable-https lets-encrypt WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement chmod: changing permissions of '/tmp/pids': Operation not permitted This utility needs to run as root [apattyn@localhost ~]$ sudo nextcloud.enable-https lets-encrypt sudo: nextcloud.enable-https: command not found
Wasn't sure if cgroups v2 was causing an issue but running the same command above but with
/snap/bin/nextcloud.enable-https
instead works.
Same issue here on debian!
from nextcloud-snap.
Yeah you might need to reboot to get /snap/bin
onto your PATH, or you might need to add it yourself. In reality though, the snap cross-platform story is a bit of a stretch, I really don't recommend snaps unless you're on Ubuntu. Otherwise you'll (in most cases) end up running daemons as unconfined root, which is a terrible security practice.
from nextcloud-snap.
Related Issues (20)
- [NC28] Missing `application/javascript` mimetype HOT 1
- [NC28] Configure maintenance time for daily resource intensive background jobs
- Build Failure: Virtual Memory Exhausted During MySQL Compilation in Nextcloud Snap HOT 6
- Upgrade Nextcloud to 27.1.6
- Should the snap offer the option to use APCu for local cache? HOT 10
- PHP SOAP in SNAP-container 'nextcloud_39212.snap' HOT 1
- Keep getting 526 invalid cert error from cloudflare (full) HOT 14
- Upgrade Nextcloud to 28.0.2 HOT 2
- nextcloud: update to 26.0.11 HOT 1
- Error on mail app after update to 3.5.0 HOT 5
- Need Help my installation isn't accessible from ip adress on what it were Broadcasting! :( HOT 14
- Upgrade from 27.1.4.1 to 27.1.6.2 FAILED - Stuck in maintenance mode HOT 8
- [BROKEN TRASH BIN] Upgrade Nextcloud to 27.1.7 (Once released) HOT 4
- Snap's MariaDB/MySQL prevents use of other DB on host, while also not usable by other applications HOT 35
- Nextcloud Snap prevents any other apps from using any MariaDB HOT 2
- Cannot activate https with existing certificates HOT 9
- Is there a way to boost the speed and lower the weight on access devices? HOT 34
- How to Complete those things? HOT 6
- How to enable-https with a tailscale cert? HOT 7
- Dav endpoints redirecting incorrectly HOT 4
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.