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

Database error - missing table #268

Closed
g7kse opened this Issue Mar 6, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@g7kse
Copy link

g7kse commented Mar 6, 2019

Describe the bug
On fresh install and after an intial update. I went to import the old adif and get a database error

To Reproduce
Steps to reproduce the behavior:

  1. Go to Admin > Update Tools > Update DXCC
  2. Click on Update
  3. Downloading file (seems to take an age)
  4. Check in tables to see if dxcc table exists (it does, as does a single dxccexceptions)
  5. Go to Admin > adif import
  6. Browse and upload

Expected behavior
Adif to upload as normal, error as screenshot below. Note also the layout of the screen changes too

Screenshots
image

Layout change from
image

To
image

Desktop (please complete the following information):

  • OS: RPi 3 LAMP (Mariadb). DietPi OS (previously ok)
  • Browser Chrome
  • Version 65.0.2 (64-bit)

Additional context
Tables are as follows:
image

versus previous install
image

I think I had a previous error and created the table manullay but can't remember what I did and couldn't see a similar error in issues.

@magicbug

This comment has been minimized.

Copy link
Owner

magicbug commented Mar 6, 2019

Yes seems the dxcc_ tables aren't added since it got updated and I didnt spot it

Attached is the missing bits

logbook_2m0sql_master.zip

magicbug added a commit that referenced this issue Mar 6, 2019

Fixes issue #268 missing DXCC tables
After installation run the update option
@magicbug

This comment has been minimized.

Copy link
Owner

magicbug commented Mar 6, 2019

This issue is now resolved in the code base.

@g7kse

This comment has been minimized.

Copy link
Author

g7kse commented Mar 6, 2019

I think it is still missing the dxcc_prefixes table.

Update. Dropped all the tables and started again ith those ones and all sorted.

Just as an aside I tried with a fresh install again and the update was taking a long time but this issue is closed

@g7kse

This comment has been minimized.

Copy link
Author

g7kse commented Mar 6, 2019

Closed after update to code base

@g7kse g7kse closed this Mar 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.