# Nextcloud 12.0.1 stable Error: Cannot access private property

**URL:** <https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301>\
**Category:** ℹ️ Support\
**Created:** [August 9, 2017, 7:07am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301 "2017-08-09T07:07:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![caswi](https://help.nextcloud.com/letter_avatar/caswi/32/5_5575768a8748004e209b776fc1b2916d.png) [@caswi](https://help.nextcloud.com/u/caswi)\
**Post date:** [August 9, 2017, 7:07am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/1 "2017-08-09T07:07:40Z")

</div>

I get following error message while upgrading from 12.0.0 to 12.0.1 (stable) via web update:  
`"Error: Cannot access private property OCA\\Files_Trashbin\\Storage::$mountPoint at \/xxx\/apps\/files_accesscontrol\/lib\/Operation.php#85"`  
I checked tmp folder has full write permission.  
Is there any solution?

---

<div class="post-metadata">

**Author:** ![LukasReschke](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lukasreschke/32/1929_2.png) [@LukasReschke](https://help.nextcloud.com/u/LukasReschke)\
**Post date:** [August 9, 2017, 7:44am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/2 "2017-08-09T07:44:01Z")

</div>

@nickvergessen FYI

---

<div class="post-metadata">

**Author:** ![LukasReschke](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lukasreschke/32/1929_2.png) [@LukasReschke](https://help.nextcloud.com/u/LukasReschke)\
**Post date:** [August 9, 2017, 7:44am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/3 "2017-08-09T07:44:24Z")

</div>

@caswi Where does the error stop? Is upgrading still possible or entirely broken?

---

<div class="post-metadata">

**Author:** ![caswi](https://help.nextcloud.com/letter_avatar/caswi/32/5_5575768a8748004e209b776fc1b2916d.png) [@caswi](https://help.nextcloud.com/u/caswi)\
**Post date:** [August 9, 2017, 7:49am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/4 "2017-08-09T07:49:56Z")

</div>

The upgrading process works until reloading webpage. After clicking “Start update” I get the following log (all translated from German):

prepare update  
set Log-Level to "debug"  
activate maintenance mode  
update database schema  
database updated  
search for updates for App “activity” in App-Store  
An error occurred

here it stops

---

<div class="post-metadata">

**Author:** ![caswi](https://help.nextcloud.com/letter_avatar/caswi/32/5_5575768a8748004e209b776fc1b2916d.png) [@caswi](https://help.nextcloud.com/u/caswi)\
**Post date:** [August 9, 2017, 8:21am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/5 "2017-08-09T08:21:14Z")

</div>

This is the simplified error log after clicking “Start update”

“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /xxx/core/css/server.scss, ignoring”,“userAgent”:“any\_user\_agent”}  
“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /xxx/core/css/share.scss, ignoring”,“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Updater::setDebugLogLevel: Set log level to debug",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Updater::maintenanceEnabled: Turned on maintenance mode",“userAgent”:“any\_user\_agent”}  
“app”:“core”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“starting upgrade from 12.0.0.29 to 12.0.1.5”,“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Repair::step: Repair step: Repair MySQL collation",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Repair::info: Repair info: All tables already have the correct collation -\> nothing to do",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Repair::step: Repair step: Repair SQLite autoincrement",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Repair::step: Repair step: Copy data from accounts table when migrating from ownCloud",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Repair::step: Repair step: Drop account terms table when migrating from ownCloud",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Updater::dbUpgradeBefore: Updating database schema",“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Updater::dbUpgrade: Updated database",“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#868”,“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#869”,“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#870”,“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#873”,“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#874”,“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Cannot modify header information - headers already sent by (output started at /xxx/lib/private/legacy/eventsource.php:116) at /xxx/lib/private/User/Session.php#875”,“userAgent”:“any\_user\_agent”}  
“app”:“updater”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:"\OC\Updater::checkAppStoreAppBefore: Checking for update of app “activity” in appstore",“userAgent”:“any\_user\_agent”}  
“app”:“PHP”,“method”:“GET”,“url”:"/core/ajax/update.php?requesttoken=any\_token",“message”:“Error: Cannot access private property OCA\Files\_Trashbin\Storage::$mountPoint at /xxx/apps/files\_accesscontrol/lib/Operation.php#85”,“userAgent”:“any\_user\_agent”}

---

<div class="post-metadata">

**Author:** ![caswi](https://help.nextcloud.com/letter_avatar/caswi/32/5_5575768a8748004e209b776fc1b2916d.png) [@caswi](https://help.nextcloud.com/u/caswi)\
**Post date:** [August 9, 2017, 9:54am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/6 "2017-08-09T09:54:35Z")

</div>

after fall back to 12.0.0 everything workes fine again

---

<div class="post-metadata">

**Author:** ![nickvergessen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nickvergessen/32/66965_2.png) [@nickvergessen](https://help.nextcloud.com/u/nickvergessen)\
**Post date:** [August 9, 2017, 3:43pm UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/7 "2017-08-09T15:43:19Z")

</div>

I don’t know why this happens, but [https://github.com/nextcloud/files\_accesscontrol/pull/74/files](https://github.com/nextcloud/files_accesscontrol/pull/74/files) should help you to update

---

<div class="post-metadata">

**Author:** ![caswi](https://help.nextcloud.com/letter_avatar/caswi/32/5_5575768a8748004e209b776fc1b2916d.png) [@caswi](https://help.nextcloud.com/u/caswi)\
**Post date:** [August 10, 2017, 7:47am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/8 "2017-08-10T07:47:39Z")

</div>

This solved the íssue. Thank you for quick fix 👍

---

<div class="post-metadata">

**Author:** ![terrox](https://help.nextcloud.com/letter_avatar/terrox/32/5_5575768a8748004e209b776fc1b2916d.png) [@terrox](https://help.nextcloud.com/u/terrox)\
**Post date:** [August 19, 2017, 12:00am UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/9 "2017-08-19T00:00:00Z")

</div>

Thanks, I also ran into this error and editing the file in /apps/files\_accesscontrol/lib got it working.

---

<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 2, 2024, 2:17pm UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/10 "2024-12-02T14:17:08Z")

</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 4, 2024, 1:45pm UTC](https://help.nextcloud.com/t/nextcloud-12-0-1-stable-error-cannot-access-private-property/19301/11 "2024-12-04T13:45:01Z")

</div>


