# Music App Error - Nextcloud will not upgrade - Not possible to access Nextcloud

**URL:** <https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** update\_problems, docker, music\
**Created:** [August 30, 2021, 9:12am UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775 "2021-08-30T09:12:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightcobe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nightcobe/32/40190_2.png) [@nightcobe](https://help.nextcloud.com/u/nightcobe)\
**Post date:** [August 30, 2021, 9:12am UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/1 "2021-08-30T09:12:32Z")

</div>

**When I try to login to my Nextcloud I get a message that an app needs to be updated and that it is the Music (music) app that needs it:**

![uponsignin](https://help.nextcloud.com/uploads/default/original/3X/d/f/dff44303650dd7b9d61e10a331a54def510c76c7.png)

**However, when I click “Update App” I get the following:**

 ![AppUpdate](https://help.nextcloud.com/uploads/default/original/3X/d/1/d135055a92562b383745fd41ba26ebc44a46892c.png)

**When I try to “occ upgrade” in terminal because they tell me that is another way of doing it, I get this error message:**  
\_\_  
Nextcloud or one of the apps require upgrade - only a limited number of commands are available  
You may use your browser or the occ upgrade command to do the upgrade  
Setting log level to debug  
Updating database schema  
Updated database  
Updating …  
Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing ‘UPDATE `oc_music_albums` SET `created` = ? WHERE `created` IS NULL’ with params [“2021-08-30 07:13:32”]:

SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘created’ in ‘where clause’  
Update failed  
Maintenance mode is kept active  
Resetting log level  
\_\_

**I would gladly remove the music app altogether but trying to disable it leaves me with this message:**  
\_\_  
occ app:disable music  
Nextcloud or one of the apps require upgrade - only a limited number of commands are available  
You may use your browser or the occ upgrade command to do the upgrade  
An exception occurred while executing ‘UPDATE `oc_appconfig` SET `configvalue` = ? WHERE (`appid` = ?) AND (`configkey` = ?) AND ((`configvalue` IS NULL) OR (`configvalue` \<\> ?))’ with params [“no”, “music”, “enabled”, “no”]:

SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW\_FORMAT=COMPRESSED or KEY\_BLOCK\_SIZE.  
\_\_  
**Is there any way to solve this?**

**I tried to pull the nextcloud image again using the following commands and got subsequent messages:**

**docker-compose pull**  
Pulling mariadb … done  
Pulling redis … done  
Pulling nextcloud … done  
Pulling coturn … done  
Pulling collabora … done  
WARNING: Some service image(s) must be built from source by running:  
docker-compose build nextcloud

**docker-compose build nextcloud**  
Building nextcloud  
Traceback (most recent call last):  
File “bin/docker-compose”, line 3, in   
File “compose/cli/main.py”, line 67, in main  
File “compose/cli/main.py”, line 126, in perform\_command  
File “compose/cli/main.py”, line 302, in build  
File “compose/project.py”, line 468, in build  
File “compose/project.py”, line 450, in build\_service  
File “compose/service.py”, line 1125, in build  
File “docker/api/build.py”, line 160, in build  
File “docker/utils/build.py”, line 30, in tar  
File “docker/utils/build.py”, line 49, in exclude\_paths  
File “docker/utils/build.py”, line 214, in rec\_walk  
File “docker/utils/build.py”, line 214, in rec\_walk  
File “docker/utils/build.py”, line 184, in rec\_walk  
PermissionError: [Errno 13] Permission denied: ‘/home/nightramcobe/nextcloud/mariadb/nextcloud’  
[3524686] Failed to execute script docker-compose  
nightramcobe@nightcobe:~/nextcloud$ sudo docker-compose build nextcloud  
[sudo] password for nightramcobe:  
Building nextcloud  
Step 1/2 : FROM nextcloud:apache  
—\> 10fa80752a04  
Step 2/2 : RUN apt-get update && apt-get install -y procps smbclient && rm -rf /var/lib/apt/lists/\*  
—\> Using cache  
—\> 3ba3e5ce8318

Successfully built 3ba3e5ce8318  
Successfully tagged nextcloud:custom

**sudo docker-compose up -d**  
[sudo] password for nightramcobe:  
nextcloud-mariadb is up-to-date  
nextcloud-redis is up-to-date  
nextcloud-collabora is up-to-date  
nextcloud-coturn is up-to-date  
nextcloud is up-to-date  
\_\_

**This looks quite alright to me.**

**I am able to exit Maintenance mode by running:**  
occ maintenance:mode --off

**What can I do? I am basically stuck att the image at the top.**

**Thanks for any input!**

---

<div class="post-metadata">

**Author:** ![paulijar](https://help.nextcloud.com/user_avatar/help.nextcloud.com/paulijar/32/7818_2.png) [@paulijar](https://help.nextcloud.com/u/paulijar)\
**Post date:** [September 19, 2021, 8:22pm UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/2 "2021-09-19T20:22:37Z")

</div>

Just for reference, this same issue has been handled in [App Update Required - Music - Cannot login to Nextcloud server · Issue #889 · owncloud/music · GitHub](https://github.com/owncloud/music/issues/889). Long story short, there was a bug in Music v1.2.1 and v1.3.1 which has been fixed in v1.3.2.

---

<div class="post-metadata">

**Author:** ![nightcobe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nightcobe/32/40190_2.png) [@nightcobe](https://help.nextcloud.com/u/nightcobe)\
**Post date:** [September 19, 2021, 8:50pm UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/3 "2021-09-19T20:50:12Z")

</div>

Thanks!

But the problem seems to have been another one. I wasn’t able to fix the problem with the Music player the way the app developers tried to show me. There was something wrong with MariaDB

I got the solution here:

> [@Music app stuck without being able to update - General error: 4047 InnoDB](https://help.nextcloud.com/t/music-app-stuck-without-being-able-to-update-general-error-4047-innodb/122845):
>
> I followed this guide to install Docker and Collabora Now I have a problem that the Music app is hindering me from doing anything in my Nextcloud. It all started after I tried to update all apps in the GUI in Nextcloud and then suddenly the music app won’t update and leaves me with an error. The only right thing to do at the moment I feel is to remove my nextcloud docker image and then reinstall an updated version of it again. How do I do that? Can I reconnect with Collabora easily? Will my d…

---

<div class="post-metadata">

**Author:** ![paulijar](https://help.nextcloud.com/user_avatar/help.nextcloud.com/paulijar/32/7818_2.png) [@paulijar](https://help.nextcloud.com/u/paulijar)\
**Post date:** [September 22, 2021, 6:12pm UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/4 "2021-09-22T18:12:46Z")

</div>

Yes, so in essence, you had two intertangled problems. The initial problem shown in the screen shots of this thread was caused by the Music bug. But then the MariaDB problem kicked in and prevented the straight forward recovery from the problem state.

---

<div class="post-metadata">

**Author:** ![nightcobe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nightcobe/32/40190_2.png) [@nightcobe](https://help.nextcloud.com/u/nightcobe)\
**Post date:** [September 22, 2021, 7:56pm UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/5 "2021-09-22T19:56:22Z")

</div>

Yes, I think you are right.

Thanks!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:37am UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/6 "2024-12-13T10:37:48Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:37am UTC](https://help.nextcloud.com/t/music-app-error-nextcloud-will-not-upgrade-not-possible-to-access-nextcloud/122775/7 "2024-12-13T10:37:50Z")

</div>


