# Not able to run OCC - what does this unhandled exception mean?

**URL:** <https://help.nextcloud.com/t/not-able-to-run-occ-what-does-this-unhandled-exception-mean/39700>\
**Category:** ℹ️ Support\
**Created:** [October 23, 2018, 10:16am UTC](https://help.nextcloud.com/t/not-able-to-run-occ-what-does-this-unhandled-exception-mean/39700 "2018-10-23T10:16:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mannshoch](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mannshoch/32/8405_2.png) [@Mannshoch](https://help.nextcloud.com/u/Mannshoch)\
**Post date:** [September 13, 2019, 11:47am UTC](https://help.nextcloud.com/t/not-able-to-run-occ-what-does-this-unhandled-exception-mean/39700/2 "2019-09-13T11:47:58Z")

</div>

As Nextcloud App:

> **[OCC Web - Apps - App Store - Nextcloud](https://apps.nextcloud.com/apps/occweb)**
>
> The Nextcloud App Store - Upload your apps and install new apps onto your Nextcloud

Use existing php.ini

> [@OCC has Database problem: "Failed to connect to the database"](https://help.nextcloud.com/t/occ-has-database-problem-failed-to-connect-to-the-database/33831/11):
>
> After I was able to get the content of the php.ini file from my webspace I was able to get occ working from ssh. I created a ~/.bashrc file containing: occ() { {PathToPhp} -c {PathTo/Php.ini} {PathTo/occ} $@ } because .bashrc do not get loaded automatically I start it my self after logging into ssh: source .bashrc now I could start occ commands: occ files:scan --all

---

_[View the full topic](https://help.nextcloud.com/t/not-able-to-run-occ-what-does-this-unhandled-exception-mean/39700)._
