[ Nextcloud ] Self-hosted productivity platform

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
super-6-1
Posts: 31
Joined: 11 Nov 2021, 05:30

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

Post by super-6-1 »

outkastm wrote: 31 May 2022, 23:20 The lack of log file it means the app has never started.
Do you have also the latest apache24 app installed?
Updated them and now the modual is working but can't access the webpage. Error 404. here is the log.

Code: Select all

[Tue May 31 11:38:55.294969 2022] [ssl:warn] [pid 6706] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:38:55.295099 2022] [ssl:warn] [pid 6706] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:38:55.439605 2022] [ssl:warn] [pid 6712] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:38:55.439651 2022] [ssl:warn] [pid 6712] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:38:57.167975 2022] [mpm_prefork:notice] [pid 6712] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:38:57.168082 2022] [core:notice] [pid 6712] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:39:42.562781 2022] [mpm_prefork:notice] [pid 6712] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:40:00.339939 2022] [ssl:warn] [pid 9197] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:40:00.340038 2022] [ssl:warn] [pid 9197] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:40:00.476234 2022] [ssl:warn] [pid 9198] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:40:00.476275 2022] [ssl:warn] [pid 9198] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:40:00.629539 2022] [mpm_prefork:notice] [pid 9198] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:40:00.629615 2022] [core:notice] [pid 9198] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:40:07.025804 2022] [mpm_prefork:notice] [pid 9198] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:40:17.900371 2022] [ssl:warn] [pid 9295] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:40:17.900472 2022] [ssl:warn] [pid 9295] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:40:18.034276 2022] [ssl:warn] [pid 9296] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:40:18.034332 2022] [ssl:warn] [pid 9296] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:40:18.142274 2022] [mpm_prefork:notice] [pid 9296] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:40:18.142352 2022] [core:notice] [pid 9296] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:40:36.494157 2022] [mpm_prefork:notice] [pid 9296] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:45:51.485410 2022] [ssl:warn] [pid 31055] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:45:51.495834 2022] [ssl:warn] [pid 31055] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:45:51.672900 2022] [ssl:warn] [pid 31107] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:45:51.672946 2022] [ssl:warn] [pid 31107] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:45:52.634995 2022] [mpm_prefork:notice] [pid 31107] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:45:52.635097 2022] [core:notice] [pid 31107] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:46:56.940542 2022] [mpm_prefork:notice] [pid 31107] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:47:06.908777 2022] [ssl:warn] [pid 31731] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:47:06.908879 2022] [ssl:warn] [pid 31731] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:47:07.045253 2022] [ssl:warn] [pid 31732] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:47:07.045312 2022] [ssl:warn] [pid 31732] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:47:07.587472 2022] [mpm_prefork:notice] [pid 31732] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:47:07.587585 2022] [core:notice] [pid 31732] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:47:51.654741 2022] [mpm_prefork:notice] [pid 31732] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:48:01.892776 2022] [ssl:warn] [pid 31992] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:48:01.892880 2022] [ssl:warn] [pid 31992] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:48:02.034029 2022] [ssl:warn] [pid 31993] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:48:02.034083 2022] [ssl:warn] [pid 31993] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:48:02.141882 2022] [mpm_prefork:notice] [pid 31993] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:48:02.141996 2022] [core:notice] [pid 31993] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Tue May 31 11:48:14.726545 2022] [php7:error] [pid 31996] [client 192.168.1.90:53111] script '/usr/local/Nextcloud_okm/bin/nextcloud/status.php' not found or unable to stat
[Tue May 31 11:49:11.803230 2022] [mpm_prefork:notice] [pid 31993] AH00169: caught SIGTERM, shutting down
[Tue May 31 11:51:21.222047 2022] [ssl:warn] [pid 4975] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:51:21.238469 2022] [ssl:warn] [pid 4975] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:51:21.374881 2022] [ssl:warn] [pid 4976] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 31 11:51:21.374929 2022] [ssl:warn] [pid 4976] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Tue May 31 11:51:21.560732 2022] [mpm_prefork:notice] [pid 4976] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Tue May 31 11:51:21.560812 2022] [core:notice] [pid 4976] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

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

Post by outkastm »

No issues here, please check the nextcloud.log file located on your data folder (normally at /mnt/md0/appdata/NextcloudData/nextcloud.log if you followed the first post)


Image

Image
User avatar
super-6-1
Posts: 31
Joined: 11 Nov 2021, 05:30

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

Post by super-6-1 »

outkastm wrote: 01 Jun 2022, 03:07 No issues here, please check the nextcloud.log file located on your data folder (normally at /mnt/md0/appdata/NextcloudData/nextcloud.log if you followed the first post)


Image

Image
Oddly enough i can't find anything related to Nextcloud now...
User avatar
super-6-1
Posts: 31
Joined: 11 Nov 2021, 05:30

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

Post by super-6-1 »

super-6-1 wrote: 01 Jun 2022, 03:49
outkastm wrote: 01 Jun 2022, 03:07 No issues here, please check the nextcloud.log file located on your data folder (normally at /mnt/md0/appdata/NextcloudData/nextcloud.log if you followed the first post)


Image

Image
Oddly enough i can't find anything related to Nextcloud now...

Update: reinstalled and it works... i don't get it lol.
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

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

Post by sanctimon »

Thanks for your hard work.

Are there any guides on how to upgrade TOS from v4.3 to v5.0 without having to redo the entire NextCloud install?
User avatar
Toxster
Posts: 19
Joined: 29 Jun 2021, 17:19

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

Post by Toxster »

Hi,

I was having a lot of trouble with especially the Cron jobs using cron_okm, but also with the occ commands.

So here is the cron_okm line that works for me:

Code: Select all

*/5  *  *  *  * www-data /usr/local/apache24/sys/bin/php -c /mnt/appdata/MOD_CONFIG/Nextcloud_okm/php.ini -f /usr/local/Nextcloud_okm/bin/nextcloud/cron.php --define apc.enable_cli=1
also, if I want to run occ for example for fixing the indices it is:

Code: Select all

sudo -u www-data /usr/local/apache24/sys/bin/php -c /mnt/appdata/MOD_CONFIG/Nextcloud_okm/php.ini -f /usr/local/Nextcloud_okm/bin/nextcloud/occ db:add-missing-indices
Maybe this also helps some others or is there just something wrong with config?
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

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

Post by sanctimon »

I have found the following works - but you need to repeat it every time you restart your machine:

SSH into your TNAS.

Code: Select all

sudo crontab -u www-data -e
Press

Code: Select all

i
to enter text:

Code: Select all

*/5 * * * * /usr/local/bin/Nextcloud_okm cron.php
Press

Code: Select all

Esc
Type

Code: Select all

:wq
and hit Enter.

Check that the change was saved by entering:

Code: Select all

sudo crontab -u www-data -l
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

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

Post by sanctimon »

sanctimon wrote: 06 Aug 2022, 18:21 Are there any guides on how to upgrade TOS from v4.3 to v5.0 without having to redo the entire NextCloud install?
Could I ask if there are any new ideas on this?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

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

Post by outkastm »

Stop Nextcloud, backup database using phpMyAdmin, backup Nextcloud data folder, save config file in a text.

On TOS5

Restore database, restore Nextcloud data folder, install Nextcloud and stop it, restore config file and start Nextcloud
Post Reply