[Support] Linuxserver.io - Nextcloud


4493 posts in this topic Last Reply

Recommended Posts

20 minutes ago, skois said:

 

I won't pretend i can understand any of the logs (i'm not so deep yet lol) 
Please post config.php of nextcloud (/mnt/user/appdata/nextcloud/www/nextcloud/config/config.php)
photos of the docker templates (OO and NC) 
swag configs for OO and NC
and if OO has any config file. this too.
I'll try to see if there is anything obvious that i can catch, otherwise someone here with better knowledge will help with all this info.

Just to recap. 
You can access onlyoffice.domain.com and nextcloud.domain.com (not those exactly but your cnames and domain) right?

Also you can open nextcloud console (right click on docker while you are in dashboard) and try "ping onlyoffice.domain.com" 
If it can ping it, swag confs and cnames should be fine. 
 

 

Hey,

onlyoffice.mydomain.com (I've named it as documentserver.mydomain.com) does work, and can be pinged from the NextCloud console.

 

I'll attach the files in this message, hopefully it's all that's needed here.

I changed the domain names, and IP addresses etc to "XXXX"

The repository for OnlyOffice is set up as onlyoffice/documentserver:6.0 as I've gone through a looooot of messages today, and I've been trying out a-lot of different fixes, one of which was to download the old 6.0 version instead of the newest one.

As you might've guessed, that didn't work either :(

 

Ps, it already feels so much nicer knowing there's another pair of eyes going through my misery. Thanks!

NextCloud Docker template.PNG

OnlyOffice Docker template.PNG

NextCloud configuration file (NginxProxyManager).conf OnlyOffice configuration file (NginxProxyManager) .conf nextcloud_config.php

Link to post
  • Replies 4.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: Nextcloud Application Site: https://nextcloud.com/ Docker Hub: https://hub.docker.com/r/linuxserver/nextcloud/ Github: https://github.com/linuxserver/docker-nextcl

Here's my list of instructions....    Use them at your own risk.....   If upgrading to v12 please see here:   ##Turn on maintenance mode docker exec -it nextcloud occ m

Thanks, fixed for me as well, and I also added this line add_header Referrer-Policy no-referrer always; to appdata/nextcloud/nginx/site-confs/default   And now I have a green

Posted Images

2 hours ago, REllU said:

 

Hey,

onlyoffice.mydomain.com (I've named it as documentserver.mydomain.com) does work, and can be pinged from the NextCloud console.

 

I'll attach the files in this message, hopefully it's all that's needed here.

I changed the domain names, and IP addresses etc to "XXXX"

The repository for OnlyOffice is set up as onlyoffice/documentserver:6.0 as I've gone through a looooot of messages today, and I've been trying out a-lot of different fixes, one of which was to download the old 6.0 version instead of the newest one.

As you might've guessed, that didn't work either :(

 

Ps, it already feels so much nicer knowing there's another pair of eyes going through my misery. Thanks!

NextCloud Docker template.PNG

OnlyOffice Docker template.PNG

NextCloud configuration file (NginxProxyManager).conf 876 B · 0 downloads OnlyOffice configuration file (NginxProxyManager) .conf 877 B · 0 downloads nextcloud_config.php 1.03 kB · 0 downloads

1st thing i noticed and i think some other people had some problem with it is on your NC config.php.
On "'overwrite.cli.url' => " you have your domain now. Try changing it to your ip on of your server.

 

'overwrite.cli.url' => 'https://serverip:444',

 

Even if this is not the problem here might save you a research later.

Also if you are using nginxproxymanager still try checking the toggle for Force https (just to be sure there isn't any redirection problem).

That is the things i would try 1st!
Also if you like collabora more, i can try to help with that!

 

Link to post
1 hour ago, Stubbs said:

The default username/password does not work for Yacy. I opened it before reading the instruction that you're supposed to set them at a very specific URL before opening the container.

 

There should be a way to change the user/password in the docker template.

 

There is no default username/password for this container.

And what is Yacy?

Link to post
6 hours ago, saarg said:

 

There is no default username/password for this container.

And what is Yacy?

 

Sorry, wrong thread.

Yacy is a free & open source distributed search engine you can host yourself. https://yacy.net/

A75G made a container for it, and I was here to express an issue. Again, sorry I got the wrong thread.

Edited by Stubbs
Link to post
11 hours ago, skois said:

1st thing i noticed and i think some other people had some problem with it is on your NC config.php.
On "'overwrite.cli.url' => " you have your domain now. Try changing it to your ip on of your server.

 

'overwrite.cli.url' => 'https://serverip:444',

 

Even if this is not the problem here might save you a research later.

Also if you are using nginxproxymanager still try checking the toggle for Force https (just to be sure there isn't any redirection problem).

That is the things i would try 1st!
Also if you like collabora more, i can try to help with that!

 

 

Sorry for the late response, had to catch some sleep between the days!

 

Almost got excited for the overwrite.cli.url, as I figured that'd maybe help with the access to Nextcloud within the same network, but no :(

 

Anyway, I changed the overwrite.cli.url, which didn't help. After which I checked the settings within nginxproxymanager (screenshots of the settings here), and I'm guessing having the protocol set as https should force it to use https? I also tried to force SSL on the other page, to no help unfortunately.

 

If OnlyOffice is no go, I'd be happy with Collabora. But I feel that there's something else going on with my server, since I couldn't get Collabora working either. It just wouldn't connect from NextCloud. Though, I didn't give it as much thought as for OnlyOffice, as getting excel files would be a really big deal for us.

 

By any chance would the issue be some settings within my modem? (NAT, hairpinning, VLAN? Throwing in buzzwords I've heard about before)

If it's a hardware issue, I'd be OK buying a new switch or something if it meant that this issue would be fixed. But so far, from all the googling and searching I've done, I don't think this has anything to do with the issue I'm having..?

 

Still, I appreciate your help! Thank you!

Documentserver details.PNG

Documentserver SSL.PNG

Link to post
 
Sorry for the late response, had to catch some sleep between the days!
 
Almost got excited for the overwrite.cli.url, as I figured that'd maybe help with the access to Nextcloud within the same network, but no
 
Anyway, I changed the overwrite.cli.url, which didn't help. After which I checked the settings within nginxproxymanager (screenshots of the settings here), and I'm guessing having the protocol set as https should force it to use https? I also tried to force SSL on the other page, to no help unfortunately.
 
If OnlyOffice is no go, I'd be happy with Collabora. But I feel that there's something else going on with my server, since I couldn't get Collabora working either. It just wouldn't connect from NextCloud. Though, I didn't give it as much thought as for OnlyOffice, as getting excel files would be a really big deal for us.
 
By any chance would the issue be some settings within my modem? (NAT, hairpinning, VLAN? Throwing in buzzwords I've heard about before)
If it's a hardware issue, I'd be OK buying a new switch or something if it meant that this issue would be fixed. But so far, from all the googling and searching I've done, I don't think this has anything to do with the issue I'm having..?
 
Still, I appreciate your help! Thank you!
1062929671_Documentserverdetails.PNG.45133ca086b34745560a08ecde46585d.PNG
623945502_DocumentserverSSL.PNG.4e7793326010be7060fab695352f1f4a.PNG
Try to change the network on all dockers to bridge, just to be sure.
When I get home in about 6-7 hours, I'll post all my settings for collabora, which I would say it works very nice (had OO and didn't like it).

Sent from my Mi 10 Pro using Tapatalk

Link to post
7 minutes ago, skois said:

Try to change the network on all dockers to bridge, just to be sure.
When I get home in about 6-7 hours, I'll post all my settings for collabora, which I would say it works very nice (had OO and didn't like it).

Sent from my Mi 10 Pro using Tapatalk
 

 

Was _just_ editing my previous message, hah!

 

I went ahead, and gave Collabora a shot.

I tried to connect NextCloud with Collabora through collabora.mydomain.com, but the connection didn't go through.

Then I tried to put the local IP address, with Collabora's port in there, and that semeed to do the trick! Connection seems to be established now.

 

Though, that victory was short lived. Trying to open a document file (or creating a new one) results in either time-out (with the application IP), or to a "Failed to read document from storage"

 

 

 

I don't have too much time to troubleshoot this further, but with a quick google search some people had problems with outdated PHP version. This doesn't seem to be the case with me, as my PHP version is 7.3.25, which is a newer one than those having the issues.

 

 

 

I'll try to change all networks to Bridge, and see how that goes. Will report back soon.

 

EDIT

Changing all Docker network types to Bridge seemed to make no difference.

Edited by REllU
Bridge network results
Link to post
 
Was _just_ editing my previous message, hah!
 
I went ahead, and gave Collabora a shot.
I tried to connect NextCloud with Collabora through collabora.mydomain.com, but the connection didn't go through.
Then I tried to put the local IP address, with Collabora's port in there, and that semeed to do the trick! Connection seems to be established now.
 
Though, that victory was short lived. Trying to open a document file (or creating a new one) results in either time-out (with the application IP), or to a "Failed to read document from storage"
 
 
 
I don't have too much time to troubleshoot this further, but with a quick google search some people had problems with outdated PHP version. This doesn't seem to be the case with me, as my PHP version is 7.3.25, which is a newer one than those having the issues.
 
 
 
I'll try to change all networks to Bridge, and see how that goes. Will report back soon.
 
EDIT
Changing all Docker network types to Bridge seemed to make no difference.
Hmm, I'll send you my settings, maybe I'm missing something here also! I'll be home in about 6 hours

Sent from my Mi 10 Pro using Tapatalk

Link to post
6 hours ago, REllU said:

.

Ok here you go.

Nextcloud config.php

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '10.10.10.254',
    'port' => 6379,
  ),
  'datadirectory' => '/data',
  'instanceid' => 'randomid',
  'passwordsalt' => 'randomsalt',
  'secret' => 'randomsecret',
  'trusted_domains' => 
  array (
    0 => '10.10.10.254:9443',
    1 => 'cloud.domain.me',
  ),
  'trusted_proxies' => 
  array (
    0 => 'NginxProxyManager',
  ),
  'overwrite.cli.url' => 'https://10.10.10.254:9443',
  'overwriteprotocol' => 'https',
  'overwritehost' => 'cloud.domain.me',
  'dbtype' => 'pgsql',
  'version' => '20.0.5.2',
  'dbname' => 'nextcloud',
  'dbhost' => '10.10.10.254:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'dbuser',
  'dbpassword' => 'dbpassword',
  'installed' => true,
  'updater.release.channel' => 'stable',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'spreed',
    1 => 'documentserver_community',
    2 => 'sharerenamer',
  ),
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'data-fingerprint' => 'randomfingerprint',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_sendmailmode' => 'pipe',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'domain.me',
  'mail_smtphost' => 'smtp.provider.eu',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'cloud@domain.me',
  'mail_smtppassword' => 'randompassword',
  'trashbin_retention_obligation' => '60,auto',
  'versions_retention_obligation' => '60,auto',
  'enable_previews' => true,
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
);

Docker Templates

nextcloudDocker.thumb.PNG.e17cc600f0a79a0fb8a8a2828c4f467d.PNG

I use collabora for 2 domains, remove after the "|". Also note the "\" before every ".". You need them.

collaboraDocker.thumb.PNG.738d7f237ade12e01f5cdae7966c1423.PNG

 

NginxProxyManager Nextcloud

npmNCSSL.PNG.1a72788be339f41749dd2d1bc4925c15.PNGnpmNC.PNG.4121c932ad0163591f112f84a937c9de.PNG

NginxProxyManager Collabora

npmCollaboraSSL.PNG.654f0ed90e18f46f398a554ca01cd9e4.PNGnpmCollaboraDetail.PNG.81bf9264b2cf55976165cac8b1a5204c.PNG


Nextcloud Collabora App ("Collabora Online")

collaboraNCSettings.thumb.PNG.c5725af03d0a218741620a05612fdcab.PNG

 

Hope this helps you. If you have any questions please ask. 

prometheus.localdomain == 10.10.10.254 (my servers ip, just an alternative way to write it inside my lan) 

Link to post
1 hour ago, skois said:

Ok here you go.

Nextcloud config.php


<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '10.10.10.254',
    'port' => 6379,
  ),
  'datadirectory' => '/data',
  'instanceid' => 'randomid',
  'passwordsalt' => 'randomsalt',
  'secret' => 'randomsecret',
  'trusted_domains' => 
  array (
    0 => '10.10.10.254:9443',
    1 => 'cloud.domain.me',
  ),
  'trusted_proxies' => 
  array (
    0 => 'NginxProxyManager',
  ),
  'overwrite.cli.url' => 'https://10.10.10.254:9443',
  'overwriteprotocol' => 'https',
  'overwritehost' => 'cloud.domain.me',
  'dbtype' => 'pgsql',
  'version' => '20.0.5.2',
  'dbname' => 'nextcloud',
  'dbhost' => '10.10.10.254:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'dbuser',
  'dbpassword' => 'dbpassword',
  'installed' => true,
  'updater.release.channel' => 'stable',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'spreed',
    1 => 'documentserver_community',
    2 => 'sharerenamer',
  ),
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'data-fingerprint' => 'randomfingerprint',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_sendmailmode' => 'pipe',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'domain.me',
  'mail_smtphost' => 'smtp.provider.eu',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'cloud@domain.me',
  'mail_smtppassword' => 'randompassword',
  'trashbin_retention_obligation' => '60,auto',
  'versions_retention_obligation' => '60,auto',
  'enable_previews' => true,
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
);

Docker Templates

nextcloudDocker.thumb.PNG.e17cc600f0a79a0fb8a8a2828c4f467d.PNG

I use collabora for 2 domains, remove after the "|". Also note the "\" before every ".". You need them.

collaboraDocker.thumb.PNG.738d7f237ade12e01f5cdae7966c1423.PNG

 

NginxProxyManager Nextcloud

npmNCSSL.PNG.1a72788be339f41749dd2d1bc4925c15.PNGnpmNC.PNG.4121c932ad0163591f112f84a937c9de.PNG

NginxProxyManager Collabora

npmCollaboraSSL.PNG.654f0ed90e18f46f398a554ca01cd9e4.PNGnpmCollaboraDetail.PNG.81bf9264b2cf55976165cac8b1a5204c.PNG


Nextcloud Collabora App ("Collabora Online")

collaboraNCSettings.thumb.PNG.c5725af03d0a218741620a05612fdcab.PNG

 

Hope this helps you. If you have any questions please ask. 

prometheus.localdomain == 10.10.10.254 (my servers ip, just an alternative way to write it inside my lan) 

 

 

Thank you so much for these!

I'm exhausted for today, but I quickly tried to change the nginxproxymanager settings similar to yours, went back and forth between OnlyOffice and Collabora, tried with certificates and disabling them, with cnames and with direct IP's, and nothing changed unfortunately.

 

I also tried with Bridge network mode, and with the custom network.

At this point, I'd be happy with either Collabora or OnlyOffice honestly, hah!

 

Is there any chance something weird might've happened when I got the new modem in to the office? It's basically the same one as we had previously, but just the better and newer model of it. After the new modem, the error changed from "cURL error 7: Failed to connect to xxx.xxx.xx port 8443: Connection refused " to the one it's now, "Error when trying to connect (Bad healthcheck status)"

 

Again, I do appreciate all the help!

If there's anything else you can think of, let me know! I'll try to go through all of the settings you have here in more detail tomorrow, and see if there's anything I missed.

Link to post

Nextcloud is a fantastic cloud storage with lots of options (I also use it to sync my agenda & contacts with my phone) but the office integration is too bad IMO. I spent hours trying to setup the integration of Collabora or OnlyOffice with my Nextcloud docker. I even got OnlyOffice working for a moment but then I updated a docker or changed something somewhere and it was over. I have not been able to make this integration work anymore.

 

Instead of hitting my head against a wall I installed the CryptPad docker. OnlyOffice is integrated natively and you can easily import an existing document and export it when modified without creating an account. If you create an account you can benefit form its encrypted file storage but it is limited to compatible files only (you cannot use it to store something else than "pads").

 

In the end I could not find an ideal solution but I am quiet happy with that setup: nextcloud as a cloud service and CryptPad as a document editor.

Link to post
15 hours ago, whitedwarf said:

Nextcloud is a fantastic cloud storage with lots of options (I also use it to sync my agenda & contacts with my phone) but the office integration is too bad IMO. I spent hours trying to setup the integration of Collabora or OnlyOffice with my Nextcloud docker. I even got OnlyOffice working for a moment but then I updated a docker or changed something somewhere and it was over. I have not been able to make this integration work anymore.

 

Instead of hitting my head against a wall I installed the CryptPad docker. OnlyOffice is integrated natively and you can easily import an existing document and export it when modified without creating an account. If you create an account you can benefit form its encrypted file storage but it is limited to compatible files only (you cannot use it to store something else than "pads").

 

In the end I could not find an ideal solution but I am quiet happy with that setup: nextcloud as a cloud service and CryptPad as a document editor.

 

I'd be fine using Google Docs myself if it was for personal use. But I'm setting up our server for our company use, and my dream is to try to have everything in one place, a "hub" area, if you will.

 

That's why I still keep banging my head against the wall, hah!

 

@skois, I think I've gotten a bit further with this whole thing.

I added

'allow_local_remote_servers' => true,

into the config.php (of Nextcloud), and with that, I was able to get a bit different results while trying to connect with OnlyOffice.

 

With documentserver.mydomain.com the error was same. But when I tried to connect directly with the local IP and port, the error changed to:

Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 5.4.2.46)

 

Googling this a little bit, I stumbled upon wget command, for checking if the two dockers would be able to communicate with each other at all.

 

First of all, I tried wget google.com, which worked on both applications.

 

After that, I tried to wget <other docker domain>, and got

failed: Connection refused.

 

After which, I tried wget <local ip address of the other docker>, and with that, I got:

ERROR: cannot verify <NextCloud IP>'s certificate, issued by ‘CN=*,OU=LSIO Server,O=Linuxserver.io,L=Carlsbad,ST=CA,C=US’:
  Self-signed certificate encountered.
    ERROR: certificate common name ‘*’ doesn't match requested host name ‘<NextCloud IP>’.
To connect to <NextCloud IP> insecurely, use `--no-check-certificate'.

 

 

I was hoping to manage the whole self-signed certification thing later, but maybe that'd be my next step then..

 

Also, all of this to me is just enforcing my hunch that not being able to access nextcloud.mydomain.com within the same network doesn't work.

 

If I were to solve that, I have a feeling I might be able to get forward.

 

If I may ask, what provider do you use for your domain? Would it be possible that my domain host just doesn't support some feature that was required to make this work?

Link to post
2 hours ago, REllU said:

 

I'd be fine using Google Docs myself if it was for personal use. But I'm setting up our server for our company use, and my dream is to try to have everything in one place, a "hub" area, if you will.

 

That's why I still keep banging my head against the wall, hah!

 

@skois, I think I've gotten a bit further with this whole thing.

I added


'allow_local_remote_servers' => true,

into the config.php (of Nextcloud), and with that, I was able to get a bit different results while trying to connect with OnlyOffice.

 

With documentserver.mydomain.com the error was same. But when I tried to connect directly with the local IP and port, the error changed to:


Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 5.4.2.46)

 

Googling this a little bit, I stumbled upon wget command, for checking if the two dockers would be able to communicate with each other at all.

 

First of all, I tried wget google.com, which worked on both applications.

 

After that, I tried to wget <other docker domain>, and got


failed: Connection refused.

 

After which, I tried wget <local ip address of the other docker>, and with that, I got:


ERROR: cannot verify <NextCloud IP>'s certificate, issued by ‘CN=*,OU=LSIO Server,O=Linuxserver.io,L=Carlsbad,ST=CA,C=US’:
  Self-signed certificate encountered.
    ERROR: certificate common name ‘*’ doesn't match requested host name ‘<NextCloud IP>’.
To connect to <NextCloud IP> insecurely, use `--no-check-certificate'.

 

 

I was hoping to manage the whole self-signed certification thing later, but maybe that'd be my next step then..

 

Also, all of this to me is just enforcing my hunch that not being able to access nextcloud.mydomain.com within the same network doesn't work.

 

If I were to solve that, I have a feeling I might be able to get forward.

 

If I may ask, what provider do you use for your domain? Would it be possible that my domain host just doesn't support some feature that was required to make this work?

I was using namecheap (which worked fine, but moved to cloudflare for the dns challenge on the cert)

Does each of your cnames have its own certificate? I have completely missed that you couldn't access nextcloud.domain.com internally. 
From your local lan what does your "tracert cloud.domain.com" shows ? or "traceroute cloud.domain.com" for linux

Link to post
On 1/16/2021 at 6:31 PM, Ntouchable said:

Currently updating from version 18 via the dockerterminal to version 20.

 

Whilst hopping from 19.0.7 to 20.0.5 the updater gets stuck at the following point:



2021-01-16T14:33:34+00:00 Checked for update of app "calendar" in appstore 
2021-01-16T14:33:34+00:00 Repair step: Update name of the stored view
2021-01-16T14:33:34+00:00 Checking for update of app files_accesscontrol in appstore
2021-01-16T14:33:34+00:00 Update app files_accesscontrol from appstore
2021-01-16T14:33:36+00:00 Checked for update of app "files_accesscontrol" in appstore 
2021-01-16T14:33:40+00:00 Repair step: Repair MySQL collation
2021-01-16T14:33:40+00:00 Repair info: All tables already have the correct collation -> nothing to do
2021-01-16T14:33:40+00:00 Repair step: Repair mime types
2021-01-16T14:46:21+00:00 Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE `oc_filecache` SET `mimetype` = ? WHERE (`mimetype` <> ?) AND (`mimetype` <> ?) AND (`name`  COLLATE utf8mb4_general_ci LIKE ?)' with params [19, 19, 2, "%.ott"]:

SQLSTATE[HY000]: General error: 1206 The total number of locks exceeds the lock table size
2021-01-16T14:46:21+00:00 Update failed
2021-01-16T14:46:21+00:00 Maintenance mode is kept active
2021-01-16T14:46:21+00:00 Resetting log level

 

This appears to be a database issue relating to MariaDB.

 

Any ideas of how to fix this would be much appreciated.

 

Managed to fix this my editing my MariaDB "custom.cnf" file.

 

I changed the buffer size from 256M to 2048M.

Quote

innodb_buffer_pool_size    = 2048M

 

I then left my server overnight and it managed to complete the upgrade by the morning.

 

I also managed to run "occ files:cleanup" once the upgrade was complete. However "oc_filecache.ibd" is still 45.6GB!

 

Is this normal due to the external storage devices?

Edited by Ntouchable
Clarity
Link to post
21 hours ago, skois said:

I was using namecheap (which worked fine, but moved to cloudflare for the dns challenge on the cert)

Does each of your cnames have its own certificate? I have completely missed that you couldn't access nextcloud.domain.com internally. 
From your local lan what does your "tracert cloud.domain.com" shows ? or "traceroute cloud.domain.com" for linux

 

Sorry for the slow response!

 

I'm able to create certificates for my domains and cnames through cPanel, but I didn't think these were used, as you can do certificates with letsencrypt?

If this was the root cause, it would make some sense though. After creating the certificates on cPanel, would I need to download them somehow, and add them to NextCloud and OpenOffice? I'm not entirely sure how that's done.

 

tracert documentserver.mydomain.com spits out:

 

C:\WINDOWS\System32>tracert documentserver.mydomain.com

Tracing route to nextcloud.mydomain.com [public IP]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  mobile-user-c1d052-180.dhcp.inet.fi [public IP]

Trace complete.

 

Link to post
 
Sorry for the slow response!
 
I'm able to create certificates for my domains and cnames through cPanel, but I didn't think these were used, as you can do certificates with letsencrypt?
If this was the root cause, it would make some sense though. After creating the certificates on cPanel, would I need to download them somehow, and add them to NextCloud and OpenOffice? I'm not entirely sure how that's done.
 
tracert documentserver.mydomain.com spits out:
 
C:\WINDOWS\System32>tracert documentserver.mydomain.comTracing route to nextcloud.mydomain.com [public IP]over a maximum of 30 hops: 1    Trace complete.

 

The certs need to be installed in each docker (don't know how, as I don't have done it before) I only do it with let's encrypt.

The certs must be the problem here!
Either look how to install your certs or from let's encrypt.
You might find some info here how to install the certs

Not unraid related but he installed certs on dockers

Sent from my Mi 10 Pro using Tapatalk

Link to post
13 minutes ago, skois said:

The certs need to be installed in each docker (don't know how, as I don't have done it before) I only do it with let's encrypt.

The certs must be the problem here!
Either look how to install your certs or from let's encrypt.
You might find some info here how to install the certs


Not unraid related but he installed certs on dockers

Sent from my Mi 10 Pro using Tapatalk
 

 

I'll look into this more, and try out using the certificates from cPanel!

Just to clarify though, I do have certificates from letsencrypt, and they seem to be working outside of the network just fine, as I'm able to get a secure connect to both, OnlyOffice server as well as NextCloud outside of the network.

 

I'll report back once I've tested cPanel certificates!

Link to post

Well I broke my NC docker.  Now getting the 

This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.14.

I tried the manual upgrade process via the terminal but it just does this:

 

Linux 4.19.107-Unraid.
Last login: Fri Jan 22 20:06:47 -0600 2021 on /dev/pts/0.
root@unRaidServer:~# docker exec -it nextcloud bash
root@5b88b245dc63:/# sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --on
This version of Nextcmv /config/www/nextcloud /config/www/nextcloud-backuprrently running 7.4.14.root@5b88b245dc63:/# mv /config/www/nextcloud /config/www/nextcloud-backup
root@5b88b245dc63:/# 

Any quick fixes or did I really jack this one up?

Link to post
Well I broke my NC docker.  Now getting the 
This version of Nextcloud is not compatible with > PHP 7.3.You are currently running 7.4.14.

I tried the manual upgrade process via the terminal but it just does this:
 

Linux 4.19.107-Unraid.Last login: Fri Jan 22 20:06:47 -0600 2021 on /dev/pts/0.root@unRaidServer:~# docker exec -it nextcloud bashroot@5b88b245dc63:/# sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --onThis version of Nextcmv /config/www/nextcloud /config/www/nextcloud-backuprrently running 7.4.14.root@5b88b245dc63:/# mv /config/www/nextcloud /config/www/nextcloud-backuproot@5b88b245dc63:/# 

Any quick fixes or did I really jack this one up?

Have you updated the docker? The newer docker have php 7.4

Sent from my Mi 10 Pro using Tapatalk

Link to post
10 hours ago, ps2sunvalley said:

Well I broke my NC docker.  Now getting the 


This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.14.

I tried the manual upgrade process via the terminal but it just does this:

 


Linux 4.19.107-Unraid.
Last login: Fri Jan 22 20:06:47 -0600 2021 on /dev/pts/0.
root@unRaidServer:~# docker exec -it nextcloud bash
root@5b88b245dc63:/# sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --on
This version of Nextcmv /config/www/nextcloud /config/www/nextcloud-backuprrently running 7.4.14.root@5b88b245dc63:/# mv /config/www/nextcloud /config/www/nextcloud-backup
root@5b88b245dc63:/# 

Any quick fixes or did I really jack this one up?

Iv got the same problem, tried the manual updated from here - https://forums.unraid.net/topic/48383-support-linuxserverio-nextcloud/ but unable to update through multiple versions. Tried going from 17 to 18 following this but same issue

Link to post

I'm having hard time setting up PreviewGenerator. I'm following this great guide, and when i try to run 

occ config:app:set previewgenerator widthSizes  --value="256 384"

i'm getting 

Too many arguments to "config:app:set" command, expected arguments "app" "name".                                                                                     
config:app:set [--output [OUTPUT]] [--value VALUE] [--update-only] [--] <app> <name>

I have found issue on github, that says to run the command as an abc user. But then i get that abc user is not it the sudoers file.

I also opened an issue on github but didn't have any activity from someone who knows. I can't find out if this is a problem of the Preview Generator or of the LSIO docker.

Any ideas?

Link to post

Hey Everyone!

 

I ask some help with getting this thing working via http. I did a -p8080:80 extra parameter, but It always redirects to https.

When i want to map the nextcloud data dir with webdav, I get asked for certs and i want to avoid that.

Edited by KrisMin
Link to post

I am trying to set up the email server in nextcloud, but I get the following error:

 

 

A problem occurred while sending the email. Please revise your settings. (Error: Expected response code 250 but got code "501", with message "501 Syntactically invalid HELO argument(s) ")

 

I have doubled checked that the email server settings are correct and work (I also use them with another docker and it works)

 

Any suggestions?

Link to post
10 hours ago, KrisMin said:

I ask some help with getting this thing working via http. I did a -p8080:80 extra parameter, but It always redirects to https.

When i want to map the nextcloud data dir with webdav, I get asked for certs and i want to avoid that.

The issue was with windows explorer, which does not accept a self signed certificate. I got it working with FileZilla.
However, it looks like webdav is considerably slower in moving files than a mapped external drive copy inside the nextcloud. The latter has other issues, like not being able to copy several files or directories at once and gives an error if multiple directories are put to copy/move. So I stick to webdav and FileZilla combo, which seems to be working without any issues. Just takes a bit more time, which is fine by me. Besides, FileZilla has useful built in rules in case a version of a same file already exists in destination - like "overwrite if a version is newer".

Edited by KrisMin
Link to post

I keep getting this page after configuring swag and next cloud for web access. I have followed spaceinvader video and linuxserver documentation bit cant figure out what i am doing wrong. Any help will be appreciated Thanks20210125_000045.thumb.jpg.dd6dc7d3ad3386aff6f3cd91c071a8aa.jpg

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.