[Support] Linuxserver.io - Nextcloud


Recommended Posts

I noticed the following under the Admin page of my nextclod:

 

Security & setup warnings

It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Ticks section and the documentation for more information.

  • The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:
    opcache.enable=1
    opcache.enable_cli=1
    opcache.interned_strings_buffer=8
    opcache.max_accelerated_files=10000
    opcache.memory_consumption=128
    opcache.save_comments=1
    opcache.revalidate_freq=1

 

How do I implement this? I can't seem to locate this php.ini file.

 

Thank you,

 

Lev

Link to comment
12 hours ago, digiblur said:

 


I had issues with sharing over 1 gig files from shared links.

 

 

But that is sharing not uploading. 

I had no problem uploading and sharing a 3GB file. I followed our guide on linuxserver.io to set it up. Only thing I had to change was the client_max_body_size in letsencrypt_appdata/nginx/proxy.conf

Link to comment
 
But that is sharing not uploading. 
I had no problem uploading and sharing a 3GB file. I followed our guide on linuxserver.io to set it up. Only thing I had to change was the client_max_body_size in letsencrypt_appdata/nginx/proxy.conf


I also had the same issue with uploading. I had to use the client app to get around it but then since the sharing wouldn't work it was all for not.
Link to comment

After several issues with Nextcloud I have decided to try reinstalling it.

I'm hovever having no luck as i get the following error after entering the password when creating the databse.


Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

 

Any ideas?

 

 

Link to comment
1 hour ago, mrvilla said:

After several issues with Nextcloud I have decided to try reinstalling it.

I'm hovever having no luck as i get the following error after entering the password when creating the databse.


Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

 

Any ideas?

 

 

Logs from Mariadb/MySQL?

Link to comment

The logs from the docker container.... like this

 


-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30_config: executing...
[cont-init.d] 30_config: exited 0.
[cont-init.d] 40-initialise-db: executing...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
171118 08:22:53 mysqld_safe Logging to syslog.
171118 08:22:53 mysqld_safe Starting mysqld daemon with databases from /config/databases

 

Link to comment
1 hour ago, CHBMB said:

The logs from the docker container.... like this

 



-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30_config: executing...
[cont-init.d] 30_config: exited 0.
[cont-init.d] 40-initialise-db: executing...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
171118 08:22:53 mysqld_safe Logging to syslog.
171118 08:22:53 mysqld_safe Starting mysqld daemon with databases from /config/databases

 

 

I do not get that. It just shows the same thing over and over again:

ErrorWarningSystemArrayLogin


171118 14:02:07 mysqld_safe Logging to syslog.
171118 14:09:59 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:10:02 mysqld_safe Logging to syslog.
171118 14:10:02 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:10:06 mysqld_safe Logging to syslog.
171118 14:11:17 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:11:21 mysqld_safe Logging to syslog.
171118 14:11:21 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:11:24 mysqld_safe Logging to syslog.
171118 14:11:24 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:11:27 mysqld_safe Logging to syslog.
171118 14:11:28 mysqld_safe Starting mysqld daemon with databases

 

 

EDIT:

Manage to get the first lines:

ErrorWarningSystemArrayLogin


[cont-init.d] 40-initialise-db: executing...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
171118 14:16:31 mysqld_safe Logging to syslog.
171118 14:16:31 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:16:34 mysqld_safe Logging to syslog.
171118 14:16:34 mysqld_safe Starting mysqld daemon with databases from /config/databases
Lines cutted to make it readable
171118 14:20:07 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:20:10 mysqld_safe Logging to syslog.
171118 14:20:10 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:20:13 mysqld_safe Logging to syslog.
171118 14:20:13 mysqld_safe Starting mysqld daemon with databases from /config/databases
Caught SIGTERM signal!
cat: /var/run/mysqld/mysqld.pid: No such file or directory
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30_config: executing...
[cont-init.d] 30_config: exited 0.
[cont-init.d] 40-initialise-db: executing...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
171118 14:22:48 mysqld_safe Logging to syslog.
171118 14:22:48 mysqld_safe Starting mysqld daemon with databases from /config/databases
171118 14:22:52 mysqld_safe Logging to syslog.
171118 14:22:52 mysqld_safe Starting mysqld daemon with databases from /config/databases
Lines cutted to make it readable 

Edited by mrvilla
Link to comment
2 hours ago, CHBMB said:

When you say delete, are you removing the mariadb appdata folder as well?

 

LOL....no certainly did not:)

 

I have now cleaned out everything. Went through all drives, users and cache to be sure.

The log now seems "fine". It does not continuesly log every second anymore.

 

But I do get an errormessage as follows when entering the following command


root@MainStation:/mnt/cache/appdata/mariadb# docker exec -it mariadb-nextcloud bash
root@cb7d95b5f1a9:/# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@cb7d95b5f1a9:/#

 

Link to comment
 
LOL....no certainly did not:)
 
I have now cleaned out everything. Went through all drives, users and cache to be sure.
The log now seems "fine". It does not continuesly log every second anymore.
 
But I do get an errormessage as follows when entering the following command

root@MainStation:/mnt/cache/appdata/mariadb# docker exec -it mariadb-nextcloud bash
root@cb7d95b5f1a9:/# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@cb7d95b5f1a9:/#
 
You sure the password is right? The password is set the first time the container is run, even if you change the parameter after that, the password won't be changed.

Sent from my LG-H815 using Tapatalk

Link to comment

@CHBMB

 

At last I got it to work. Started totally on scratch after removing both MariaDB and NC.

Went through everything and when I pressed the WebUI on NC Docker windows the page was loading without anything happening.

 

I then thought I should try Chrome instead. Sure enough. After1 min everything was up and running!:)

I have no other solution than it was the new Firefox that tried to prevent something.

 

ANyway. In my eager to get it working I set the wrong data folder in NC. I have tried to change it back to where it should be but it doesn't like that. It wont accept when i change the Data folder.

Any ideas?

Link to comment

I've been trying do get this working for some time now without any luck.  I have followed the tutorial froma scratch a few times.  I'm sure I am doing something wrong but I can't figure out what for the life of me.  MariaDB, Letsencrypt and Nextcloud containers are up and running but clicking on wbeui button for the Nextcloud container just yields a screen that says "404 Not Found nginx/1.12.2".  Doing the same for the letsencrypt container just yields the generic Chrome window saying "this site can't be reached".

 

 

Link to comment

Hi, after the latest update nextcloud has stopped working, I've checked the logs  and this is what is showing:

 

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing...
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[owncloud][cli][1] Memcache \OC\Memcache\APCu not available for local cache
[owncloud][cli][1] Memcache \OC\Memcache\APCu not available for distributed cache
[owncloud][cron][0] Run OCA\Files_Versions\BackgroundJob\ExpireVersions job with ID 11
[owncloud][cron][0] Finished OCA\Files_Versions\BackgroundJob\ExpireVersions job with ID 11 in 0 seconds
[owncloud][cron][0] Run OCA\Files\BackgroundJob\ScanFiles job with ID 12
[owncloud][cron][0] Finished OCA\Files\BackgroundJob\ScanFiles job with ID 12 in 0 seconds
[owncloud][cron][0] Run OCA\Files_Sharing\DeleteOrphanedSharesJob job with ID 8
[owncloud][DeleteOrphanedSharesJob][0] 0 orphaned share(s) deleted
[owncloud][cron][0] Finished OCA\Files_Sharing\DeleteOrphanedSharesJob job with ID 8 in 0 seconds
[owncloud][cron][0] Run OCA\Files\BackgroundJob\CleanupFileLocks job with ID 14
[owncloud][cron][0] Finished OCA\Files\BackgroundJob\CleanupFileLocks job with ID 14 in 0 seconds
[owncloud][cron][0] Run OC\Authentication\Token\DefaultTokenCleanupJob job with ID 15
[owncloud][cron][0] Invalidating session tokens older than 2017-11-23T23:30:02+00:00
[owncloud][cron][0] Invalidating remembered session tokens older than 2017-11-09T23:30:02+00:00
[owncloud][cron][0] Finished OC\Authentication\Token\DefaultTokenCleanupJob job with ID 15 in 0 seconds
[owncloud][cron][0] Run OCA\Deck\Cron\DeleteCron job with ID 26
[owncloud][cron][0] Finished OCA\Deck\Cron\DeleteCron job with ID 26 in 0 seconds
[owncloud][cron][0] Run OCA\Files_Trashbin\BackgroundJob\ExpireTrash job with ID 3
[owncloud][cron][0] Finished OCA\Files_Trashbin\BackgroundJob\ExpireTrash job with ID 3 in 0 seconds
[owncloud][cron][0] Run OCA\UpdateNotification\ResetTokenBackgroundJob job with ID 27
[owncloud][cron][0] Finished OCA\UpdateNotification\ResetTokenBackgroundJob job with ID 27 in 0 seconds

any idea?

I didn't touche the php config or anithing

Link to comment

I have been looking for a cloud solution that lets me add a path that already exists in UNRAID so I can share it with other users.

For example; being able to add /mnt/user/shares/music to an existing nextcloud user so they can see that folder in read only. Is that possible with nextcloud?

I don't want to use FTP servers anymore.

Edited by mikeyosm
Link to comment

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.