Nextcloud Snap users, please list the issues you're facing

There is no need, as it’s already done for you.

This is considered too advanced for this snap. You cannot change any of the Apache or PHP configuration.

Reading through this lengthy thread, I am wondering if the Snap is production ready. I am about to install my first ever Nextcloud and I’m currently looking into the different deployment options. Snap sounded pretty cool, but there seem to be many issues. Or did I get the wrong impression?

Bear in mind that most problems are related to running the snap on the Pis.
If the snap delivers what you needs in terms of features and you are aware of the limitations, then it’s a good solution.

Actually, I am not really aware of the limitations. Regarding to the official guide, there seem to be none. How does the snap compare to the official VM? Would the VM be more flexible? Thanks, by the way.

The VM is much more flexible and comes with more apps. The snap puts Nextcloud on a read-only partition and cant be integrated with some tools like Collabora Online or Nextant.

1 Like

Snap on Ubuntu Server installs in, well… , a snap! I’ve had no issues getting it up and running.

I’m still tinkering with a manual install on a NC Box.

It installs easily, no doubt. Question was more about how does it run once installed. Seems to have a lot of limitations.

I have Nextcloud Snap running on my Pi3 with Ubuntu Core. Everything works fine on my local network, but I’d like to set up dynamic DNS so I can access my Nextcloud over the internet. The curl command is not installed in Ubuntu Core by default, so cron jobs that use curl don’t work. I’ve installed the consul snap and healthcheck-tool-box example snap, which has the curl command, but I haven’t figured out how to get the snaps to talk to one another.

So just for my understanding again… when using the Snap, we are unable to install any plugins because the snap directories are not writable from “the outside”?

Is there a complete list of all limitations/restrictions of the Snap?

No, you can install apps from the app store, but these can’t used external services such as Spreed, Solr or Collabora Online.
The main limitations are:

  • No tuning of Apache, PHP or MYSQL configurations
  • Rolling releases
  • No advanced features such as SMB or LDAP

i don’t know how to troubleshoot my problem with my nextcloud box. since a couple of days it just stopped working - i’m unable to access it through browser, caldav sync (thunderbird) or nextcloud sync client (linux desktop and mobile). davdroid on android says “500 internal server error”. however, i can still ssh into the box, and have updated repositories and upgraded the available packages.

i started a thread, hopefully in the right subsection?

Hi. I have installed nextcloud as snap and it is very easy. It only took me a few minutes with ssl configured. You need the ports 80 and 443 free before, so you should have configured your ports in apache if you run another services.

The files of user are in /var/snap/nextcloud/common/nextcloud/data/. But I need to configure the files in other partition. If I can not to modify the apache configuration, how can I do this?

Ok… so my box crashed. Don’t ask me why I was not there. However taking the SD card out and fscking it on another machine seemed to do the trick but left me with loads of nextcloud errors. So I left it while I had other things to do. I login today and wow… Nextcloud was updated automatically and no more errors! Neat. That is the advantaged of snaps I guess.

However, I am still a little perturbed I cannot install tinc via snaps in fact there seem to be no real progress on snap development at all for things like duplicity or anything else to sync backups with,

Is it just me or has development on the nextcloud box stalled? I still don’t see an official RPi3 image and wondering what the hell is taking the time. I mean I explained how I installed it on a RPi3 so you cannot tell me it cannot be done. So why is everyone dragging their feet?

I am having mixed feelings about the nextcloud box now. I was under the impression it was under active development. Now it is feeling a bit more like an after thought.

Themes and Email Templates. The only theme listed is “example” and I can edit the HTML but get an error when trying to save it. - “Could Not Create Directory” (that’s because it is a read only file system)

Also, how do you back up the Nextcloud Snap?
Can’t rsync the read only file system.

Is anyone working on Nextcloud Snap specific documentation
(things do work a bit differently when installed as a snap)

Moving an existing Let’s Encrypt Certificate

My Nextcloud is running fine using the snap. A Let’s Encrypts Certificate was easily obtained with help of the nextcloud.enable-https script.

It’s for the moment a theoretical question, but I am curious nonetheless.

How to move and reuse an existing Let’s Encrypt Certificate from a snap to a new fresh nextcloud snap environment?

  • Use somehow the custom option of the nextcloud.enable-https script ?
  • Simply copy the certficiate data from var/snap/nextcloud/current/certs/certbot/config to the same folder at the new snap environment and run the nextcloud.enable-https script with the lets-encrypt option ?
  • Something else ?

snap.nextcloud.apache.service failed to start any idea how to fix tried the following:

disabled and re-enabled snap.nextcloud.apache.service
restarted snap.nextcloud.apache.service
stopped and started snap.nextcloud.apache.service just encase reboot and restart was too fast.

I get this error when entering sudo snap install nextcloud :

error: cannot communicate with server: Post http://localhost/v2/snaps/nextcloud: dial unix /run/snapd.socket: connect: no such file or directory

File encryption

Hi there ! I’ve tried to encrypt my files as I would do in a non-snap install but I discovered that,although no I have no error messages, the files are not encrypted (nor on external storage, nor on home directory (when activated).
I guess, it’s probably due to the fact that the snap installation changes the location of the datas.
Has someone else experienced this ?

EDIT : 24/10 : Everything is actually working for the files uploaded after the enabling of encryption as written in the fine manual

@Oddyza enabling encryption in the Nextcloud snap works for me. I’m confused by your mentioning the “home directory” though. Why would the snap be putting anything there? Are you talking about syncing?

Note that once you enable encryption, it only matters for files you upload afterward-- it does nothing with the files that are already there.

@kyrofa you are right : everything is working. Confusion came from the fact that encryption was enabled after the server was loaded with user files. My mistake.
(home directory was a bad and unhappy shortcut to refer to files on the nextcloud server and not external)