-
Notifications
You must be signed in to change notification settings - Fork 553
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_URL and DATA_PATH options do not take effect in the config file #100
Comments
Check and make sure
|
Thx for your timely reply!
Runned command and got results as below: Is there anything wrong? |
Is it the file you are editing?
|
Great ! Besides, THANKS A LOT ^^ |
You can try to migrate the database by yourself. |
Ive followed the steps and failed.The config file didnt work.It is likely to be that we must set environment variables |
Restart scrapydweb and re-config the new generated file.
|
Hi
And the results of cmds:
Thx for your patience ! |
What’s the result of this cmd now?
|
|
Can you post the screenshot of the related info in the Settings page? |
Ive tried many times to upload screenshot but failed every time T.T |
Then just post the text. |
For easy-reading,ive removed all the comments:
|
Actually, I’m asking for the value of DATABASE displayed on the web UI. |
I judge from the DATABASE displayed on the web UI:
And no related database was created. |
Adding Thanks for your support! Lines 18 to 21 in 8104386
|
Hi sorry for the delay |
I was facing similar issue. If the DATABASE_URL if present in the environment variable then it works. But if I try to create DATABASE_URL in the custom settings file using some other environment variables, then it fails to work. I will look into this and try to raise a PR resolving this issue. |
git 连接拉不下来 |
Hi, the last version was 1.4.0 released on August 16, 2019. But this bug was fixed on May 11, 2020.Can you re-release the latest version? thx |
Describe the bug
Ive set the option DATABASE_URL to support MySQL in a correct format and restart scrapydweb,but no DBS in [DB_APSCHEDULER, DB_TIMERTASKS, DB_METADATA, DB_JOBS] had been created and the Settings of DATABASE displayed on web UI are still "sqlite:https:////......"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
3.If the Settings of DATABASE displayed on web UI is right the database used by the running scrapydweb?
4.Do i need to migrate data from sqlite to mysql manually if i want use MySQL backend in the future?
Logs
Environment (please complete the following information):
Thx for your time !
The text was updated successfully, but these errors were encountered: