Nextcloud: Difference between revisions

From DWIKI
(Created page with "= Links = *[https://nextcloud.com/ Homepage] = Installing = *[https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html Installing Nextcloud]...")
 
mNo edit summary
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Links =
= Links =
*[https://nextcloud.com/ Homepage]


*[https://nextcloud.com/ Homepage]
*[https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html OCC commands]


 


= Installing =
= Installing =
*[https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html Installing Nextcloud]
 
*[https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html Installing Nextcloud]  
 
== Installing on Ubuntu ==
== Installing on Ubuntu ==
===Requirements===
 
=== Requirements ===
     
 
 
 
=HOWTO=
==Use Elasticsearch==
Install electricsearch and check:
curl -XGET 'localhost:9200/?pretty'
 
Install the apps:
Search->Full text search
Search->Full text search - Elasticsearch Platform
 
Configure search:
Settings->Full text search
  Search platform: "Elasticsearch"
  Address of the Servlet http://localhost:9200
 
'Navigation icon' ???
 
= FAQ =
 
Run occ as apache
sudo -u www-data php occ whatevercommand
 
==Upgrading==
Web upgrader is under "Overview", not "Version"
 
===Check for expected files, The following extra files have been found:===
Probably files in install root dir
 
===Stops at X Create backup===
Check data/updater.log
 
 
==apache error log: Client denied by server configuration: .ocdata==
That's from the Overview test cycle, so in fact a good sign
 
==Authentication==
===nextcloud and yubikey===
Works using the U2F app
 
== Location of the logfile ==
Could be:
/var/www/nextcloud/data/nextcloud.log
 
==Nextcloud in snap==
===Location of data===
/var/snap/nextcloud/common/nextcloud/data/
 
<your installation>/data/nextcloud.log
 
== File encoding for /<user>/files/foo.txt is not UTF-8. This may cause problems. ==
 
file contains non-UTF-8 characters
 
&nbsp;
 
== The files you are trying to upload exceed the maximum size for file uploads on this server.==
???
== Can't find ldap user ==
 
Even though admin interface "verify user" works:
 
php occ ldap:check-user foo
 
== Cannot check user existence, because disabled LDAP configurations are present. ==
 
Admin interface, under LDAP / AD integration ->Advanced "Configuration active"
 
  php occ ldap:check-user foo --force
 
&nbsp;
 
== Access forbidden CSRF check failed ==
 
another mystery
 
&nbsp;
 
==Import data==
occ files:scan <userid>
 
or in snap:
(sudo) nextcloud.occ files:scan <userid>
 
 
===Uknown user 1===
It needs the user ID, not name
 
== Mail ==
 
[https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html]
 
=== Request failed with status code 500 ===
 
=== Unexpected error during account creation ===
 
Try enabling mail_smtpdebug
 
==MP4 not playing==
Could be HCEV/H.265 which is not supported by browsers because of patents.
Try converting with ffmpeg.
 
===Update needed===
And occ upgrade failing, try setting version in config.php to version reported by occ --version
 
 
==The PHP OPcache module is not loaded==
try uncommenting
opcache.memory_consumption
and remember to restart php-fpm as well as apache
 
==nextcloudcmd==

Revision as of 14:17, 30 October 2022

Links

 

Installing

Installing on Ubuntu

Requirements

HOWTO

Use Elasticsearch

Install electricsearch and check:

curl -XGET 'localhost:9200/?pretty'

Install the apps:

Search->Full text search
Search->Full text search - Elasticsearch Platform 

Configure search:

Settings->Full text search
 Search platform: "Elasticsearch"
 Address of the Servlet http://localhost:9200

'Navigation icon' ???

FAQ

Run occ as apache

sudo -u www-data php occ whatevercommand

Upgrading

Web upgrader is under "Overview", not "Version"

Check for expected files, The following extra files have been found:

Probably files in install root dir

Stops at X Create backup

Check data/updater.log


apache error log: Client denied by server configuration: .ocdata

That's from the Overview test cycle, so in fact a good sign


Authentication

nextcloud and yubikey

Works using the U2F app

Location of the logfile

Could be:

/var/www/nextcloud/data/nextcloud.log

Nextcloud in snap

Location of data

/var/snap/nextcloud/common/nextcloud/data/

<your installation>/data/nextcloud.log

File encoding for /<user>/files/foo.txt is not UTF-8. This may cause problems.

file contains non-UTF-8 characters

 

The files you are trying to upload exceed the maximum size for file uploads on this server.

???

Can't find ldap user

Even though admin interface "verify user" works:

php occ ldap:check-user foo

Cannot check user existence, because disabled LDAP configurations are present.

Admin interface, under LDAP / AD integration ->Advanced "Configuration active"

 php occ ldap:check-user foo --force

 

Access forbidden CSRF check failed

another mystery

 

Import data

occ files:scan <userid>

or in snap:

(sudo) nextcloud.occ files:scan <userid>


Uknown user 1

It needs the user ID, not name

Mail

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html

Request failed with status code 500

Unexpected error during account creation

Try enabling mail_smtpdebug

MP4 not playing

Could be HCEV/H.265 which is not supported by browsers because of patents. Try converting with ffmpeg.

Update needed

And occ upgrade failing, try setting version in config.php to version reported by occ --version


The PHP OPcache module is not loaded

try uncommenting

opcache.memory_consumption

and remember to restart php-fpm as well as apache

nextcloudcmd