[ NextCloud ] [ 20.0.1.0] OwnCloud Fork

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
dehein2
Getting the hang of things
Posts: 50
Joined: Fri Oct 07, 2011 5:32 pm

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by dehein2 » Tue Sep 17, 2019 9:49 pm

Hi all,

I'm running an older Version of the qpkg 13.0.2 (installed 2018) and would like to update to the current 16.0.4 version.What's the best way to do it without losing Data/settings.

2 related questions:
- I use the qnaps letsencrypt ssl certificate, i guess i have to repeat the link process right?
- Where are the nextcloiud files (not user data) stored. The userdata is stored in a seperate share

Thanks a lot
Dennis

goodelyfe
Know my way around
Posts: 122
Joined: Tue Jul 01, 2014 5:50 pm

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by goodelyfe » Tue Sep 17, 2019 11:00 pm

can't wait for the update!!

yanuk
Know my way around
Posts: 115
Joined: Mon Feb 08, 2016 9:45 am

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by yanuk » Wed Sep 18, 2019 6:05 pm

dehein2 wrote:
Tue Sep 17, 2019 9:49 pm
Hi all,

I'm running an older Version of the qpkg 13.0.2 (installed 2018) and would like to update to the current 16.0.4 version.What's the best way to do it without losing Data/settings.

2 related questions:
- I use the qnaps letsencrypt ssl certificate, i guess i have to repeat the link process right?
- Where are the nextcloiud files (not user data) stored. The userdata is stored in a seperate share

Thanks a lot
Dennis
Backup your settings file, and update.
To be save, you can always backup the entire /opt/Nextcloud folder to somewhere and if it fails, just copy it back.
TS451
TS453

dehein2
Getting the hang of things
Posts: 50
Joined: Fri Oct 07, 2011 5:32 pm

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by dehein2 » Wed Sep 18, 2019 7:09 pm

thanks ;) and update means installing the new qpkg i guess. How do I best do that as there is no update button in the App Central. Do I just "install" the new qpkg over the old one?

ganekogorta
Starting out
Posts: 42
Joined: Sat Nov 21, 2009 7:31 am
Location: Bizkaia

[ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by ganekogorta » Mon Sep 23, 2019 3:19 am

dehein2 wrote:thanks ;) and update means installing the new qpkg i guess. How do I best do that as there is no update button in the App Central. Do I just "install" the new qpkg over the old one?
Hi
You can download from www.nextcloud.com the zip package.
Using the console, terminal o WinSCP goto /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud. Your path may be other like MD0_DATA or similar.
-delete all inside nextcloud except the dir config, data and the simbolic of nextcloud.
-download nextcloud file zip . Decompress it on the pc and upload all content except the folder config.
- assing permission RW to the folder apps
- start app nextcloud from the app center (icon shows 13).
- goto the web of nextcloud and starts a wizard to finish the upgrade 14.0.14. Accept, wait and you get nextcloud 14 running on QTS 4.4.1 :)

If you want to upgrade version 15 or 16, the steps are the same.


Un saludo
Agur eta ondo ibili
Last edited by ganekogorta on Mon Sep 23, 2019 3:19 am, edited 1 time in total.

dehein2
Getting the hang of things
Posts: 50
Joined: Fri Oct 07, 2011 5:32 pm

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by dehein2 » Mon Sep 23, 2019 3:39 am

Sounds good,with this solution I could also backup the files + db and go back to 14 if sth. goes wrong.

Thanks a lot

dehein2
Getting the hang of things
Posts: 50
Joined: Fri Oct 07, 2011 5:32 pm

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by dehein2 » Mon Sep 23, 2019 8:28 pm

Hi ganekogorta,

i get the following message when trying to update:

"Exception: Updates between multiple major versions and downgrades are unsupported." Does that mean I have to upgrade to 14 first, than 15 and afterwards 16?

ganekogorta
Starting out
Posts: 42
Joined: Sat Nov 21, 2009 7:31 am
Location: Bizkaia

Re: [ NextCloud ] [ 16.0.4 ] OwnCloud Fork

Post by ganekogorta » Mon Sep 23, 2019 8:31 pm

Hi
Yes, first to v14, later to v15 and finally to v16.



Un saludo
Agur eta ondo ibili

User avatar
QNAP_Stephane
Experience counts
Posts: 3867
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by QNAP_Stephane » Fri Sep 27, 2019 9:24 pm

updated both version (Qapache + Apache73)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

dehein2
Getting the hang of things
Posts: 50
Joined: Fri Oct 07, 2011 5:32 pm

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by dehein2 » Sat Sep 28, 2019 3:42 am

@ganekogorta: worked perfectly - THANKS

mitch569
New here
Posts: 9
Joined: Thu May 02, 2019 6:36 pm

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by mitch569 » Tue Oct 01, 2019 2:30 pm

Hi there,

I have been getting a lot of RAM usage on my ts-251+. I have 8gbs installed and it creeps up to max after some usage.
In resource monitor there is 6 of nexcloud httpd all with high RAM usage.
Obviously I have my config wrong somewhere but I am struggling to work out where?
Can someone please point me in the right direction on how to limit this?

Cheers :)

User avatar
QNAP_Stephane
Experience counts
Posts: 3867
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NextCloud ] [ 17.0.0 ] OwnCloud Fork

Post by QNAP_Stephane » Tue Oct 01, 2019 4:41 pm

updated
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

