# Installed NC12 Beta, now getting .ocdata-errors

**URL:** <https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790>\
**Category:** ℹ️ Support\
**Tags:** nc12\
**Created:** [May 19, 2017, 9:34am UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790 "2017-05-19T09:34:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aSpeX](https://help.nextcloud.com/letter_avatar/aspex/32/6_22734026db12803ebb3e059622ac3534.png) [@aSpeX](https://help.nextcloud.com/u/aSpeX)\
**Post date:** [May 19, 2017, 9:34am UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/1 "2017-05-19T09:34:28Z")

</div>

Hey,  
i installed the Nextcloud 12 Beta-Update and now i’ve got a little problem with the .ocdata-file.  
The logs are showing an “Error 403”, when i (temporary) remove the .htaccess-file in the data-directory the message doesn’t appear.

I haven’t changed a config file, i haven’t installed any updates for my system.

> **My apache2-errorlog**
>
> [Fri May 19 09:28:09.101770 2017] [authz\_core:error] [pid 6912] [client 77.\*:65293] AH01630: client denied by server configuration: …/nextcloud-path/data/.ocdata

> **My browser-log**
>
> ![](https://help.nextcloud.com/uploads/default/original/2X/2/22813a3c393b24316681fa3b6b25a96b5f3a592b.png)

> **My Nextcloud-log**
>
> {“reqId”:“Gx1vK8uroXIgRUDcr2YB”,“level”:3,“time”:“2017-05-19T11:09:58+02:00”,“remoteAddr”:“77…”,“user”:“admin”,“app”:“no app in context”,“method”:“GET”,“url”:“/data/.ocdata?t=1495184996480”,“message”:“Exception: {"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"theming.Theming.getLogo\" as such route does not exist.","Code":0,"Trace":"#0 \\nextcloud-path\/lib\/private\/Route\/Router.php(339): Symfony\\Component\\Routing\\Generator\\UrlGenerator-\>generate(‘theming.Theming…’, Array, 1)\n#1 \\nextcloud-path\/lib\/private\/Route\/CachingRouter.php(60): OC\\Route\\Router-\>generate(‘theming.Theming…’, Array, false)\n#2 \\nextcloud-path\/lib\/private\/URLGenerator.php(70): OC\\Route\\CachingRouter-\>generate(‘theming.Theming…’, Array)\n#3 \\nextcloud-path\/apps\/theming\/lib\/ThemingDefaults.php(156): OC\\URLGenerator-\>linkToRoute(‘theming.Theming…’)\n#4 \\nextcloud-path\/lib\/public\/Defaults.php(186): OCA\\Theming\\ThemingDefaults-\>getLogo(true)\n#5 \\nextcloud-path\/core\/templates\/layout.guest.php(45): OCP\\Defaults-\>getLogo()\n#6 \\nextcloud-path\/lib\/private\/Template\/Base.php(176): include(‘\/mnt\/NAS\/www\/ht…’)\n#7 \\nextcloud-path\/lib\/private\/Template\/Base.php(151): OC\\Template\\Base-\>load(‘\/mnt\/NAS\/www\/ht…’, NULL)\n#8 \/mnt\/NAS\\nextcloud-path\/lib\/private\/legacy\/template.php(202): OC\\Template\\Base-\>fetchPage(NULL)\n#9 \/mnt\/NAS\\nextcloud-path\/lib\/private\/legacy\/template.php(224): OC\_Template-\>fetchPage()\n#10 \/mnt\/NAS\\nextcloud-path\/lib\/private\/Template\/Base.php(132): OC\_Template-\>fetchPage()\n#11 \/mnt\/NAS\\nextcloud-path\/core\/templates\/403.php(7): OC\\Template\\Base-\>printPage()\n#12 {main}","File":"\\nextcloud-path\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php","Line":130}”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3099.0 Safari/537.36”,“version”:“12.0.0.21”}

> **Permissions of data-directory**
>
> ![](https://help.nextcloud.com/uploads/default/original/2X/1/1f795563dc51f9bdd884617a038b2d3dfae17408.png)

How can i fix this?  
Thanks!

Edit: i already tried solution from [Https://nextcloud.mysite.org/data/.ocdata?t=1481715120916 403 (Forbidden)](https://help.nextcloud.com/t/https-nextcloud-mysite-org-data-ocdata-t-1481715120916-403-forbidden/6175)

---

<div class="post-metadata">

**Author:** ![aSpeX](https://help.nextcloud.com/letter_avatar/aspex/32/6_22734026db12803ebb3e059622ac3534.png) [@aSpeX](https://help.nextcloud.com/u/aSpeX)\
**Post date:** [May 24, 2017, 7:04am UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/2 "2017-05-24T07:04:42Z")

</div>

Solved, thank you anyway.

---

<div class="post-metadata">

**Author:** ![Vertux](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vertux/32/11961_2.png) [@Vertux](https://help.nextcloud.com/u/Vertux)\
**Post date:** [June 19, 2017, 3:47pm UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/3 "2017-06-19T15:47:35Z")

</div>

It would be nice if you would tell anyone how you have solved it.

---

<div class="post-metadata">

**Author:** ![Batmanuel](https://help.nextcloud.com/letter_avatar/batmanuel/32/6_22734026db12803ebb3e059622ac3534.png) [@Batmanuel](https://help.nextcloud.com/u/Batmanuel)\
**Post date:** [February 7, 2018, 10:53am UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/4 "2018-02-07T10:53:01Z")

</div>

I tired, but this solution doesn’t work for me.

---

<div class="post-metadata">

**Author:** ![Batmanuel](https://help.nextcloud.com/letter_avatar/batmanuel/32/6_22734026db12803ebb3e059622ac3534.png) [@Batmanuel](https://help.nextcloud.com/u/Batmanuel)\
**Post date:** [February 7, 2018, 11:07am UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/5 "2018-02-07T11:07:56Z")

</div>

I was painfully trying to reply, and for the sake of SEO, I found a solution here (it seems 403 is the expected behaviour):

> [@Client denied by server configuration: .ocdata](https://help.nextcloud.com/t/client-denied-by-server-configuration-ocdata/13250/4):
>
> This message shouldn’t worry you. It’s supposed to work like that: A client (web-browser) must not be able to access directly the data/ folder. On the admin page, there is a check on this and it tries to access [https://example.org/data/.ocdata](https://example.org/data/.ocdata), if the test succeeded, your data/ folder would be accessible from a web browser and everybody could access sensitive user data without authentication: e.g. via [https://example.org/data/username/files/my\_secret.txt](https://example.org/data/username/files/my_secret.txt) So if it must be impossible to access d…

---

<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, 1:53pm UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/6 "2024-12-02T13:53: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 4, 2024, 1:26pm UTC](https://help.nextcloud.com/t/installed-nc12-beta-now-getting-ocdata-errors/12790/7 "2024-12-04T13:26:36Z")

</div>


