-
Notifications
You must be signed in to change notification settings - Fork 15
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
(solved) registery server Unable to open database file #24
Comments
Is your registryServer directory writable? |
Yes, i followed the instructions given on repo.
|
Is there a sequence to setup OpenPDS on my laptop, like do i have to setup registery server and then OpenPDS or vice versa?? |
In order to use openPDS, you will need to have both a registry server and a PDS server running. You'll also need to point your openPDS server at your registry sever domain. What OS are you running all of this on? |
Linux Mint 17.2 (64 bit), What if i don't have registry server domain, do i need to get a domain name for that like "registry.example.com" ?? |
@brian717 Do you know where the problem can be ?? I have to show some progress in my project soon, but i am unable to setup the environment so far. So may i request you for help in setting up OpenPDS and all other requirements for my Local environment. I will use my android device to demonstrate working and features of OpenPDS. Thanks 😄 |
If you are not familiar with Django (the framework that both the registry server and the main openPDS server is built on), I would recommend you familiarize yourself with it. In particular, the settings.py file - it contains configuration for your server instance. In this case, I would guess that your directory structure doesn't match that configured in the settings.py file included in the registry server. Have you updated the database configuration to point to the directory where you'd like your db file located? As for a domain name - you don't need one. You can use the IP address of the machine where you have the registry server hosted (if it's visible to the machine hosting the openPDS server), or you can host them on the same machine and have the openPDS server hit the registry server on the loopback interface. |
i tried running the commands using super user permissions( sudo su ), but it is still giving the same error. Also in your instructions please edit package name python pip to python-pip. |
Ok i think i fixed it. According to settings.py file it look for the db at location
So i moved the framework to the directory. Which worked. Thanks. Please provide step by step instructions to setup whole system for academia purpose (presentations). |
@brian717 Please sir close this issue, as i think problem has been solved and related to location of DB in settings file. |
Hi,
I am working on a project using OpenPDS but i think i am unable to set it up on my laptop for development. I am getting following error when i try to setup registry server on my machine.
Any help ??
The text was updated successfully, but these errors were encountered: