Post Reply 
minimwatch installation (linux)
26-12-2021, 15:14
Post: #1
minimwatch installation (linux)
After updating minimserver from 2.0 to 2.1 I also updated minimwatch. (It wasn't clear if the order mattered here.)

It seems like I have minimwatch installed "incorrectly", but I'm not sure what the intent is. I have it installed, owned by root, in /opt/minimwatch. When I ran the installation procedure it failed due to permissions. So I ran it as root and it succeeded. But then minimwatch wouldn't run due to permissions. I tried adding extra write permissions to a few places but I kept getting permission errors, so I gave up and made the entire /opt/minimwatch world writable. (I don't recall what I did the last time I installed minimwatch. The other fix would presumably be to make it owned by the user.)

How is this actually supposed to work?
Find all posts by this user
Quote this message in a reply
26-12-2021, 19:23
Post: #2
RE: minimwatch installation (linux)
I simply unpack the minimwatch tar file in my home directory and start it in a shell as normal user by invoking

~/minimwatch/bin/starti

(if I remember correctly)
Find all posts by this user
Quote this message in a reply
26-12-2021, 19:46
Post: #3
RE: minimwatch installation (linux)
You should follow these instructions https://minimserver.com/install-linux-mwatch.html
Find all posts by this user
Quote this message in a reply
26-12-2021, 19:56
Post: #4
RE: minimwatch installation (linux)
.... with particular reference to step 4.
Find all posts by this user
Quote this message in a reply
26-12-2021, 22:04
Post: #5
RE: minimwatch installation (linux)
(26-12-2021 19:56)simoncn Wrote:  .... with particular reference to step 4.

I wasn't clear before: I followed the listed installation instructions. Step 4 gave permission denied. Running step 4 as root worked. And then produced the problems enumerated above. It appears that the installer is not designed to handle my installation configuration, but I don't know what it expects, or how I might change things so that it (1) works now and (2) updates correctly next time. Note that item 6 on the install instructions said I might be asked for root authentication. This did not occur. I just got a hard failure.
Find all posts by this user
Quote this message in a reply
26-12-2021, 23:05 (This post was last modified: 27-12-2021 16:59 by simoncn.)
Post: #6
RE: minimwatch installation (linux)
The recommended installation procedure expects that you will install MinimServer or MinimWatch into a folder that has write permission from your login username. Because you have chosen to install MinimWatch under /opt, you will need to always run MinimWatch as the root user which is not good practice.

An alternative would be to create /opt/minimwatch and give it write access from your username. After this, you should be able to install MinimWatch using the recommended procedure and run it as a non-root user.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)