User avatar
QNAP_Stephane
Experience counts
Posts: 3867
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by QNAP_Stephane » Tue Oct 01, 2019 4:43 pm

mitch569 wrote:
Tue Oct 01, 2019 2:30 pm
Hi there,

I have been getting a lot of RAM usage on my ts-251+. I have 8gbs installed and it creeps up to max after some usage.
In resource monitor there is 6 of nexcloud httpd all with high RAM usage.
Obviously I have my config wrong somewhere but I am struggling to work out where?
Can someone please point me in the right direction on how to limit this?

Cheers :)
May be have a try to disable some unused mod in /opt/NextCloud/httpd.conf (or /opt/NextCloud73/httpd.conf)

or disable some unused extension in Qapache or Apache73 (regarding the backend version you use as dependency)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

nickdanp
New here
Posts: 4
Joined: Sun Jul 23, 2017 4:56 pm

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by nickdanp » Wed Oct 02, 2019 9:53 pm

QNAP_Stephane wrote:
Tue Oct 01, 2019 4:43 pm
mitch569 wrote:
Tue Oct 01, 2019 2:30 pm
Hi there,

I have been getting a lot of RAM usage on my ts-251+. I have 8gbs installed and it creeps up to max after some usage.
In resource monitor there is 6 of nexcloud httpd all with high RAM usage.
Obviously I have my config wrong somewhere but I am struggling to work out where?
Can someone please point me in the right direction on how to limit this?

Cheers :)
May be have a try to disable some unused mod in /opt/NextCloud/httpd.conf (or /opt/NextCloud73/httpd.conf)

or disable some unused extension in Qapache or Apache73 (regarding the backend version you use as dependency)
Hi, I have exactly the same setup and the same problem as Mitch. It's not a lack of resources (at least, not at first), but unless I use QBoost to restart NextCloud every 24 hours (and sometimes more frequently), then the amount of available RAM is gobbled up. It's like some kind of memory leak.

Two httpd.conf processes (probably linked to my Windows and Mac desktop clients that are connected most of the day) consume more RAM than any others - on shutting down the desktop connections they stop, but then resume as soon as the desktops are reconnected. What I'd like to do is somehow force them to respawn (and so release the RAM they've consumed) when they reach a set limit or when I shut down the desktop app.

I find plenty of advice on online for configuring such things as MaxRequestsPerChild, KeepAlive, and
KeepAliveTimeout on the one hand, and pm = ondemand on the other, but it seems to have no effect. Either these aren't the tweaks I'm looking for, or I'm applying them in the wrong place.

I'm running the latest version of Qapache (on an unrelated note, it's stopped me from connecting on port 88 to configure the files it has access to), NextCloud 17 and PHP 7.2.18 (to gain access to such files as www.conf and php-fm-conf in the misguided belief I could fix the problem by tweaking those files).

Thanks for any further advice you can offer Mitch and myself!

mitch569
New here
Posts: 9
Joined: Thu May 02, 2019 6:36 pm

Re: [ NextCloud ] [ 16.0.5 ] OwnCloud Fork

Post by mitch569 » Thu Oct 03, 2019 2:29 pm

nickdanp wrote:
Wed Oct 02, 2019 9:53 pm
QNAP_Stephane wrote:
Tue Oct 01, 2019 4:43 pm
mitch569 wrote:
Tue Oct 01, 2019 2:30 pm
Hi there,

I have been getting a lot of RAM usage on my ts-251+. I have 8gbs installed and it creeps up to max after some usage.
In resource monitor there is 6 of nexcloud httpd all with high RAM usage.
Obviously I have my config wrong somewhere but I am struggling to work out where?
Can someone please point me in the right direction on how to limit this?

Cheers :)
May be have a try to disable some unused mod in /opt/NextCloud/httpd.conf (or /opt/NextCloud73/httpd.conf)

or disable some unused extension in Qapache or Apache73 (regarding the backend version you use as dependency)
Hi, I have exactly the same setup and the same problem as Mitch. It's not a lack of resources (at least, not at first), but unless I use QBoost to restart NextCloud every 24 hours (and sometimes more frequently), then the amount of available RAM is gobbled up. It's like some kind of memory leak.

Two httpd.conf processes (probably linked to my Windows and Mac desktop clients that are connected most of the day) consume more RAM than any others - on shutting down the desktop connections they stop, but then resume as soon as the desktops are reconnected. What I'd like to do is somehow force them to respawn (and so release the RAM they've consumed) when they reach a set limit or when I shut down the desktop app.

I find plenty of advice on online for configuring such things as MaxRequestsPerChild, KeepAlive, and
KeepAliveTimeout on the one hand, and pm = ondemand on the other, but it seems to have no effect. Either these aren't the tweaks I'm looking for, or I'm applying them in the wrong place.

I'm running the latest version of Qapache (on an unrelated note, it's stopped me from connecting on port 88 to configure the files it has access to), NextCloud 17 and PHP 7.2.18 (to gain access to such files as www.conf and php-fm-conf in the misguided belief I could fix the problem by tweaking those files).

Thanks for any further advice you can offer Mitch and myself!
Thanks Stephane, I have looked into my config and have change a few things but still keep having the same issue.
nickdanp has explained the issue heaps better than I have.
Over time the RAM usage does buildup to the point that I have to restart the Nextcloud qpkg for the RAM to go back down to normal.
Other than that I cant fault the setup, it just works.
Would be cool to be able to fix this small annoyance.

Cheers guys

Post Reply

Return to “Community Apps”