coming back to this topic.
I still have the same issue: "Remte Mount" + "Shared folder" make directories in the file system that are owned by root.
I want to use the remote mounted drive (usb drive attached to router) for backup and I don't want that backup files are owned by root.
How can I change ownership for folder inside the "Remote Mount"?
Just for info: I realized that is just a matter of wait more time
After I was able to login via ssh
I made changes suggested.
Now I have the same issue with another job.
Mail message is:
The command (runned as user `pi`) in gui is:Code
I need to run the job with `pi` user to keep permission and ownership (and because I cannot see why I should use sudo).
Right now I still receive the mail message with `source` command complain
Maybe start to simplify:
sudo - from scheduled jobs you can run the script as root, so no sudo needed
sh - make the file executable then you don't need sh
parameter "5" - include it in the script instead of passing it
Does it work then?
sudo: ok, I can remove it using "root" as user in scheduled job. It comes from the manual command I used to test it.
sh: ok, in fact I can execute it instead of using sh.
parameter "5": this could be an issue. Same script is used to refresh different libraries in plex; I'll try putting it inside the script just to see if it solves the issue
Hi all, with OMV4 I was used to use the LetsEncrypt plugin to renew/refresh my SSL cert used to secure OMV gui access.
To be honest I cannot understand how to keep using letsencrypt to keep my cert renewed
Who is using the `source` command to execute scheduled job?
I see that `userdefined-014d8449-8363-4241-a6ee-5904509cea43` script has `#!/bin/sh -l`, I changed my sh script with this line but I still have the issue
I followed this guide to have omv5 running on a raspberry pi 2B.
From what I see I have no undervoltage in the last week. Before with Omv4 I had at least a couple of undervoltage a week.
Doesn anyone noticed the same behaviour?
I assume your default shell does not support the command source to load other scripts.
I'm not using source in my script and I cannot find this command in the lines automatically added to cron.d/userdefined script.
What do you mean?
Anyone has any hints?
Hi, I add a detail: also all others sh script I have cause the "source not found" mail.
I execute the command configured in "Scheduled jobs" no message in the console
Hi, I configured a scheduled jobs with this command with the "send email output" enabled:
each time it is executed I receive an email with this message
Basically each time I execute e bash script that run a command against a docker container and after prints the date.
I receive above email (I also receive the email with the echo output).
I was referring to raspimon, an utility to verify frequencies and power voltage and has flags to warn about low voltage.
Hi, how can I have raspimon on a fresh OMV 5 rpi installation?
I installed docker and started portainer with my script
Ok, so there is a dedicated "tab" for docker instead of using plugin list, that's all?
I was already using portainer (via script :D)
I'm installing from scratch OMV5 on a rpi 2B following this guide: ARM rpi omv5 guide
I cannot understand what I should do to let me use docker with OMV5 on my rpi.
With omv4 I prepared some "docker run" scripts that create containers and run them.
Could I continue using them?
I configured a Remote Mount for a CIFS/SMB share exposed by my router. If a power outage happens the raspberry with OMV and the router restart together.
Omv is faster so it tries to mount the share that is not available (router take 1 min to expose it).
There is a way to delay the share mount or retry it after to be sure that as soon as the share is available it is mounted?
The issue is that router hasn't a "smart" interface for handling this shared device.
Very basic configuration: add device, protect with password, quota.
I had also some trouble to find out that I should use "vers=1.0" in connection string
I configured e remote mount for a folder exposed by my router (with usb hdd attached).
The issue I'm facing is when I use rsync to backup stuff on this folder.
File owned by pi of group users.
owned by root.
What happens if that each time I execute rsync it always perform data transfer because source and dest file are not considered equal.
Also if I move into folder of this "remote mount" shared folder and I (user pi) create a file it ends up owned by root.
What is my error?
I too have the same error, but my HDD is still attached?!?!?
I simply tried to unmount and unshare a test share folder and this happened.
It reoccurs *every* time I try to add a new share....
I have OMV running on ubuntu, usb drive ext4 attached with shared folder.
I changed "privileges" for this shared-folder adding write/read permission for a user (to allow ftp access to it) and now when I apply changes I have this issue.