dreamfactorysoftware / df-docker

Docker container for DreamFactory.
59 stars 56 forks source link

Services tab not working: "Services There was an error loading data for the Services tab. Please try refreshing your browser and logging in again" #58

Closed lucafolin closed 4 years ago

lucafolin commented 5 years ago

Hi after a fresh DreamFactory Bitnami Docker intallation I run this command:

 docker exec -i -t dreamfactory php artisan config:clear

and then my all my DreamFactory Service is unacessible:

I receive a red icon on the left corner which says: "Services There was an error loading data for the Services tab. Please try refreshing your browser and logging in again"

I have made more than one fresh installation and I have the same results. Could you help me to understand which is the problem ? The above command sould only clear the cache configuration of dreamfactory !!

wjgilmore commented 5 years ago

Hi @lucafolin I have transferred this issue to the appropriate repository. Would you please tail the DreamFactory log (storage/logs/dreamfactory.log) and paste the most recent error message in here?

lucafolin commented 5 years ago

Hi this is my log from my Bitnami Docker installation:

2018-10-02 15:43:31] production.ALERT: Could not get cors config from DB - SQLSTATE[HY000]: General error: 1 no such table: cors_config (SQL: select from "cors_config" where "enabled" = 1) [2019-01-13 20:45:57] local.ALERT: Could not get cors config from DB - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bitnami_dreamfactory.cors_config' doesn't exist (SQL: select from cors_config where enabled = 1) [2019-01-13 20:45:58] local.ALERT: Could not get cors config from DB - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bitnami_dreamfactory.cors_config' doesn't exist (SQL: select * from cors_config where enabled = 1) [2019-01-13 21:10:20] local.ERROR: SQLSTATE[HY000] [2002] Connection refused {"exception":"[object] (Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} [2019-01-13 21:10:20] local.ERROR: SQLSTATE[HY000] [2002] Connection refused {"exception":"[object] (Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"}

and this is my log from VM Bitnami Installation:

[2019-01-13 20:45:57] local.ALERT: Could not get cors config from DB - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bitnami_dreamfactory.cors_config' doesn't exist (SQL: select from cors_config where enabled = 1) [2019-01-13 20:45:58] local.ALERT: Could not get cors config from DB - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bitnami_dreamfactory.cors_config' doesn't exist (SQL: select from cors_config where enabled = 1) [2019-01-13 21:10:20] local.ERROR: SQLSTATE[HY000] [2002] Connection refused {"exception":"[object] (Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} [2019-01-13 21:10:20] local.ERROR: SQLSTATE[HY000] [2002] Connection refused {"exception":"[object] (Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /opt/bitnami/dreamfactory/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"}

Let me know. BR, L.

Il giorno lun 14 gen 2019 alle ore 15:24 Jason Gilmore < notifications@github.com> ha scritto:

Hi @lucafolin https://github.com/lucafolin I have transferred this issue to the appropriate repository. Would you please tail the DreamFactory log (storage/logs/dreamfactory.log) and paste the most recent error message in here?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dreamfactorysoftware/df-docker/issues/58#issuecomment-454021809, or mute the thread https://github.com/notifications/unsubscribe-auth/AJCAwXA_IwDEf_ytPuMazLWP0SF6lVl6ks5vDJMtgaJpZM4Z-WRa .

lucafolin commented 5 years ago

Hi any news ?