-
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
Deployment with Fabric fails #79
Comments
Sorry to hear that. |
Hey, thanks for the response! I managed to fix this issue by adding only "KexAlgorithms diffie-hellman-group-exchange-sha1" to the sshd_config and restarting the SSH service. However, I am stuck at another issue: the deployment script reported successfull deployment, but If I try to access the app via internet I get a 403-Forbidden error. The apache log shows the following; It seems that wsgi can not find the python environment, do you have any idea how to set this up correctly? The VirtualHost file for the app includes the WSGI path, as far as I can see, and WSGI should be present both in the virtual environment and global. I can post the Virtual Host file if it helps. Thanks for your help, I have been at the deployment for maybe seven hours and am anxious to finish it! But I also hope to make a pull request later on that updates some part of the documentation that have become outdated by now :) |
Sorry it has taken so long to get the deployment working. We've deployed to CentOS but the world has moved on a bit since we developed Kashana. I notice that the example apache/production.conf which I'm guessing you've copied refers to /var/django/alfie rather than /var/django/kashana (which is the case for staging.conf). Alfie is the old name for Kashana. Has the app been deployed to /var/django/alfie or /var/django/kashana ? Any improvements to the documentation welcome! |
Thanks for pointing out the Alfie part, I managed to fix this and redeployed to the server. However, the "unable to stat python home" issue persists, and apache is still complaining about "no such file or directory: mod_wsgi", even though it exists in the supplied environment. The current configuration of the virtual host configuration is the following: ` <VirtualHost *:80>
` As you can see, I have manually set python home to the venv of the kashana app, but it still doesnt recognize it. Do you have any advice or guides for the proper installation of mod_wsgi? |
Kashana is still on python v2.7 and that requires the python 2 version of mod_wsgi. Is your server using python v3 by any chance? Might be relevant |
How this movement can affect us in December 2020? I am going into installing Kashana to take a look. |
@beeduino Briefly the versions of Python, Django and CentOS are no longer supported. |
Thank you! I was able to run it with runserver setup under Debian, with SQLite as DB. |
Hey guys,
I am trying to deploy the the Kashana App via SSH to a remote server.
I followed the instructions in the documentation and created the respective configurations, however the deployment stops in its tracks pretty early with:
Fatal error: Incompatible ssh peer (no acceptable kex algorithm)
Underlying exception:
Incompatible ssh peer (no acceptable kex algorithm)
Aborting.
I attempted to fix this by adding a respective conf file in the ssh config and by updating fabric/paramiko(both in the ve and globally) as github recommends, but it did not work for me.
Can you recommend anything else? Thanks for your help!
The text was updated successfully, but these errors were encountered: