Nextcloud 16.0.1 APKG

Nextcloud is an open source, self-hosted file sync and share and communication app platform. Access & sync your files, contacts, calendars & communicate and collaborate across your devices. You decide what happens with your data, where it is and who can access it!

Moderator: Lillian.W@AST

CryZ
Posts: 10
youtube meble na wymiar Warszawa
Joined: Fri Apr 12, 2019 12:41 am

Nextcloud 16.0.1 APKG

Post by CryZ »

Hey guys,
I decided to create an installation package, because the migration process from Nextcloud 13 to 16 was not possible for me.
I didn't test if a migration works with this apkg, I made a fresh installation. Maybe someone can try?
The whole installation worked fine for me on my AS-6202T, but should work on others as well.
I made a small change in the last version and wasn't able to test it, because I already installed it completely, but it should work.

Icon in ADM:
Image

Installation:
  • 1. DO A BACKUP OF YOUR WHOLE OLD NEXTCLOUD FOLDER AND DATA FIRST (should be "Web->nextcloud12" on GUI or /volume1/Web/nextcloud12" on CLI)
    2. Remove Nextcloud 12 App
    3. Install "PHP 7" App (Link)
    4. Install my "Nextcloud 16" App manually (Download)
    5. Open Nextcloud 16 App
    6. Finish configuration
If you get any Errors while installing, please give me some logs to check it.

Installation and use of this app is, at all times, "at your own risk." I'm not responsible for any damages whatsoever resulting from the installation or use.






Some known Errors after installation (mostly because of standard Asustor settings):

HSTS warning:
Add the folowing into the 2nd line of your nextcloud .htaccess file (/Web/nextcloud16/.htaccess)

Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"

PHP Memory Cache:
Add this to your nextcloud config file(/Web/nextcloud16/config/config.php):

'memcache.local' => '\OC\Memcache\APCu',

PHP Memory Limit:
Go to the PHP7.ini(/usr/local/AppCentral/php7/etc/php.ini) and change the line
memory_limit=128M to
memory_limit=512M

Expand Upload limit:
Go to the PHP7.ini(/usr/local/AppCentral/php7/etc/php.ini) and change the following lines
post_max_size = 2G
upload_max_filesize = 2G

2G = 2 Gigabyte, change it if you need more.

Cron Job instead of Ajax: Currently not working. Will try to find a fix for it.
Test first if this command works for you: php -f /volume1/Web/nextcloud16/cron.php
Then edit crontab with "sudo crontab -e"
Insert at the end of file:
*/15 * * * * php -f /volume1/Web/nextcloud16/cron.php
-> every 15 minutes is the cron job done now.
Check with: sudo crontab -l


Feel free to comment if you have any feedback or problems :-)
Last edited by CryZ on Thu Jun 13, 2019 5:45 am, edited 1 time in total.
Storage: AS-6202T
wde
Posts: 224
Joined: Sun Jun 16, 2013 5:00 pm

Re: Nextcloud 16.0.1 APKG

Post by wde »

Thanks, this worked for me on AS-602T.
Just had to stop and start nextcloud16 and php7 for changes to take effect.
Didn't test the cron job.
My NAS: Flashtor 6 FS6706T ADM: 4.2.7.RRD1 Router: Technicolor CGM4331COM (XB7)
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Post by fritzboxuser »

thanks for the package,

you should register as a developer in the asustor program to bring the app in the adm store

grüße aus deutschland :)
CryZ
Posts: 10
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Post by CryZ »

wde wrote:Thanks, this worked for me on AS-602T.
Just had to stop and start nextcloud16 and php7 for changes to take effect.
Didn't test the cron job.
Hey, great that it worked for you :)
Thanks for the feedback !
fritzboxuser wrote:thanks for the package,

you should register as a developer in the asustor program to bring the app in the adm store

grüße aus deutschland :)
You are welcome :)
Did everything work fine for you?
I'll have a look at it, thansk for the suggestion !

Grüße zurück ;-)
Storage: AS-6202T
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Post by fritzboxuser »

works perfect,

maybe you can add the information in startppost to convert the database with utf8mb4 so that unicode smiles work in nextcloud
( ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; )

or create a new one with utf8mb4 format
CryZ
Posts: 10
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Post by CryZ »

fritzboxuser wrote:works perfect,

maybe you can add the information in startppost to convert the database with utf8mb4 so that unicode smiles work in nextcloud
( ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; )

or create a new one with utf8mb4 format
Glad to hear :)
Have that problem as well, but currently not so much time to check it up. Will hopefully have some time in the next days to test the command.
Was trying around with cron, but its not working correctly.
The command works fine if I paste it manually in the cli, but its not starting the cron.
Even stoppend and restartet the whole cronjob.
As well it is not working with full path:
*/15 * * * * /usr/builtin/bin/php -f /volume1/Web/nextcloud16/cron.php

Did you test this as well?
Storage: AS-6202T
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Post by fritzboxuser »

jup same problem cronjob didnt work
CryZ
Posts: 10
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Post by CryZ »

fritzboxuser wrote:jup same problem cronjob didnt work
Found so many threads about problems with cron x(
Read about rewrite the php file to full-path variables, but no time currently. Will check it in a few days maybe :)
Thanks for feedback
Storage: AS-6202T
Mr Nilsen
Posts: 4
Joined: Fri Jun 14, 2019 5:32 am

Re: Nextcloud 16.0.1 APKG

Post by Mr Nilsen »

How can I show hidden files in adm? can't find folder /usr/local/AppCentral/php7/etc/php.ini
CryZ
Posts: 10
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Post by CryZ »

Mr Nilsen wrote:How can I show hidden files in adm? can't find folder /usr/local/AppCentral/php7/etc/php.ini
You have to use a sftp client like winscp or terminal client like putty to connect to your NAS.
I would suggest you to use winscp if you have no idea.
First enable SSH and SFTP in your NAS (Services -> Terminal)
Then go to winscp, add your server and connect with admin account.
Then go to the php.ini file:
Image
(the php.ini.bak is my backup or the default php.ini file, you should do a backup first as well)

I suggest you to disable SSH and SFTP afterwards, if you don't use it otherwise.
Storage: AS-6202T
Post Reply

Return to “Nextcloud”