Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Nextcloud

Featured Replies

1 minute ago, Kilrah said:

There is no point in moving the data, quite the opposite you want it where it should be or nextcloud will probably consider it removed. It should not be touched, we're just saying that in the unlikely case of something going terribly wrong if it's important data you want to have a backup."

If he moves them, Nextcloud will show the files as still being there, but will report an error when he tries to click on them, as they're still being referred in the database.

This is a non-issue, as it doesn't affect upgrading. He can move them back afterwards and perform file:scan --all and database maintenance fingerprint on the files after moving them back.

Bottom line is, he doesn't need to move them, but he can if he feels this is the safest option. But that's a confidence issue with Nextcloud. If he somehow messes up the file structure or permissions of those files doing the move (which is linux 101, so he shouldn't), then he will have an additional step to resolve.

  • Replies 7.1k
  • Views 1.7m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • 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

  • When i did enter the docker container with ssh and did run the following command the error message was gone   sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices   Onl

  • gustomucho
    gustomucho

    After tinkering with this for a while, it seems the solution is much simpler than I thought. For some reason, the only step required is to modify the config.php file. No need to install ffmp

Posted Images

Just chiming in here to reinforce that you should already have a backup of your NextCloud data.

Go buy an external 8TB drive and use the User Scripts Unraid plugin to have it backup your NextCloud data (and any other important data) once a week (or whatever frequency you think best).

Then save up for another 8TB drive and do the same thing with it.

I do this, running alternating weeks between the two, so that my most important data (photos in particular) are stored in 3 places.

A good overview of a useful backup strategy (the 3-2-1 rule) is available here: https://www.backblaze.com/blog/the-3-2-1-backup-strategy/

Best of luck in your upgrade path. I additionally recommend visiting the Admin page in NextCloud between upgrades, as it will tell you of any manual tasks that need to be performed, as well as any other problems.

https://nextcloud.your.domain/settings/admin/overview

Edited by jademonkee

19 minutes ago, jademonkee said:

Just chiming in here to reinforce that you should already have a backup of your NextCloud data.

Go buy an external 8TB drive and use the User Scripts Unraid plugin to have it backup your NextCloud data (and any other important data) once a week (or whatever frequency you think best).

Then save up for another 8TB drive and do the same thing with it.

I do this, running alternating weeks between the two, so that my most important data (photos in particular) are stored in 3 places.

A good overview of a useful backup strategy (the 3-2-1 rule) is available here: https://www.backblaze.com/blog/the-3-2-1-backup-strategy/

Best of luck in your upgrade path. I additionally recommend visiting the Admin page in NextCloud between upgrades, as it will tell you of any manual tasks that need to be performed, as well as any other problems.

https://nextcloud.your.domain/settings/admin/overview

Agreed. Mine is an external 8tb HDD, used once a month and stored on the other side of the house.

SDD backups x 2 rotated as bi-weekly backups, stored offsite.

Still not an elegant solution, but its what I've got.

I run rClone as a script under User Scripts (although rSync would be better, but I'm used to it), to run scheduled backups. Its actually a synced script that compares. Any files that are deleted or modified in Nextcloud, are moved from the master folder on the backup disk to a separate folder marked as Backup. So, I'm keeping deleted and modified files in case there is an error / unwanted difference. The Backup folder holds sub-folders by date, effectively making the main folder the updated master copy and the sub-folders holding the changes become incremental changes.

Not quite incremental backups, but you get the idea.

I used to backup to a NAS, but that's been done away with in the meantime.

Edited by Geck0

On 6/24/2025 at 2:50 AM, Geck0 said:

Why would you move it, when you can just rename the folder?

I've only briefed through this, so some of it may be assumption. I've pulled back from responding on this thread as I've realised people want the answer, but don't want to look for it. I started like you, and learned from mistakes and trial and error.

  1. Always have backps of important data. Don't know why you would want cloud storage backup, which goes against the idea of having NC in the first place. To answer your question though, yes you can backup to cloud storage, you don't connect it through Nextcloud, you use a utility like rClone and script it to backup to the cloud.

  2. It sounds like you're not familiar with Nextcloud's workings. So, upgrading from 27 to 30 will be slightly difficult for you, as the database needs an upgrade as well between 29 and 30 if I recall. You can do it, by searching through this forum. It was raised this year, as a few people were having problems.

  3. You can keep your configuration, as long as you retain your config.php file, which doesn't get overwritten when you upgrade.

  4. When you upgrade, you do it by changing the docker's lable to the desired version. I would suggest doing this first and stepping through the major versions. You don't have to upgrade every single release. But, when you get to v.30 you will need to upgrade your database's tables, which people have strugled with. So, if you're going to upgrade, only go up to v29 first by upgrading versions. ie. v 27 ---> v.27.5 ---> v 27.9---> v. 28 ---> v 28.5 ----> v 28.9 ---> v 29 ---> v 29.9 (whatever the last version is of 29). Hopefully, you get the idea.

  5. (Alternatively), you can drop your NC and your database, delete the appdata folders for both from your appdata folder and start again at v30. What I can't tell you is if you're going to have to update the tables manually anyway. So, you might as well do point 4 and learn something.

  6. You're not going to lose your data during an upgrade, unless you do something stupid. NC references your data, it does't manipulate it. What would it mean to you, if you lost the data now? If you think you would have that sinking feeling, where your balls are in your throat, then it means something to you. So, back it up. Drives fail all the time, unRaid has redundency, but thats not the same as a backup and you can still lose your data.

  7. There have been several instances on this thread where people don't know how to upgrade correctly and its been responded to many times. I suggest you go and look at those first, search under my username because I've responded to examples like this several times.

  8. If you're really concerned, then create a second instance of NC and database, with the lastest version, referencing a new data folder. Once that is up and running, you can move your data over from old folder to new folder and tell NC to re-scan the files. You won't have any data from your calendar, deck, messenger, etc as that's in the old database, but if your only concerned about your files, then you could start there. After that's done, you can drop your old NC and Dataase from docker and appdata.

  9. Be careful of bad advice.

First of all , let me thank you for posting such a detailed reply.

I did search with my release tag and not much results came , hence posted the question. Also last time when i updated NC, it hung , resulted in some PHP error or some sort and i was very new to unraid at that time. Luckily i was able to see the data and was able to backup it (that time the size was pretty small). Also thats when i fixed the NC tag to specific release to prevent any auto-updates

Now that its grown this much , and i am almost 2 years behind the latest release , I want to be sure and get all details before starting the upgrade. Yes this is the sole backup of my personal and family pictures and videos , which i have compiled from various other small sources. I will first do a backup and stop my phone syncs first and then proceed with your suggestion.

As for cloudbackup , i just want to follow or have some redundancy to my data and felt cloud backup might fit into the 3-2-1 backup. After exploring , found none to be cost efficient. As of now , i do run a parity disk on my unraid. thats one safety net atleast. Will use this opportunity to do a full backup of NC data on to my portable HDD. Will try to connect the usb hdd to unraid server directly and let it backup ? Is it possible ?

If you're really concerned, then create a second instance of NC and database, with the lastest version, referencing a new data folder. Once that is up and running, you can move your data over from old folder to new folder and tell NC to re-scan the files. You won't have any data from your calendar, deck, messenger, etc as that's in the old database, but if your only concerned about your files, then you could start there. After that's done, you can drop your old NC and Dataase from docker and appdata.

As of now , i have only simply uploaded pictures from old bacups into respective folder. What is happening now is i have made my phones to sync with NC and upload camera folder alone to update once i get to home wifi , same goes tomy family members under each logins. With hires images ,they run out of space pretty fast.

other than that i havent used NC a lot , except for face identification extension and duplicate finder.

So if the NC 30 , parallel install is possible , i can do that , or will try.

once again , thanks for your wonderful reply , gives better confidence to move forward.

Also i might have wrongly got the numbers . when i select all the folders it shows only 983GB

image.png

Edited by DrSiva2022

As a tip for backups (I didn't mention this in my previous post), I run a 2TB SATA SSD two disk pool as my backup target. Each night a script runs (via the User Scripts plugin) that puts NextCloud into maintenance mode, then rsyncs the data directory, database backup (generated by the db-backup Docker app), and config files backup (generated using the appdata backup plugin).

Then, once a week, I attach an external USB HDD to backup from that SSD.

This results in significantly faster backups to the external HDD, as well as ensuring that NextCloud backups only occur when the users are asleep (so that downtime isn't problematic).

Edited by jademonkee

1 hour ago, jademonkee said:

As a tip for backups (I didn't mention this in my previous post), I run a 2TB SATA SSD two disk pool as my backup target. Each night a script runs (via the User Scripts plugin) that puts NextCloud into maintenance mode, then rsyncs the data directory, database backup (generated by the db-backup Docker app), and config files backup (generated using the appdata backup plugin).

Then, once a week, I attach an external USB HDD to backup from that SSD.

This results in significantly faster backups to the external HDD, as well as ensuring that NextCloud backups only occur when the users are asleep (so that downtime isn't problematic).

1 hour ago, jademonkee said:

As a tip for backups (I didn't mention this in my previous post), I run a 2TB SATA SSD two disk pool as my backup target. Each night a script runs (via the User Scripts plugin) that puts NextCloud into maintenance mode, then rsyncs the data directory, database backup (generated by the db-backup Docker app), and config files backup (generated using the appdata backup plugin).

Then, once a week, I attach an external USB HDD to backup from that SSD.

This results in significantly faster backups to the external HDD, as well as ensuring that NextCloud backups only occur when the users are asleep (so that downtime isn't problematic).

I used to put Nextcloud into maintenance mode, but its not neccesary. I think open files will be locked and may not be backed up, but it depends how busy your Nextcloud instance is and how important those particular files are.

8 hours ago, DrSiva2022 said:

First of all , let me thank you for posting such a detailed reply.

I did search with my release tag and not much results came , hence posted the question. Also last time when i updated NC, it hung , resulted in some PHP error or some sort and i was very new to unraid at that time. Luckily i was able to see the data and was able to backup it (that time the size was pretty small). Also thats when i fixed the NC tag to specific release to prevent any auto-updates

Now that its grown this much , and i am almost 2 years behind the latest release , I want to be sure and get all details before starting the upgrade. Yes this is the sole backup of my personal and family pictures and videos , which i have compiled from various other small sources. I will first do a backup and stop my phone syncs first and then proceed with your suggestion.

As for cloudbackup , i just want to follow or have some redundancy to my data and felt cloud backup might fit into the 3-2-1 backup. After exploring , found none to be cost efficient. As of now , i do run a parity disk on my unraid. thats one safety net atleast. Will use this opportunity to do a full backup of NC data on to my portable HDD. Will try to connect the usb hdd to unraid server directly and let it backup ? Is it possible ?

If you're really concerned, then create a second instance of NC and database, with the lastest version, referencing a new data folder. Once that is up and running, you can move your data over from old folder to new folder and tell NC to re-scan the files. You won't have any data from your calendar, deck, messenger, etc as that's in the old database, but if your only concerned about your files, then you could start there. After that's done, you can drop your old NC and Dataase from docker and appdata.

As of now , i have only simply uploaded pictures from old bacups into respective folder. What is happening now is i have made my phones to sync with NC and upload camera folder alone to update once i get to home wifi , same goes tomy family members under each logins. With hires images ,they run out of space pretty fast.

other than that i havent used NC a lot , except for face identification extension and duplicate finder.

So if the NC 30 , parallel install is possible , i can do that , or will try.

once again , thanks for your wonderful reply , gives better confidence to move forward.

Also i might have wrongly got the numbers . when i select all the folders it shows only 983GB

image.png

Well, I can try to give you a hand, but you'll have to bear with me, I'm really busy nowadays. If you want help, post your docker settings for MariaDb and Nextcloud,

ie.

8 hours ago, DrSiva2022 said:

First of all , let me thank you for posting such a detailed reply.

I did search with my release tag and not much results came , hence posted the question. Also last time when i updated NC, it hung , resulted in some PHP error or some sort and i was very new to unraid at that time. Luckily i was able to see the data and was able to backup it (that time the size was pretty small). Also thats when i fixed the NC tag to specific release to prevent any auto-updates

Now that its grown this much , and i am almost 2 years behind the latest release , I want to be sure and get all details before starting the upgrade. Yes this is the sole backup of my personal and family pictures and videos , which i have compiled from various other small sources. I will first do a backup and stop my phone syncs first and then proceed with your suggestion.

As for cloudbackup , i just want to follow or have some redundancy to my data and felt cloud backup might fit into the 3-2-1 backup. After exploring , found none to be cost efficient. As of now , i do run a parity disk on my unraid. thats one safety net atleast. Will use this opportunity to do a full backup of NC data on to my portable HDD. Will try to connect the usb hdd to unraid server directly and let it backup ? Is it possible ?

If you're really concerned, then create a second instance of NC and database, with the lastest version, referencing a new data folder. Once that is up and running, you can move your data over from old folder to new folder and tell NC to re-scan the files. You won't have any data from your calendar, deck, messenger, etc as that's in the old database, but if your only concerned about your files, then you could start there. After that's done, you can drop your old NC and Dataase from docker and appdata.

As of now , i have only simply uploaded pictures from old bacups into respective folder. What is happening now is i have made my phones to sync with NC and upload camera folder alone to update once i get to home wifi , same goes tomy family members under each logins. With hires images ,they run out of space pretty fast.

other than that i havent used NC a lot , except for face identification extension and duplicate finder.

So if the NC 30 , parallel install is possible , i can do that , or will try.

once again , thanks for your wonderful reply , gives better confidence to move forward.

Also i might have wrongly got the numbers . when i select all the folders it shows only 983GB

image.png

I can try and help you, but be warned, I'm tied up with a few things that are keeping me busy. If you want help, post your settings page from your Nextcloud and MariaDB dockers, ie.

image.png

Ideally, I would need to see the whole thing for both dockers.

Secondly, post your config.php (remember to edit out the personal stuff), like your salted password, domain name, etc.

Thirdly, post your admin settings' overview page.

The reason I need them, people want help but don't give sufficient information and you're trying to help them blind. Lets see if we can get you up to the latest version. Upgrading the tables later is the biggest isue, I can't remember what I had to do. Its documented on the Nextcloud forum, but people had mixed success with the process. I seem to recall I had to do it differently.

Not sure why, but my recent posts keep doubling up when I quote.

Edited by Geck0

On 3/24/2025 at 7:18 PM, jademonkee said:

Just chiming in to say that I just upgraded to v31, that in order to clear the Row Format should be DYNAMIC erros, I had to run the script on this page, following these instructions:

https://help.nextcloud.com/t/upgrade-to-nextcloud-hub-10-31-0-0-incorrect-row-format-found-in-your-database/218366/30

 

Hope that helps anyone else struggling with it.

The other errors I could clear using the provided occ commands.

In case it helps, here is what I did to help with the Row Format errors in the upgrade to v31.

On 2/26/2025 at 7:27 PM, Tolete said:

Hello, for anyone having ROW_FORMAT db errors on nextcloud, here is the fix for you.

Nextcloud error

Incorrect row format found in your database. ROW_FORMAT=Dynamic offers the best database performances for Nextcloud. Please update row format on the following list: oc_accounts, oc_accounts_data, oc_activity, oc_activity_mq, oc_addressbookchanges, oc_addressbooks, oc_appconfig, oc_authorized_groups, oc_authtoken, oc_bruteforce_attempts, oc_calendar_appt_bookings, oc_calendar_appt_configs, oc_calendar_invitations, oc_calendar_reminders, 
.....


Open a terminal on your Unraid server and run:

docker exec -it mariadb mysql -u root -p

Enter your MariaDB root password when prompted.
 

Select the Nextcloud Database:

USE nextcloud;

(Replace nextcloud with your actual Nextcloud database name if different.)
 

Update the ROW_FORMAT for All Affected Tables:

Run the following command:

SET GLOBAL innodb_large_prefix = 1;
SET GLOBAL innodb_file_format = BARRACUDA;
SET GLOBAL innodb_file_per_table = 1;

 

Update All Affected Tables to ROW_FORMAT=DYNAMIC

Run this command to generate the required ALTER statements:

 

SELECT CONCAT('ALTER TABLE ', table_name, ' ROW_FORMAT=DYNAMIC;')
FROM information_schema.tables
WHERE table_schema = 'nextcloud';

(Replace nextcloud with your actual Nextcloud database name if different.)
 

This will generate ALTER TABLE statements.

Copy the output and execute each ALTER TABLE ... command manually.

(your list will vary)
 

ALTER TABLE oc_onlyoffice_filekey ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_preferences ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_privacy_admins ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_profile_config ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_properties ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_ratelimit_entries ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_recent_contact ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_assets ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_direct ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_template ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_wopi ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_rocket_file_chats ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_rocket_users ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_schedulingobjects ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_share ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_share_external ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_storages ROW_FORMAT=DYNAMIC;


Then restart Mariadb and Nextcloud
 

docker restart mariadb
docker restart nextcloud


Screenshot 2025-02-26 185822.png

-This is the way.

@Tolete - thank you SO MUCH for these instructions. They were super helpful. This worked to update the row formats to DYNAMIC on all but one of my nextcloud tables. However, I received the following error on the table oc_filecache:

MariaDB [nextcloud]> ALTER TABLE oc_filecache ROW_FORMAT=DYNAMIC;

ERROR 1062 (23000): Duplicate entry '1-1bcb3b48154a5423ee962e961cdf6af9' for key 'fs_storage_path_hash'

Any chance you know how I can fix this? Apologies, I'm a novice in SQL.

On 2/26/2025 at 7:27 PM, Tolete said:

Hello, for anyone having ROW_FORMAT db errors on nextcloud, here is the fix for you.

Nextcloud error

Incorrect row format found in your database. ROW_FORMAT=Dynamic offers the best database performances for Nextcloud. Please update row format on the following list: oc_accounts, oc_accounts_data, oc_activity, oc_activity_mq, oc_addressbookchanges, oc_addressbooks, oc_appconfig, oc_authorized_groups, oc_authtoken, oc_bruteforce_attempts, oc_calendar_appt_bookings, oc_calendar_appt_configs, oc_calendar_invitations, oc_calendar_reminders, 
.....


Open a terminal on your Unraid server and run:

docker exec -it mariadb mysql -u root -p

Enter your MariaDB root password when prompted.
 

Select the Nextcloud Database:

USE nextcloud;

(Replace nextcloud with your actual Nextcloud database name if different.)
 

Update the ROW_FORMAT for All Affected Tables:

Run the following command:

SET GLOBAL innodb_large_prefix = 1;
SET GLOBAL innodb_file_format = BARRACUDA;
SET GLOBAL innodb_file_per_table = 1;

 

Update All Affected Tables to ROW_FORMAT=DYNAMIC

Run this command to generate the required ALTER statements:

 

SELECT CONCAT('ALTER TABLE ', table_name, ' ROW_FORMAT=DYNAMIC;')
FROM information_schema.tables
WHERE table_schema = 'nextcloud';

(Replace nextcloud with your actual Nextcloud database name if different.)
 

This will generate ALTER TABLE statements.

Copy the output and execute each ALTER TABLE ... command manually.

(your list will vary)
 

ALTER TABLE oc_onlyoffice_filekey ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_preferences ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_privacy_admins ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_profile_config ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_properties ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_ratelimit_entries ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_recent_contact ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_assets ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_direct ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_template ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_richdocuments_wopi ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_rocket_file_chats ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_rocket_users ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_schedulingobjects ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_share ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_share_external ROW_FORMAT=DYNAMIC;
ALTER TABLE oc_storages ROW_FORMAT=DYNAMIC;


Then restart Mariadb and Nextcloud
 

docker restart mariadb
docker restart nextcloud


Screenshot 2025-02-26 185822.png

-This is the way.

@Tolete - thank you SO MUCH for these instructions. They were super helpful. This worked to update the row formats to DYNAMIC on all but one of my nextcloud tables. However, I received the following error on the table oc_filecache:

MariaDB [nextcloud]> ALTER TABLE oc_filecache ROW_FORMAT=DYNAMIC;

ERROR 1062 (23000): Duplicate entry '1-1bcb3b48154a5423ee962e961cdf6af9' for key 'fs_storage_path_hash'

Any chance you know how I can fix this? Apologies, I'm a novice in SQL.

On 6/28/2025 at 8:54 AM, nationapn said:

@Tolete - thank you SO MUCH for these instructions. They were super helpful. This worked to update the row formats to DYNAMIC on all but one of my nextcloud tables. However, I received the following error on the table oc_filecache:

MariaDB [nextcloud]> ALTER TABLE oc_filecache ROW_FORMAT=DYNAMIC;

ERROR 1062 (23000): Duplicate entry '1-1bcb3b48154a5423ee962e961cdf6af9' for key 'fs_storage_path_hash'

Any chance you know how I can fix this? Apologies, I'm a novice in SQL.

@Tolete - thank you SO MUCH for these instructions. They were super helpful. This worked to update the row formats to DYNAMIC on all but one of my nextcloud tables. However, I received the following error on the table oc_filecache:

MariaDB [nextcloud]> ALTER TABLE oc_filecache ROW_FORMAT=DYNAMIC;

ERROR 1062 (23000): Duplicate entry '1-1bcb3b48154a5423ee962e961cdf6af9' for key 'fs_storage_path_hash'

Any chance you know how I can fix this? Apologies, I'm a novice in SQL.


This means that the oc_filecache table has duplicate row for the same storage and that hash.
I would delete it.

-check for duplicates


SELECT * FROM oc_filecache

WHERE storage = 1 AND path_hash = '1bcb3b48154a5423ee962e961cdf6af9';

-decide which you want to keep, and delete the others. Usually I keep the row with the most recent mtime

Or the one with larger size.

fileid

storage

path

path_hash

size

mtime

1001

1

files/testfile.txt

1bcb3b48154a5423ee962e961cdf6af9

0

1680000000

1002

1

files/testfile.txt

1bcb3b48154a5423ee962e961cdf6af9

128

1685000000


-delete duplicate I this case in this example it would be 1001
DELETE FROM oc_filecache WHERE fileid = 1001;

-that should take care of the error. I would occ files:scan --all from terminal. good luck!


  • 2 weeks later...

Hello, have installed Nextcloud “knex666's Repository”, runs perfectly - how to change the uploaded file size?

Wrong support thread

Does anyone know why the NextCloud Windows desktop app requires username and password every time it is launched? I thought I had it working where it did not do that; but now for sure I am seeing it does.

If that is the nature of the beast, it seems just keeping a weblink on Chrome would end up doing the same thing without the client install.

1 hour ago, RaidPC said:

Does anyone know why the NextCloud Windows desktop app requires username and password every time it is launched? I thought I had it working where it did not do that; but now for sure I am seeing it does.

If that is the nature of the beast, it seems just keeping a weblink on Chrome would end up doing the same thing without the client install.

Use the username and password to login to the web interface. Set up device passwords for devices, so you don't have to re-enter them.

6 hours ago, UNRAID-Home said:

Hello, have installed Nextcloud “knex666's Repository”, runs perfectly - how to change the uploaded file size?

As Kilrah said, this is the wrong support thread. This thread is for LinuxServer's version, which uses nginx. I've not heard of this repository. Nextcloud have their own official docker and Linuxserver's repository makes all the options you need for a stable version available to you. I would consider changing to Linuxserver.io's version.

7 hours ago, RaidPC said:

Does anyone know why the NextCloud Windows desktop app requires username and password every time it is launched? I thought I had it working where it did not do that; but now for sure I am seeing it does.

If that is the nature of the beast, it seems just keeping a weblink on Chrome would end up doing the same thing without the client install.

Got it installed on a dozen machines and never had that issue, once logged in it's logged in.

1 hour ago, Kilrah said:

Got it installed on a dozen machines and never had that issue, once logged in it's logged in.

Neither have I, but as a matter of process, I never authorise the app with the web interface, I always use a device ID..

Edited by Geck0

10 hours ago, RaidPC said:

Does anyone know why the NextCloud Windows desktop app requires username and password every time it is launched? I thought I had it working where it did not do that; but now for sure I am seeing it does.

If that is the nature of the beast, it seems just keeping a weblink on Chrome would end up doing the same thing without the client install.

Just a thought. Post your config.php, Im wondering if brute force settings are causing the problem.

3 hours ago, Geck0 said:

Neither have I, but as a matter of process, I never authorise the app with the web interface, I always use a device ID..

I've been doing web login since that was available, no issue either.

1 hour ago, Geck0 said:

Just a thought. Post your config.php, Im wondering if brute force settings are causing the problem.

Or maybe if you're running crowdsec, I've seen that it gets easily triggered by the NC client unless you manually add exceptions.

14 hours ago, Geck0 said:

Use the username and password to login to the web interface. Set up device passwords for devices, so you don't have to re-enter them.

14 hours ago, Geck0 said:

Use the username and password to login to the web interface. Set up device passwords for devices, so you don't have to re-enter them.

Thank you, but I am not seeing clearly the location to do that. I've looked at this page from the manual, (https://docs.nextcloud.com/server/19/user_manual/session_management.html) and my Netcloud running on UnRaid is not showing me exactly the same thing.

--Also, I tried earlier, but deleted Unraid's Self-signed or user-provided certificate. Not sure if that is part of the problem. The second picture always comes up when I initially enter the url. The third picture comes up when I hit can and try "Retry unencrypted over HTTP.

Personal.jpg

Untrusted Certificate.jpg

400 Bad Request.jpg

8 hours ago, RaidPC said:

Thank you, but I am not seeing clearly the location to do that. I've looked at this page from the manual, (https://docs.nextcloud.com/server/19/user_manual/session_management.html) and my Netcloud running on UnRaid is not showing me exactly the same thing.

--Also, I tried earlier, but deleted Unraid's Self-signed or user-provided certificate. Not sure if that is part of the problem. The second picture always comes up when I initially enter the url. The third picture comes up when I hit can and try "Retry unencrypted over HTTP.

Personal.jpg

Untrusted Certificate.jpg

400 Bad Request.jpg

  1. Use a domain name.

  2. Use your reverse proxy to handle the certificates. So, web --> reverse proxy (http). Reverse proxy---> Unraid (http).

Get that right first, before taking next steps. Sorry for the shortness of this, I'll reply again later.

Thank you. A friend is coming over and suggested since I am internally only, setting up a PKI system.

I found the "Use the username and password to login to the web interface. Set up device passwords for devices, so you don't have to re-enter them."

Way at the bottom of the Personal > Security page. Called App name.

BUT, it is not working at I thought. I thought IF I used the generated password, and entered it on my Nextcloud Desktop app login, it would keep me from having to login every I bring up NextCloud Desktop app login or the Tasks app which you access through NextCloud. Instead, at the Windows Desktop login, it fails to recognize that password.

I am trying to get to the Nextcloud tasks app without having to login to Nextcloud every time just like when I open Word or Microsoft's To Do.

56 minutes ago, RaidPC said:

Thank you. A friend is coming over and suggested since I am internally only, setting up a PKI system.

I found the "Use the username and password to login to the web interface. Set up device passwords for devices, so you don't have to re-enter them."

Way at the bottom of the Personal > Security page. Called App name.

BUT, it is not working at I thought. I thought IF I used the generated password, and entered it on my Nextcloud Desktop app login, it would keep me from having to login every I bring up NextCloud Desktop app login or the Tasks app which you access through NextCloud. Instead, at the Windows Desktop login, it fails to recognize that password.

I am trying to get to the Nextcloud tasks app without having to login to Nextcloud every time just like when I open Word or Microsoft's To Do.

You cant access NC apps, like Tasks through the Desktop app. Its likely you're still being rejected because the nginx conf files are set up for SSL. Post your log file after you try again.

The way you're trying to use it is not ideal though. For the sake of a few dollars per year, I'd suggest a domain name., although it needs to sit behind a good reversenproxy, like opnSense.

Is the NextCloud desktop app stand-alone like the Android app for Nextcloud? or it just a shortcut to running it from the browser?

Right now, every time I open in the systray the Nextcloud app, it pops up a window stating "All synced!" with a list of recent activities below it.

If I click on my icon on the right side top, it states I can "log out." among set status or remove account. This gives me the impression I am connected to my Nextcloud server.

But when I click on one of the listed apps at the top right corner, it brings up my browser and acks me to login.

Based on this link where someone brought up the same thing, I am led to believe this is not normal. I quote below.

"I want to use an app password for my desktop-clients.

The issue is that the desktop-client is not asking for password by itself but is opening a browser windows to log in and to approve access. That is not what I want.

How can I force the desktop client to

  1. ask by itself for pw

  2. use then provided app pw

Nextcloud community
No image preview

Desktop client app password

Is there a specific reason why you want to use a manually generated App Password instead of the standard login via Login Flow? I’m asking because Login Flow is actually the preferred way of connect...

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.