Basis Installation on QNAP with Docker

Hi all, I bought a Qnap Diskstation TS-264 and installed nextcloud exactly as described in https://github.com/ladral/qnap-nextcloud

Everything seemed to be ok and running. I wounder why this guide is using 9443 because I have some challenges witht SSL. However as I want to upload 50.000 pictures, the app to generate previews made sense to me. This app advises:

The first time you install this app, before using a cron job, you properly want to generate all previews via:
./occ preview:generate-all -vvv
Important: To enable pre-generation of previews you must add
php /var/www/nextcloud/occ preview:pre-generate to a system cron job that runs at times of your choosing.

I logon via putty to the server - run sudo bash and then the command: ./occ preview:generate-all -vvv

System replies:

[admin@NAS6D3B3C data]# ./occ preview:generate-all -vvv
bash: ./occ: No such file or directory
[admin@NAS6D3B3C data]#

I also try to change to the folder /share/Docker/nextcloud and run it theer - same result. Did I forget something to install?

Any idea?

there are man moving part in such installation. I’m too lazy to search teh specifics of your NAS but 1-2 years ago I was able to run standard docker container on x86 QNAP NAS without issues.

you better ask the author of the guide. I’m wondering why you think old guide is good starting point…

additionally the guide uses custom linuxserver.io Docker image which is created and maintained by it’s own team I would recommend you reach out to linuxserver.io Support and linuxserver.io Nextcloud docs

and last point

you tried to run the command on your QNAP system. for Docker you can run commands inside the container “space” using docker exec or docker compose exec

see docker docker-compose occ for more details.

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