-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot delete a Project #2369
Comments
Thanks for the report and sorry it takes so long to get a reply! I've just configured the OS version locally using this repo https://github.com/CitizenLabDotCo/citizenlab-docker, and your steps work fine for me. My -INITIAL_ADMIN_EMAIL=
-INITIAL_ADMIN_PASSWORD=
-INITIAL_ADMIN_FIRST_NAME=
-INITIAL_ADMIN_LAST_NAME=
+INITIAL_ADMIN_EMAIL=admin@citizenlab.co
+INITIAL_ADMIN_PASSWORD=democracy2.0
+INITIAL_ADMIN_FIRST_NAME=First
+INITIAL_ADMIN_LAST_NAME=Last
# ***** CORE *****
# The address of the platform, without https://
-CL_SETTINGS_HOST=
+CL_SETTINGS_HOST=localhost
-CL_SETTINGS_CORE_TIMEZONE=
+CL_SETTINGS_CORE_TIMEZONE=Brussels I guess there's a chance something was broken and is fixed now. Could you run these commands to get the latest version? cd citizenlab-docker
git pull
docker-compose pull If you still see the error, could you take a screenshot of what your project form looks like before submitting it? Meanwhile, I will take a look at your other issues. P.S. You see an error of |
@mwaliczek Could you please also run and show the output of this command after updating to the latest version? docker-compose images |
Hello, Thank you for your answer and sorry for a late reply. I was stuck on another project. Unfortunately the problem still occurs, what I did:
and then as you requested:
result: and also please check the list after: |
Sorry, our upgrade process sometimes is a bit more complicated than just If you want to preserve your data, you can try these commands #1449 (comment) If you don't need your existing data, I would recommend running |
Before running I did recreate db by running I have also tested update solution with preserving the data and it also works fine. Thank you very much, I confirm that after:
Deleting project works ok and no data is missing. |
Glad to hear it's solved! And thanks for the confirmation! |
When trying to delete a project and error occurs. Steps to reproduce:
An error is related to a Foreign Key settings in DB. Steps to reproduce:
The text was updated successfully, but these errors were encountered: