Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqLite Errors on make run #5

Open
koen-venly opened this issue Feb 18, 2022 · 1 comment
Open

SqLite Errors on make run #5

koen-venly opened this issue Feb 18, 2022 · 1 comment

Comments

@koen-venly
Copy link

me@pop-os:~/Tools/majordome$ make install
composer install --no-dev
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
make[1]: Entering directory '/home/koen/Tools/majordome'
test -f var/majordome.db || cat var/schema.sql | sqlite3 var/majordome.db
make[1]: Leaving directory '/home/koen/Tools/majordome'
me@pop-os:~/Tools/majordome$ make run
app/console majordome:run-aws
Majordome is starting...

In ExceptionConverter.php line 55:
                                                                                                        
  An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 no such table: runs  
                                                                                                        

In Exception.php line 26:
                                                         
  SQLSTATE[HY000]: General error: 1 no such table: runs  
                                                         

In Connection.php line 60:
                                                         
  SQLSTATE[HY000]: General error: 1 no such table: runs  
                                                         

Am I missing something?
OS Info:

DISTRIB_ID=Pop
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Pop!_OS 21.10"
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
NAME="Pop!_OS"
VERSION="21.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.10"
VERSION_ID="21.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=impish
UBUNTU_CODENAME=impish
LOGO=distributor-logo-pop-os
NAME="Pop!_OS"
VERSION="21.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.10"
VERSION_ID="21.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=impish
UBUNTU_CODENAME=impish
LOGO=distributor-logo-pop-os
@romibuzi
Copy link
Owner

Hello! hmm it seems the database was not correctly created, could you do sqlite3 var/majordome.db and then check if tables are present with .tables ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants