jagwaugh

Make Package center show phpvirtualbox log

Recommended Posts

The .spk installer for phpvirtualbox works fine, but Package Center doesn't show the vbox.log when you click on the "View Log". It is a really minr point, but... if you want to get it to work:

 

1) edit /var/packages/virtualbox/scripts/start-stop-status

2) at the top, just below the PACKAGE_ENABLED= line, add a new line: LOG_FILE="/var/log/vbox.log"

3) near the bottom in the case section, in the line below log) replace: the line "exit 1" with "echo ${LOG_FILE}" so that it reads:

;;

log)

echo ${LOG_FILE}

;;

 

Save the file, Now it works

This works on DSM5.1, with the "fixed" phpvirtualbox.spk from viewtopic.php?f=15&t=3497&start=100#p31827, but it should be valid for any DSM.

 

Andrew

Share this post


Link to post
Share on other sites

Thank you very much for the infos. I will be looking tomorrow at my phpvirtualbox installation and fix this too. :smile:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.