-
Notifications
You must be signed in to change notification settings - Fork 149
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
Installing and Getting Started PyScada #145
Comments
I tried below tutorial also and got errors. Log file is attached here. |
The documentation from https://pyscada.readthedocs.io/en/main/installation.html is not up to date. For the log from the script install :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Guys, I am installing PyScada in Ubuntu 20.04 LTS version.
I have created this issue for any help and support required for setup if I face any problem.
I am following documentation and found the below two instructions to setup PyScada :
I am stuck at this place : https://pyscada.readthedocs.io/en/main/installation.html#initialize-database-and-copy-static-files
I am getting below errors :
root@ubuntu:/var/www/pyscada/PyScadaServer# sudo -u pyscada python3 manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings.
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "manage.py", line 22, in
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.8/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 209, in handle
collected = self.collect()
File "/usr/local/lib/python3.8/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 135, in collect
handler(path, prefixed_path, storage)
File "/usr/local/lib/python3.8/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 368, in copy_file
if not self.delete_file(path, prefixed_path, source_storage):
File "/usr/local/lib/python3.8/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 278, in delete_file
if self.storage.exists(prefixed_path):
File "/usr/local/lib/python3.8/dist-packages/django/core/files/storage/filesystem.py", line 165, in exists
return os.path.lexists(self.path(name))
File "/usr/local/lib/python3.8/dist-packages/django/contrib/staticfiles/storage.py", line 39, in path
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
There is also one more tutorial :
https://pyscada.readthedocs.io/en/main/quick_install.html
Can you tell me which one tutorial should I follow to start with and what is the difference between both of them?
The text was updated successfully, but these errors were encountered: