[ Nextcloud ] Self-hosted productivity platform

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
Roccia7
Posts: 62
Joined: 05 Mar 2020, 05:02
Italy

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by Roccia7 »

Hi, is it possible to store data in: /mnt/md0 ?
TNAS F2-220
TOS 5.0.176
Roccia7
Posts: 62
Joined: 05 Mar 2020, 05:02
Italy

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by Roccia7 »

outkastm wrote: 07 Jan 2022, 03:58yes
Thanks but i tried when i configured the app and I could not use that folder. I tried to modify it in configuration file and nextcloud doesn't work. So, please, how can i do?
TNAS F2-220
TOS 5.0.176
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by outkastm »

only root user has write access to /mnt/md0
So before Nextcloud setup, you have to create the folder for NextcloudDATA and change the owner of this folder to user www-data
Connect using ssh and run

Code: Select all

[user@TNAS-xxxx md0]$ cd /mnt/md0
[user@TNAS-xxxx md0]$ sudo mkdir -p /mnt/md0/NextcloudDATA
Password:
[user@TNAS-xxxx md0]$ sudo chown www-data:www-data NextcloudDATA
[user@TNAS-xxxx md0]$ ls -ld NextcloudDATA
drwxr-xr-x 2 www-data www-data 4096 Jan  6 22:32 NextcloudDATA
then you can use /mnt/md0/NextcloudDATA during setup
Roccia7
Posts: 62
Joined: 05 Mar 2020, 05:02
Italy

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by Roccia7 »

outkastm wrote: 07 Jan 2022, 05:44 only root user has write access to /mnt/md0
So before Nextcloud setup, you have to create the folder for NextcloudDATA and change the owner of this folder to user www-data
Connect using ssh and run

Code: Select all

[user@TNAS-xxxx md0]$ cd /mnt/md0
[user@TNAS-xxxx md0]$ sudo mkdir -p /mnt/md0/NextcloudDATA
Password:
[user@TNAS-xxxx md0]$ sudo chown www-data:www-data NextcloudDATA
[user@TNAS-xxxx md0]$ ls -ld NextcloudDATA
drwxr-xr-x 2 www-data www-data 4096 Jan  6 22:32 NextcloudDATA
then you can use /mnt/md0/NextcloudDATA during setup
Thanks a lot for your explanation, so if i would share files i need to use mnt/md0/NextcloudDATA folder, right? But if i would share all md0 folder? Is it possible?
TNAS F2-220
TOS 5.0.176
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by outkastm »

Nextcloud is working as a cloud server. You cannot choose a folder during installation and to make all content available inside nextcloud. The folder choosed consider it as a drive, where the data will be uploaded by users and where nextcloud also store some config files
User avatar
Pavulon
Posts: 16
Joined: 28 Oct 2021, 04:58

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by Pavulon »

Hi Outkastm

Is there any chance for an arm version of nextcloud?

Sending best wishes :)
F2-210
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 23.0.0.1 ] Self-hosted productivity platform

Post by outkastm »

sorry but nor arm version for the moment
to much libraries to cross compile and without a NAS to test it will be very difficult
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

Re: [ Nextcloud ][ 23.0.2.0 ] Self-hosted productivity platform

Post by sanctimon »

Thank you for the continued updates!

Any tips on how to make your version work with an apache proxy?

My public IP is pointing to a web server that is not sitting on the TNAS.

The server is https with SSL certificate and it's redirecting to http for Nextcloud on the TNAS. When TNAS makes a system and security check, it gives this warning:

Code: Select all

You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. Please read the documentation page about this ↗.
I have looked at the documentation and have adjusted all config files as best I can, but the message remains and Nextcloud Talk does not work.
Post Reply