It is currently Thu Jun 27, 2019 9:54 am
All times are UTC + 8 hours

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!

Nextcloud 16.0.1 APKG

Postby CryZ » Tue Jun 11, 2019 12:23 am

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
CryZ
 
Posts: 9
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Postby wde » Tue Jun 11, 2019 11:34 pm

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: AS-602T ADM: 3.3.0.RHM2 Router: Hitron CODA-4582
wde
 
Posts: 185
Joined: Sun Jun 16, 2013 5:00 pm

Re: Nextcloud 16.0.1 APKG

Postby fritzboxuser » Wed Jun 12, 2019 10:46 pm

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 :)
fritzboxuser
 
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Postby CryZ » Thu Jun 13, 2019 1:11 am

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
CryZ
 
Posts: 9
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Postby fritzboxuser » Thu Jun 13, 2019 4:38 am

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
fritzboxuser
 
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Postby CryZ » Thu Jun 13, 2019 4:59 am

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
CryZ
 
Posts: 9
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Postby fritzboxuser » Thu Jun 13, 2019 5:43 am

jup same problem cronjob didnt work
fritzboxuser
 
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Nextcloud 16.0.1 APKG

Postby CryZ » Thu Jun 13, 2019 5:44 am

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
CryZ
 
Posts: 9
Joined: Fri Apr 12, 2019 12:41 am

Re: Nextcloud 16.0.1 APKG

Postby Mr Nilsen » Mon Jun 17, 2019 1:07 am

How can I show hidden files in adm? can't find folder /usr/local/AppCentral/php7/etc/php.ini
Mr Nilsen
 
Posts: 4
Joined: Fri Jun 14, 2019 5:32 am

Re: Nextcloud 16.0.1 APKG

Postby CryZ » Mon Jun 17, 2019 1:21 am

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
CryZ
 
Posts: 9
Joined: Fri Apr 12, 2019 12:41 am

Next

Return to Nextcloud

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron