Collection Database issues #20

Closed
opened 2019-01-03 21:11:14 -05:00 by colwellkr · 4 comments
Contributor

Ongoing issues with the collection database.

Observed issues so far:

  • Phinx.yml already exists in repo and doesn't need to be initialized (update docs)
  • Phinx.yml requires migrations location to be in single quotes (' ')
  • PHP throws error when trying to view collection if database does not exist (perhaps have a check to make sure the db has been generated before navigating to collection or on collection page)
  • Phinx migrates database to incorrect location (named anime_collection.sqlite.sqlite3)
  • Even once database has been moved to correct location, adding items to it fails with a "read only database" error.
Ongoing issues with the collection database. Observed issues so far: * Phinx.yml already exists in repo and doesn't need to be initialized (update docs) * Phinx.yml requires migrations location to be in single quotes (' ') * PHP throws error when trying to view collection if database does not exist (perhaps have a check to make sure the db has been generated before navigating to collection or on collection page) * Phinx migrates database to incorrect location (named anime_collection.sqlite.sqlite3) * Even once database has been moved to correct location, adding items to it fails with a "read only database" error.
Author
Contributor

Errors regarding initializing phinx.yml and trying to migrate database without putting migrations locations in single quotes:

Errors regarding initializing phinx.yml and trying to migrate database without putting migrations locations in single quotes:
Author
Contributor

Phinx generating database with the wrong filename (anime_collection.sqlite.sqlite3)

Phinx generating database with the wrong filename (anime_collection.sqlite.sqlite3)
Author
Contributor

Error regarding writing to a read-only database occurs when trying to add items to the collection. Seems to happen both with a newly generated database and one ported over from a previous installation.

Error regarding writing to a read-only database occurs when trying to add items to the collection. Seems to happen both with a newly generated database and one ported over from a previous installation.
timw4mail added this to the v4.1 milestone 2019-01-07 14:31:51 -05:00
timw4mail added the
Bug
label 2019-01-07 14:31:57 -05:00
Owner
  • Phinx.yml already exists in repo and doesn't need to be initialized (update docs)
  • Phinx.yml requires migrations location to be in single quotes (' ')
  • PHP throws error when trying to view collection if database does not exist (perhaps have a check to make sure the db has been generated before navigating to collection or on collection page)
  • Phinx migrates database to incorrect location (named anime_collection.sqlite.sqlite3)
  • Even once database has been moved to correct location, adding items to it fails with a "read only database" error.

The last issue seems to be an environment-specific problem, so I'm closing this.

* <s>Phinx.yml already exists in repo and doesn't need to be initialized (update docs)</s> * <s>Phinx.yml requires migrations location to be in single quotes (' ')</s> * <s>PHP throws error when trying to view collection if database does not exist (perhaps have a check to make sure the db has been generated before navigating to collection or on collection page)</s> * <s>Phinx migrates database to incorrect location (named anime_collection.sqlite.sqlite3)</s> * Even once database has been moved to correct location, adding items to it fails with a "read only database" error. The last issue seems to be an environment-specific problem, so I'm closing this.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: timw4mail/HummingBirdAnimeClient#20
No description provided.