MinimServer Forum
rescan from command line - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: rescan from command line (/showthread.php?tid=2698)

Pages: 1 2


RE: rescan from command line - simoncn - 21-10-2015 22:16

(21-10-2015 21:47)dennis_k85 Wrote:  Yes

It might be a permissions problem. Please try the following:

1) Copy the minimserver/data/minimserver.config file to a safe location
2) Uninstall MinimServer using minimserver/bin/uninstall
3) Run the command rm -rf /usr/src/minimserver to completely remove all files created by MinimServer
4) From a non-root user, reinstall MinimServer in /usr/src
5) From a non-root user, use minimserver/bin/setup to enable autostart
6) From a non-root user, use minimserver/bin/startc to set the content directory
7) Exit from the startc command prompt
8) From a non-root user, use minimserver/bin/startd to start MinimServer as a daemon process
9) From a non-root user, run the redirected echo "rescan" command

Does this work?


RE: rescan from command line - dennis_k85 - 22-10-2015 12:48

(21-10-2015 22:16)simoncn Wrote:  
(21-10-2015 21:47)dennis_k85 Wrote:  Yes

It might be a permissions problem. Please try the following:

1) Copy the minimserver/data/minimserver.config file to a safe location
2) Uninstall MinimServer using minimserver/bin/uninstall
3) Run the command rm -rf /usr/src/minimserver to completely remove all files created by MinimServer
4) From a non-root user, reinstall MinimServer in /usr/src
5) From a non-root user, use minimserver/bin/setup to enable autostart
6) From a non-root user, use minimserver/bin/startc to set the content directory
7) Exit from the startc command prompt
8) From a non-root user, use minimserver/bin/startd to start MinimServer as a daemon process
9) From a non-root user, run the redirected echo "rescan" command

Does this work?
No, the same thing happens.


RE: rescan from command line - simoncn - 22-10-2015 17:10

(22-10-2015 12:48)dennis_k85 Wrote:  No, the same thing happens.

Which distribution and version of Linux ARM are you using? What ARM hardware do you have?


RE: rescan from command line - dennis_k85 - 22-10-2015 17:12

(22-10-2015 17:10)simoncn Wrote:  
(22-10-2015 12:48)dennis_k85 Wrote:  No, the same thing happens.

Which distribution and version Linux ARM are you using? What ARM hardware do you have?
Linux guruDebianBox 3.16.0-4-kirkwood #1 Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) armv5tel GNU/Linux

On a guru plug.

Dennis


RE: rescan from command line - simoncn - 22-10-2015 18:48

(22-10-2015 17:12)dennis_k85 Wrote:  Linux guruDebianBox 3.16.0-4-kirkwood #1 Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) armv5tel GNU/Linux

On a guru plug.

Dennis

There may be something in this version of Linux that isn't compatible with the way MinimServer is reading commands from the named pipe.

To confirm whether the rescan command is being received from the named pipe by MinimServer, please do the following:

1) From the MinimWatch minim icon, select 'Show log'
2) In the log window, change the logging level to Debug
3) Leave the log window open
4) Issue the echo "rescan" command

Do you see any new messages appear in the log window when you perform step 4?


RE: rescan from command line - simoncn - 22-10-2015 20:26

One more thought: when you reinstalled MinimServer as a non-root user, which directory did you use to do the install and what are the permissions on that directory?


RE: rescan from command line - dennis_k85 - 22-10-2015 20:32

(22-10-2015 20:26)simoncn Wrote:  One more thought: when you reinstalled MinimServer as a non-root user, which directory did you use to do the install and what are the permissions on that directory?

I just rebuilt my whole system, due to other issues, and that fixed my problem. I basicly started over an reinstalled verything and now it is working. Thanks for your help.

Dennis