Commit Graph

99 Commits

Author SHA1 Message Date
Thiago Alves
1c5fc0323f Removed cryptography dependency and added openssl 2025-10-08 15:08:41 -04:00
lucasbutzke
73f2c6b048 [RTOP-26] Removing generate_env function from instalation 2025-07-31 11:40:22 -03:00
lucasbutzke
2ca82fa00f [RTOP-26] Change .env variables generation to python and verifing if are valid at inicialization 2025-07-30 19:21:58 -04:00
lucasbutzke
b8623fb5b3 [RTOP-26] PR Review Fix 2025-07-29 18:10:59 -04:00
Lucas Cordeiro Butzke
e0f35c32ac [RTOP-26] Update background_installer.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-21 09:59:50 -03:00
lucasbutzke
163337d1db [RTOP-26] Adding env generation to all installations 2025-07-18 22:22:52 -04:00
lucasbutzke
838ec7608a [RTOP-26] Added configuration file generation 2025-07-17 14:40:51 -04:00
lucasbutzke
6df9c79256 [RTOP-26] Installation of additional python libraries for RestAPI auth 2025-07-16 15:04:13 -04:00
lucasbutzke
2cbcec7d67 [RTOP-24] Created credentials.py and added in instalation the required cryptography python library 2025-07-02 22:06:20 -04:00
gustaf71
e1143f6586 Update debian, install wiringPi
Remove pigpio api, change wiringpi version
Remove pigpio api, add wiringPi api
Remove pigpio api, add wiringPi api
2025-03-25 19:09:35 +01:00
Dave Nardella
a72d2c9889 Copy DLL for win_msys2 Installation 2025-03-18 19:32:11 +01:00
Dave Nardella
ca997e5b16 Added S7 Protocol support 2025-03-15 13:45:33 +01:00
Dave Nardella
8d570a1e73 Added S7 Protocol support 2025-03-15 12:23:12 +01:00
Thiago Alves
2194a73dfe Removed all Pillow dependencies 2025-02-06 14:46:38 -05:00
Thiago Alves
17b7efecfb Added pillow dependency for MSYS2 environments 2025-02-06 14:16:02 -05:00
Thiago Alves
355ff6f3ff Add Pillow to Windows install 2025-02-05 11:44:57 -05:00
Thiago Alves
c11da40119 Added Pillow dependency 2025-02-04 17:45:07 -05:00
Thiago Alves
3f61c39f3d Brought back "active_program" that was missing in persistent folder 2025-01-18 11:00:50 -05:00
Thiago Alves
b7b3e0161b Revert alpine linux PR as that broke the installation on other Linuxes
When installing on Ubuntu (and possibly others) sudo support was broken after Alpine changes:
$ sudo ./start_openplc.sh 
Traceback (most recent call last):
  File "/home/factslinux/OpenPLC_v3/webserver/webserver.py", line 6, in <module>
    import serial.tools.list_ports
ModuleNotFoundError: No module named 'serial'
2025-01-18 10:58:31 -05:00
Matej Špindler
82693661af "active_program" is missing in persistent folder
Fixes:
Traceback (most recent call last):
  File "/workdir/webserver/webserver.py", line 2423, in <module>
    file = open("active_program", "r")
FileNotFoundError: [Errno 2] No such file or directory: 'active_program'
2025-01-09 21:12:23 +01:00
joluxer
5ef38332bb Merge branch 'thiagoralves:master' into alpine-install 2024-11-25 14:42:58 +01:00
Kostadin Popov
be0f9041b9 Adding Orange Pi as a platform in the installation script 2024-09-10 15:46:15 +03:00
Thiago Alves
3c08a69a65 Added --noconfirm to pacman 2024-08-26 15:41:26 -04:00
Thiago Alves
ff53169754 Include option to install on MSYS2 2024-08-26 15:15:14 -04:00
joluxer
4e4db60390 Make installation work on Alpine Linux.
Adds detection for the APK package installer and
detects the OpenRC startup system.
2024-08-01 16:20:15 +02:00
joluxer
46c0079f21 Merge remote-tracking branch 'refs/remotes/origin/alpine-install' into alpine-install 2024-08-01 15:08:04 +02:00
joluxer
f9c14364c9 Create OpenRC startup script during installation. 2024-08-01 15:07:52 +02:00
joluxer
e68616b368 Add install commands for Alpine Linux. 2024-08-01 14:54:30 +02:00
PaoloElMarinelo
9a1125b09f Update background_installer.sh
adding unipi argument on platform name to easily install wiringpi on Raspberry Pi OS 64-bit working with Unipi v1.1 or Unipi Lite PLCs.
adding instruction to disable the Neuron Modbus service.
2024-05-27 21:14:32 +02:00
PaoloElMarinelo
b32565ab82 Update background_installer.sh 2024-04-01 21:55:29 +02:00
Thiago Alves
a8928f802f Change persistent folder name to docker_persistent 2024-03-14 11:22:42 -04:00
Thiago Alves
18815eef35 Creates /persistent folder for Docker 2024-03-14 11:21:10 -04:00
Thiago Alves
9a681da790 Fix start script to only copy files to /persistent when in Docker 2024-03-14 11:20:27 -04:00
Eduardo-bat
b83ccf1f88 commit tracked files only 2024-02-26 11:45:02 -03:00
Thiago Alves
6621e30830 Install pymodbus on system python for PSM to work 2024-01-24 15:09:40 -05:00
Thiago Alves
73f09c839c Upgrade pip before installation 2024-01-24 14:23:20 -05:00
Thiago Alves
4a8086ec63 Merge branch 'master' into master 2023-12-04 10:23:15 -05:00
Thiago Alves
a283d0dbac Fix broken images on webserver
Bumped Flask version from 2.1 to 2.3.3 and werkzeug to 2.3.7. This apparently fixes the broken images on the webserver
2023-11-27 15:40:44 -05:00
Thiago Alves
44b50b7e15 Revert to install the included libmodbus as opposed to the distro one
There were changes to libmodbus api that breaks compatibility with current OpenPLC code. To keep things working it is better to use the included libmodbus version, even if it is older.
2023-10-19 15:12:20 -04:00
Thiago Alves
e3b51369c4 Fix for broken flask-login on werkzeug 3
Werkzeug 3 changed some APIs which broke flask-login. Downgrading both to previous versions is a temporary fix until flask-login implement the changes needed to be compatible with Werkzeug 3
2023-10-05 11:09:18 -04:00
DMLhope
914000e870 Add installation support for opensuse tumbleweed 2023-09-19 18:02:56 +08:00
Thiago Alves
341baecebb Fix python3 installation on Windows 2023-09-18 11:05:51 -04:00
Thiago Alves
3d25eeb309 Merge pull request #218 from lhartmann/python3
Maintenance: Use Python 3 and venv
2023-09-18 11:01:55 -04:00
Thiago Alves
fd74cd1703 Missing argument for finalize_install 2023-09-18 10:15:20 -04:00
Thiago Alves
a05c5f0573 Fix: Installer was setting the wrong driver on Windows 2023-09-18 10:09:52 -04:00
Lucas Vinicius Hartmann
1fe6bb9859 Remove python3-venv from RPM distros. 2023-09-13 23:03:48 -03:00
Lucas Vinicius Hartmann
7f86b9efc1 Python deps no longer need sudo. 2023-09-13 23:03:48 -03:00
Lucas Vinicius Hartmann
f996faf43d Fix start_openplc.sh permissions. 2023-09-13 23:03:48 -03:00
Lucas Vinicius Hartmann
e330c13017 Chanve to using python3 venv. 2023-09-13 23:03:48 -03:00
Lucas Vinicius Hartmann
15fc5c25e5 Add alternate wiringpi if not on apt. 2023-09-13 23:03:45 -03:00