[Support] Linuxserver.io - Nextcloud


Recommended Posts

After a recent upgrade, I'm stuck in maintenance mode.

 

Google pointed me towards a number of commands - tried them through the docker console, but it doesn't seem to work. 

 

Most seem to point to this command:

sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

 

 

Link to comment
54 minutes ago, yyc321 said:

After a recent upgrade, I'm stuck in maintenance mode.

 

Google pointed me towards a number of commands - tried them through the docker console, but it doesn't seem to work. 

 

Most seem to point to this command:


sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

 

 

Try: 

 

sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off

 

EDIT - path was incorrect before, fixed it.

 

You can also change the maintenance value variable in config.php located at /appdata/nextcloud/www/nextcloud/config/ and reboot the docker.

Edited by 3doubled
  • Like 3
Link to comment
Something like this should work...

1. Open console to the mariadb container.
 
2. Type mysql followed by enter.
If this gives you problems, try mysql --user=root
You should see some information and help. Cursor should be at "MariaDB [(none)]>  "

3. Paste the sql query: 
ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; 
and press enter. Be sure to include the ; at the end.
You should see something like "Query OK, 1 row affected".
If you have named your database differently from standard install, change the "nextcloud" bit in the command to fit your config.
 
4. Type quit followed by enter.
 
You can now close the console window.
 
Run the other 2 commands in the console for the Nextcloud container. 
 
I think this should work. I started to use this container not that long ago so I don't need to do anything. It was done for me automatically when deploying this awesome container.

I’ve tried this a few times and still can’t get the error to go away in Nextcloud. I don’t know what I’m missing


Sent from my iPhone using Tapatalk Pro
Link to comment

I'm tryin to add an SMTP account and I keep getting an error I'm not sure what to do with:

 

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)
 " Log data: ++ Starting Swift_SmtpTransport << 220 xxx.mail01.xxxxx.net ESMTP Exim 4.90_1 Mon, 22 Apr 2019 16:51:28 -0400
 >> EHLO _

 

I've verified the server and login information are correct.  I can't seem to find anything about this specific error.

Link to comment

Trying to setup Nextcloud - unraid 6.6.7.  I have MariaDB running and configured (via SpaceInvaderOne's vid), no errors in that log, but when I fire up NC I get this:

 

Quote

[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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chmod: cannot access '/config/www/nextcloud/occ': No such file or directory
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
cp: cannot create regular file '/config/www/nextcloud/config/config.php': No such file or directory
chown: cannot access '/config/www/nextcloud/config/config.php': No such file or directory
[cont-init.d] 60-memcache: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

I have removed the container, restarted server and tried it again.. still the same thing.  I have App data set to Public.. and the share for nextcloud set to public as well.. any ideas?

 

  • Like 1
Link to comment

Same issue as well, i cannot get nextcloud to install correctly. Im am running Unraid 6.7.0-rc7

 

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


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[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...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
tar: /tmp/nextcloud.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

chmod: cannot access '/config/www/nextcloud/occ': No such file or directory
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
cp: cannot create regular file '/config/www/nextcloud/config/config.php': No such file or directory
chown: cannot access '/config/www/nextcloud/config/config.php': No such file or directory
[cont-init.d] 60-memcache: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

 

  • Like 1
Link to comment
Quote
46 minutes ago, presence06 said:

I have removed the container, restarted server and tried it again.. still the same thing.  I have App data set to Public.. and the share for nextcloud set to public as well.. any ideas?

Your sentence regarding the security got me thinking. After setting the security to public for the nextcloud data share it actually worked for me!

 

  • Upvote 1
Link to comment

Strange issue started today. I can't log in to Nextcloud using Chrome or Firefox but if I try it in Edge then it will work fine?

 

I have tried incognito and private tabs, cleared cookies and cache, even tried other systems, idk.....

 

EDIT, Nevermind, it was a caching issue with Cloudflair, dumped the cache and now things are working.

Edited by AnnabellaRenee87
Link to comment

Having a new issue with the latest 15.x release.

I'm running MariaDB container as well for my nextcloud database.

 

MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.

https://docs.nextcloud.com/server/15/go.php?to=admin-mysql-utf8mb4

 

I do however find that documentation page lacking as I'm not super well versed in SQL/MariaDB.

 

Is there any guidance available for exactly what I need to do in order to run these commands to fix this issue? 

Thank you in advance! 

Link to comment
1 minute ago, CorneliousJD said:

Having a new issue with the latest 15.x release.

I'm running MariaDB container as well for my nextcloud database.

 

MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.

https://docs.nextcloud.com/server/15/go.php?to=admin-mysql-utf8mb4

 

I do however find that documentation page lacking as I'm not super well versed in SQL/MariaDB.

 

Is there any guidance available for exactly what I need to do in order to run these commands to fix this issue? 

Thank you in advance! 

 

  • Upvote 1
Link to comment

I am tying to get nextcloud setup and ran into the problem that after I followed spaceinvaderone’s videos on how to setup nextcloud and then a reverse proxy that I am not able to log into nextcloud. I am using cloudflare for my dns verification. I am guessing it is something simple but still new to this so have no idea where to start looking or what to try.

Link to comment

Wondering if anyone can help me.

 

Trying to get onlyoffice to run with nextcloud, but I'm getting a cURL error 6 with the subdomain I am using (via NginxProxy Manager docker and my own subdomain) for onlyoffice.

 

Decided to log into the docker and wget the subdomain for onlyoffice.

This throws an error 'bad address domain.mydomain.com'.

I have no problem with connecting to other websites.  

 

Is there anyway to fix this?

Link to comment

Ok, appears I've come full circle on this issue.

It looks like with nextcloud container you cannot ping (in my case wget) any other bridged dockers on unraid when in bridge mode.

So trying to ping any of the dockers served via NginxProxy Manager using the console throws the bad address error.

 

Sucks.

Link to comment

I recently installed nextcloud with mariadb , collabora and letsencrypt/nginx docker. Was working fine for a week. Still working on my phone through the IOS app. But When I try to access it from a browser (firefox,chrome,edge,opera, safari) I cant see any files or folders. Just a white screen where everything is supposed to be. The tabs are still there and clicking into them does nothing. Clicking on apps or files does nothing at all.

 

Everything was working flawlessly until I messed about and installed a few add ons. I added the music player and folder player, I was using it on my phone through the browser locked my screen for a minute and when I opened it it was white(was using safari on IOS).  I read some instructions a couple pages ago about downgrading to 140 and then manually upgrading. What do you mean by manually upgrade? Through the command line? or through the UI? I cant see anything in the UI except when I click on the Music player tab it loads up all the songs i uploaded. And clicking on settings gives me an internal server error. I can seem to find any errors in the logs. 

 

Any help is appreciated.

Link to comment

I have updated to V16 and now I'm getting this error

 

image.thumb.png.5182d1030c88e7f67086d9328b1e7b28.png

 

This is the list of invalid files, that I don't know where they are

 

Technical information

=====================

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

=======

- files_rightclick

        - EXTRA_FILE

                 - README.md

Raw output

==========

Array

(

    [files_rightclick] => Array

       (

          [EXTRA_FILE] => Array

            (

                [README.md] => Array 

                     (

                           [expected] =>

                              [current] => cf73849388838de5037624e53303618579b164ec69fd55834ce4c5332ae33f778839e36298cbcc8ede90620927e076dbb8883479754e4c09b0491b15bf7653f3

                                               )

                                   )

                     )

)

Link to comment
21 minutes ago, gacpac said:

I have updated to V16 and now I'm getting this error

 

image.thumb.png.5182d1030c88e7f67086d9328b1e7b28.png

 

This is the list of invalid files, that I don't know where they are

 

Technical information

=====================

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

=======

- files_rightclick

        - EXTRA_FILE

                 - README.md

Raw output

==========

Array

(

    [files_rightclick] => Array

       (

          [EXTRA_FILE] => Array

            (

                [README.md] => Array 

                     (

                           [expected] =>

                              [current] => cf73849388838de5037624e53303618579b164ec69fd55834ce4c5332ae33f778839e36298cbcc8ede90620927e076dbb8883479754e4c09b0491b15bf7653f3

                                               )

                                   )

                     )

)

Okay I fixed the first part. According to the file, the README.md is supposed to be empty and it has some information (doesn't make sense)

 

But Now I need help with the part of the reverse proxy header

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.