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

Official Documentation Needs to Be Updated #18

Open
7xuanlu opened this issue Mar 1, 2024 · 1 comment
Open

Official Documentation Needs to Be Updated #18

7xuanlu opened this issue Mar 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@7xuanlu
Copy link

7xuanlu commented Mar 1, 2024

I followed https://docs.cbioportal.org/deployment/deploy-without-docker/load-sample-cancer-study/ to import study but running into the database migration issue.

Steps to reproduce:

  1. export PORTAL_HOME=<my cbioportal home directory with application.properties>
  2. import gene panels like here https://docs.cbioportal.org/deployment/deploy-without-docker/load-sample-cancer-study/#import-gene-panel-for-sample-study
  3. validate study https://docs.cbioportal.org/deployment/deploy-without-docker/load-sample-cancer-study/#validating-the-sample-study
  4. cd cbioportal-core/src/main/scripts/importer
    It's all working until now
  5. ./metaImport.py -s Users/qlu/datahub/public/msk_impact_2017/ -n -o
    After running the command, I got the error message
Expected to find 1 scripts-*.jar, but found 0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Error occurred during data loading step. Please fix the problem and run this again to make sure study is completely loaded.

Then I located the file which print this message, which is envSimple.pl. Doing some testing, I know that perl file expects one core-*.jar to be in /Users/qlu/cbioportal-core/src/main/resources/ . Therefore, I copy core-1.0.5-SNAPSHOT.jar (generated under cbioportal-core/target through maven build) over to /Users/qlu/cbioportal-core/src/main/resources/ .

  1. Run ./metaImport.py -s Users/qlu/datahub/public/msk_impact_2017/ -n -o again:
Checked DB schema version: (expected: @db.version@) (found: 2.13.1)
Error, probably due to this version of the portal being out of sync with the database. Run the database migration script located at CBIOPORTAL_SRC/core/src/main/scripts/migrate_db.py before continuing.
  1. Run Users/qlu/cbioportal-core/src/main/resources/scripts/migrate_db.py
sql file /Users/qlu/Library/CloudStorage/OneDrive-CarisLifeScience/Documents/cbioportal-core/src/main/resources/db-scripts/migration.sql cannot be found
migrate_db.py --properties-file [portal properties file] --sql [sql migration file]
@7xuanlu 7xuanlu added the bug Something isn't working label Mar 12, 2024
@meenakshiiyer2531
Copy link

meenakshiiyer2531 commented Apr 15, 2024

Hello,
Can I take up the issue and update the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants