Fredrick Posted March 5, 2018 Share Posted March 5, 2018 Hi, I'm trying to run a python script that requires a couple of packages (namely requests and influxdb). I manage to install the packages with pip, but they seem to disappear after reboot? Is this normal behaviour, and is there anything I can do to make it stick? Thanks! Link to comment
trurl Posted March 5, 2018 Share Posted March 5, 2018 1 minute ago, Fredrick said: Hi, I'm trying to run a python script that requires a couple of packages (namely requests and influxdb). I manage to install the packages with pip, but they seem to disappear after reboot? Is this normal behaviour, and is there anything I can do to make it stick? Thanks! The unRAID OS unpacks fresh from flash into RAM on each boot and runs completely in RAM. The only persistent storage is /boot, which is the flash drive, and /mnt, where the disks, user shares, and unassigned devices are mounted. You can use the User Scripts plugin to run a script on boot, and have that script install your packages. Link to comment
Fredrick Posted March 5, 2018 Author Share Posted March 5, 2018 3 minutes ago, trurl said: You can use the User Scripts plugin to run a script on boot, and have that script install your packages. D'oh! I'm already trying to run the script with this plugin, why didnt I just add two pip lines above? Thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.