How to install a custom add-on App to Nextcloud deployed via snap?

The Basics

  • Nextcloud Server version
    • 31.0.10
  • Operating system and version
    • Ubuntu 24.04.3 LTS
  • PHP version
    • 8.3.23
  • Is this the first time you’ve seen this error?
    • Yes
  • When did this problem seem to first start?
    • N/A
  • Installation method
    • Ubuntu Snap
root@nextcloud:~# snap list
Name       Version       Rev    Tracking       Publisher    Notes
core18     20251001      2959   latest/stable  canonical**  base
nextcloud  31.0.10snap1  50962  latest/stable  nextcloud**  -
snapd      2.72          25577  latest/stable  canonical**  snapd
  • Are you using CloudfIare, mod_security, or similar?
    • NO

Summary of the issue

How to install custom application / add-on to Nextcloud which is installed via Ubuntu snap?

Steps to replicate it

  1. This is the app for Deck which I want to try - GitHub - rallisf1/nextcloud-deck-time-tracking: A complementary app for Nextcloud Deck

  2. As I understand I need to drop those files to under Nextcloud htdocs/apps folder - OK sounds easy !

  3. But of course the /snap/nextcloud/50464/htdocs/apps/ is read-only as it is mounted via Snap

  4. There is also /var/snap/nextcloud/current/nextcloud/ which is write-able - I tried saving it there

  5. But what is next - should this now appear in NextCloud Admin UI at https://nextcloud.my./index.php/settings/apps/disabled ? It does not

  6. I tried searching but cannot find anything that fits here - of course there are lots of snap specific sources

    1. How to install Nextcloud snap
    2. and The system /snap directory - doc - snapcraft.io

Sorry upfront guys, this must be a very noob question and the answer has to be very simple! please nudge me to the right direction, what / where / why ? :slight_smile:

Hey @realaaa welcome back :waving_hand:

yeah… that’s not simple when you’re using the snap. Adding apps that way will break automatic upgrade capabilities.

its not a noob question… and there are no descriptions either, see reason above.

1 Like

thank you very much for quick reply :handshake:

I thought I was going crazy for a minute, not being able to figure this out..

I found this crazy how-to - https://www.reddit.com/r/linux/comments/10i6m19/i_figured_out_how_to_modify_installed_snaps/ - but definitely was not something that felt right or even sane thing to do

it makes sense I guess yes, snap is all in one and therefore you compromise on flexibility and tweaking it - lesson learned !

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.