Nextcloud - App Store missing

I did a complete new setup of my mox, and also installed nextcloud again from scratch. So now nextcloud itself is working, but if I want to install additional app from the Apps site there’s nothing but the standard apps. So what’s wrong - a problem with my installation or normal behaviour of mox nextcloud version?

1 Like

Nextcloud in Turris OS is labeled as experimental and it means that it need not be stable and some features (or Nextcloud itself) might be broken. Which version of Turris OS do you currently use?

Don’t now the number, but must be the actual version. Made a complete new installation of mox software by using rescue mode 6 last weekend.

Maybe a real Nextcloud problem, someone posted same problem in the Nextcloud forum today, but without specs to his environment…

It’s probably caused by this bug: https://github.com/nextcloud/server/pull/22184

It’s fixed in 18.0.8. We will update the nextcloud packages to this version soon (I’ve created an issue here: https://gitlab.nic.cz/turris/turris-os-packages/-/issues/662). Thank you for reporting.

1 Like

Just to follow up on this. I have the same issue. I am not able to see any links that would allow me to install a new applications after clicking on: User Icon > + Apps. This page only shows the apps that I came with the install.

I am running:
Turris OS version 5.1.2 HBS
Kernel version 4.14.199

$ opkg list-installed | grep -e nextcloud
nextcloud - 18.0.7-2
nextcloud-install - 18.0.7-2

I would say that it is this issue as Lukas suggested.

1 Like

I’m hitting the same, but I do not think the linked PR fixes the issue (that’s about the top menu bar, not about the left-side menu).
I saw a lot of Guzzle exceptions on the nextcloud log, which is where I think the issue comes from - the newer version of Guzzle seems to have fixed the problem.

I filed https://github.com/nextcloud/server/issues/24448 upstream.

1 Like

Yes - no app store here

“Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore”

Any update on this? We are hamstrung without an app store, since purchase. Nextcloud says release 18.0.9 is available.

Has anyone done a manual download and update - perhaps on the command line?

I kept updating Nextcloud in its GUI and now I am at the latest stable 20.0.7, and no app store was available in any versions while updating in multiple phases…

Also it is saying php version is old (7.2) and Nextcloud 21 will require at least PHP 7.3

Anyone solved already the no-apps-from-store issue? It is hardly usable without it.

No progress here. I cannot understand why Turris Mox Nextcloud is limited in this way. It is a poor cousin of the real thing. Developers have made good progress with regular updates coming through. I hope they will attend to this feature. Turris Mox needs some love.

well, it is not just MOX, I am on Turris Omnia and it is the same

From the documentation, it is not recommended to updated manually.
I did it once and when the updated came in, Nextcloud stopped working form me.
I wish they would update it regularly.

https://docs.turris.cz/geek/nextcloud/nextcloud/

1 Like

Does this come back to the developers of Turris OS? Are we dependent upon them for this fix? A quick google did not indicate problems with other Nextcloud users. Hang - our Turris Mox hardware is under used and becoming obsolete. We may be better off running Nextcloud on something else and finding another use for our Mox. Don’t mean to be pessimistic.

Just a quick note. The workaround to this issues is to install the applications manually.

You can go the app store website and download the tar.gz file manually to your computer. Then scp to turris and untar there.

You can just then move the app folder to /srv/www/nextcloud/apps and activate the app from the web interface.

I will post more details when I get around this.

Are you sure? When I made the autoupdate, I think it has just done yet, downloading the newer package and decompress it. But it didn’t help.
Have you managed to workaround it?

Btw I am just trying to do it in a container, acutally with docker and docker-compose it works fine with it. And with defaults, which uses sqlite, however I want to use postgresql, but I have some issues with the postgres image and connecting to it.

Ok, I have just made it working in docker. In the end everything was fine with my config there was just some mess in the delta of the images. So I just removed all containters and images and redo them.

So some tutorial:
There is docker thread in the forum, with that can help you set it up, so now you should have and lxc container, attach to that container and
then install docker, docker-compose and you can use this docker-compose.yml config:

~ # cat docker-compose.yml 
version: "3.5"
services:
  nextcloud:
    image: nextcloud
    restart: always
    build:
      context: .
      dockerfile: ./Dockerfile
    ports:
      - "8080:80"
    environment:
      - POSTGRES_HOST=db  # HERE
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=postgres 
      - POSTGRES_PASSWORD=yourpass
    depends_on:
      - db

  db:
    image: postgres:latest
    restart: always
    hostname: 'db'  # AND HERE 
    ports:
      - "5432:5432"
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    environment:
      - "POSTGRES_HOST_AUTH_METHOD=trust"
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=yourpass
#--------------------------------
~ # cat Dockerfile 
FROM nextcloud:production-apache
RUN apt-get update && apt-get install -y \
   smbclient
#--------------------------------

then:

docker-compose build

docker-compose up -d

Thereafter restart your lxc container and it nextcloud should be working
I think the approach is better than the native nextcloud becaue

  • you dont mess up your router
  • everyting is well separated and
  • can be redone easily, and
  • it is uptodate to the latest version.
  • you dont have to mess with lighthttpd, which less known and less supported

Hi Fenevadkan,

This is a cool solution. I haven’t considered running nextcloud from docker image. Can you install new nextcloud applications when you run from docker?

How do you handle the backup of your docker data and do the syncing services (syncing files, pictures, calendar) work?

Radek

What I was doing is, for example, download the tar file from here:
https://apps.nextcloud.com/apps/contacts/releases?platform=18#18

This is an example with contacts.

You can just then scp to the rooter:

scp contacts.tar.gz <your_user>@192.168.1.1:~

Then ssh to the rooter with

ssh <your_user>@192.168.1.1

Untar the file with:

root@turris:~# tar -xvf contacts.tar.gz .

Then just move the folder to correct location.

mv  contacts /srv/www/nextcloud/apps/

The application can be activated in Nextcloud > Your_User_Icon > + Apps. Find the contacts app in the list and activate it there. Refresh your nextcloud and the app will be there.

However, the docker image seems to be better idea. I would have to rework how I have installed my NextCloud instance.

4 Likes