unMENU 1.6 - now available (A major upgrade in appearance)


Recommended Posts

Someone is able to explain me if unMENU makes some use of emhttp to work?

 

It seems to me unMENU uses it only for images on the web pages BUT not for web pages itselves. Possible?

 

What type of web server unMENU is using to work?

unMenu is an awk script pretending to be a web server.
Link to comment

unMenu is an awk script pretending to be a web server.

 

;D

 

Ok, understood. Anyway it doesn't "pretend" it so badly at the end...  ;)

 

unMenu does use awk and needs no Web Server. And it works pretty well. Only problem is that it can only handle one simultaneous request. If you ever try impatiently to refresh an unMenu page before the prior one is completed, the unMenu awk process will crash. But that process is called from a shell script that will simply restart the awk process again and carry on with the next refresh.

 

While Joe L. was the primary authoir of unMenu, I wrote myMain which (I believe) is the only part that serves images. To serve images there are two methods. One uses the fact that unRaid allows files in the /var/log directory to be accessed via http. By creating a link to the myMain images directory within /var/log, I can "trick" emhttp into serving my images from their home on the flash driive. Some people had password issues that I can't recall precisely, and Joe L. implemented a simple imaging server that can be used instead of the emhttp method.

 

Link to comment

...

While Joe L. was the primary authoir of unMenu, I wrote myMain which (I believe) is the only part that serves images. To serve images there are two methods. One uses the fact that unRaid allows files in the /var/log directory to be accessed via http. By creating a link to the myMain images directory within /var/log, I can "trick" emhttp into serving my images from their home on the flash driive. Some people had password issues that I can't recall precisely, and Joe L. implemented a simple imaging server that can be used instead of the emhttp method.

 

Great! This is exactly because of my askin'...  :D

 

I was wondering why when Dynamix WebGUI hanged on my system unMENU remained up & running BUT without images...  so I suspected a similar 'hybrid' web server system... and I was about right!  ;D

 

P.S.: I love myMAIN page. Great work!  ;)

Link to comment

By the way, unless he's changed in the last couple months, I believe JoeL is still running v4.7 on his server  :)

Actually, I run 4.7 on my older original unRID server, and 5.0.6 on the newer unRAID server.

unfortunately, the 5.0.6 version crashes on occasion, and the older server is getting quite old...

and I'm so busy these days I barely have time to myself to post here.

 

Joe L.

 

Link to comment

unMenu is an awk script pretending to be a web server.

 

;D

 

Ok, understood. Anyway it doesn't "pretend" it so badly at the end...  ;)

If you install the unMENU "image_server.sh" package, it will serve the images instead of using emhttp.  That way they will still be visible when emhttp crashes.

 

yes, it does a pretty decent job of pretending to be a web-server.  (had you fooled for a while  ;))

Link to comment

By the way, unless he's changed in the last couple months, I believe JoeL is still running v4.7 on his server  :)

Actually, I run 4.7 on my older original unRID server, and 5.0.6 on the newer unRAID server.

unfortunately, the 5.0.6 version crashes on occasion, and the older server is getting quite old...

and I'm so busy these days I barely have time to myself to post here.

 

Joe L.

 

I've noticed you've been rather scarce lately -- guess that means your new job is keeping you PLENTY busy  :)

 

My original media server is also on 4.7 ... simply don't need > 2TB support and it is just so rock-solid I've not seen any reason to change.    I also like that on the rare occasions when the Web GUI stops responding (been a long time) you can restart the GUI without crashing the system ... something you can't do with the newer releases.    I DO have a couple v5.0.6 servers that have been very reliable; and a test box I run v6 on ... and plan to build a newer high-end box that I'll run v6 on "for real" later this year.

 

Link to comment

By the way, unless he's changed in the last couple months, I believe JoeL is still running v4.7 on his server  :)

Actually, I run 4.7 on my older original unRID server, and 5.0.6 on the newer unRAID server.

unfortunately, the 5.0.6 version crashes on occasion, and the older server is getting quite old...

and I'm so busy these days I barely have time to myself to post here.

 

Joe L.

 

I've noticed you've been rather scarce lately -- guess that means your new job is keeping you PLENTY busy  :)

 

My original media server is also on 4.7 ... simply don't need > 2TB support and it is just so rock-solid I've not seen any reason to change.    I also like that on the rare occasions when the Web GUI stops responding (been a long time) you can restart the GUI without crashing the system ... something you can't do with the newer releases.    I DO have a couple v5.0.6 servers that have been very reliable; and a test box I run v6 on ... and plan to build a newer high-end box that I'll run v6 on "for real" later this year.

 

Mod's stuck in their ways!  ;):)

Link to comment

Mod's stuck in their ways!  ;):)

 

They are gettin' old... (joking...  ;D)

 

Joe, I think I REALLY CAN LIVE without images for some minutes when WebGUI hangs...  ;D

 

Seriously... even if you have not played a lot on v.6, do you have any idea about why does trying to stop array by unMENU on v-six slams me out of the server @all (WebGUI, unMENU, telnet, shares... Only ping continue to work...  :o) ??

Link to comment
  • 1 month later...

I've been trying to install unMenu on v6.0.1 without any luck. I installed following these instructions, but can't connect via web browser. I set "My Host" to the IP address just like my previous version, but I've also tried tower:8080, tower.local:8080, brunnhilde:8080 and brunnhilde.local:8080. Honestly, I'm not sure if unMenu is running or not. Maybe this is not the proper way to install it in v6. I couldn't find any more up to date instructions though. Or maybe it's possible now to install packages without installing unMenu?

Link to comment

I've been trying to install unMenu on v6.0.1 without any luck. I installed following these instructions, but can't connect via web browser. I set "My Host" to the IP address just like my previous version, but I've also tried tower:8080, tower.local:8080, brunnhilde:8080 and brunnhilde.local:8080. Honestly, I'm not sure if unMenu is running or not. Maybe this is not the proper way to install it in v6. I couldn't find any more up to date instructions though. Or maybe it's possible now to install packages without installing unMenu?

Are you sure you haven't given port 8080 to a docker or something?

 

What packages are you wanting to install? They are probably available some other way.

Link to comment

I've been trying to install unMenu on v6.0.1 without any luck. I installed following these instructions, but can't connect via web browser. I set "My Host" to the IP address just like my previous version, but I've also tried tower:8080, tower.local:8080, brunnhilde:8080 and brunnhilde.local:8080. Honestly, I'm not sure if unMenu is running or not. Maybe this is not the proper way to install it in v6. I couldn't find any more up to date instructions though. Or maybe it's possible now to install packages without installing unMenu?

Not sure who wrote those instructions, but it sure was not me.

 

The instructions I wrote are here:

http://lime-technology.com/forum/index.php?topic=5568.0

and here:

https://code.google.com/p/unraid-unmenu/

 

Either should work.  The ones you linked to are incomplete and do not describe creating the unmenu directory.

(it does refer you to a pre-boot section of the wiki.  Did you perform those steps?  Do you have the networking configured?  What happens when you type:

ping -c google.com

 

what do you see when you type:

ls -l /boot/unmenu

 

 

 

 

 

Link to comment

I've been trying to install unMenu on v6.0.1 without any luck. I installed following these instructions, but can't connect via web browser. I set "My Host" to the IP address just like my previous version, but I've also tried tower:8080, tower.local:8080, brunnhilde:8080 and brunnhilde.local:8080. Honestly, I'm not sure if unMenu is running or not. Maybe this is not the proper way to install it in v6. I couldn't find any more up to date instructions though. Or maybe it's possible now to install packages without installing unMenu?

Not sure who wrote those instructions, but it sure was not me.

 

The instructions I wrote are here:

http://lime-technology.com/forum/index.php?topic=5568.0

and here:

https://code.google.com/p/unraid-unmenu/

 

Either should work.  The ones you linked to are incomplete and do not describe creating the unmenu directory.

(it does refer you to a pre-boot section of the wiki.  Did you perform those steps?

 

Yes

 

Do you have the networking configured? 

 

Yes. The server is setup with a static IP. I don't have any trouble connecting via telnet or the webGUI at that IP.

 

What happens when you type:

ping -c google.com

 

root@Brunnhilde:~# ping -c google.com
ping: bad number of packets to transmit.

 

what do you see when you type:

ls -l /boot/unmenu

 

root@Brunnhilde:~# ls -l /boot/unmenu
total 1664
-rwxrwxrwx 1 root root  41976 Jul  7 14:13 07-unmenu-mymain.awk*
-rwxrwxrwx 1 root root  18629 Jul  7 14:13 08-unmenu-array_mgmt.awk*
-rwxrwxrwx 1 root root  51166 Jul  7 14:13 09-unmenu-disk_mgmt.awk*
-rwxrwxrwx 1 root root   2977 Jul  7 14:13 10-unmenu-links.awk*
-rwxrwxrwx 1 root root    266 Jul  7 14:13 10-unmenu_user_script_hello*
-rwxrwxrwx 1 root root    677 Jul  7 14:13 10-unmenu_user_script_update_check_unmenu*
-rwxrwxrwx 1 root root    338 Jul  7 14:13 10-unmenu_user_script_update_unmenu*
-rwxrwxrwx 1 root root    312 Jul  7 14:13 100-unmenu_user_script_unraid_version*
-rwxrwxrwx 1 root root    784 Jul  7 14:13 1000-unmenu_user_script_kill*
-rwxrwxrwx 1 root root    853 Jul  7 14:13 1000-unmenu_user_script_restart*
-rwxrwxrwx 1 root root    370 Jul  7 14:13 11-unmenu_user_script_classic_skin*
-rwxrwxrwx 1 root root    384 Jul  7 14:13 11-unmenu_user_script_horizontal_skin*
-rwxrwxrwx 1 root root    378 Jul  7 14:13 11-unmenu_user_script_vertical_skin*
-rwxrwxrwx 1 root root   3013 Jul  7 14:13 15-unmenu-disk_perf.cgi*
-rwxrwxrwx 1 root root   2636 Jul  7 14:13 15-unmenu-network_perf.cgi*
-rwxrwxrwx 1 root root   1216 Jul  7 14:13 16-unmenu-syslog.awk*
-rwxrwxrwx 1 root root   4774 Jul  7 14:13 17-unmenu-syslog.awk*
-rwxrwxrwx 1 root root   2247 Jul  7 14:13 18-unmenu-lsof.awk*
-rwxrwxrwx 1 root root   2958 Jul  7 14:13 20-unmenu-usage.awk*
-rwxrwxrwx 1 root root    971 Jul  7 14:13 200-unmenu-smarthistory.cgi*
-rwxrwxrwx 1 root root   4074 Jul  7 14:13 25-unmenu-dupe_files.awk*
-rwxrwxrwx 1 root root   8845 Jul  7 14:13 29-unmenu-sysinfo.awk*
-rwxrwxrwx 1 root root  19519 Jul  7 14:13 30-unmenu-file_browser.awk*
-rwxrwxrwx 1 root root    324 Jul  7 14:13 30-unmenu_user_script_getra*
-rwxrwxrwx 1 root root    351 Jul  7 14:13 30-unmenu_user_script_setra-0256*
-rwxrwxrwx 1 root root    353 Jul  7 14:13 30-unmenu_user_script_setra-1024*
-rwxrwxrwx 1 root root    353 Jul  7 14:13 30-unmenu_user_script_setra-2048*
-rwxrwxrwx 1 root root  21956 Jul  7 14:13 40-unmenu-iso_share.awk*
-rwxrwxrwx 1 root root    437 Jul  7 14:13 40-unmenu_user_script_disk_speed*
-rwxrwxrwx 1 root root    409 Jul  7 14:13 40-unmenu_user_script_start_crashplan*
-rwxrwxrwx 1 root root    387 Jul  7 14:13 40-unmenu_user_script_stop_crashplan*
-rwxrwxrwx 1 root root    530 Jul  7 14:13 40-unmenu_user_script_tar_crashplan*
-rwxrwxrwx 1 root root    312 Jul  7 14:13 45-unmenu_user_script_scheduler__current_value*
-rwxrwxrwx 1 root root    388 Jul  7 14:13 45-unmenu_user_script_scheduler_anticipatory*
-rwxrwxrwx 1 root root    354 Jul  7 14:13 45-unmenu_user_script_scheduler_cfq*
-rwxrwxrwx 1 root root    368 Jul  7 14:13 45-unmenu_user_script_scheduler_deadline*
-rwxrwxrwx 1 root root    359 Jul  7 14:13 45-unmenu_user_script_scheduler_noop*
-rwxrwxrwx 1 root root   4343 Jul  7 14:13 50-unmenu-user_scripts.cgi*
-rwxrwxrwx 1 root root    625 Jul  7 14:13 50-unmenu_user_script_smarthist-graph*
-rwxrwxrwx 1 root root  17076 Jul  7 14:13 600-unmenu-file_edit.awk*
-rwxrwxrwx 1 root root    778 Jul  7 14:13 70-unmenu_user_script_samba_mask*
-rwxrwxrwx 1 root root    316 Jul  7 14:13 80-unmenu_user_script_swapfile_off*
-rwxrwxrwx 1 root root    402 Jul  7 14:13 80-unmenu_user_script_swapfile_on*
-rwxrwxrwx 1 root root    675 Jul  7 14:13 85-unmenu_user_script_sleep*
-rwxrwxrwx 1 root root    710 Jul  7 14:13 95-unmenu_user_script_test_email*
-rwxrwxrwx 1 root root  32238 Jul  7 14:13 99-unmenu-myMain-Config.awk*
-rwxrwxrwx 1 root root   8307 Jul  7 14:13 99-unmenu-utility.awk*
-rwxrwxrwx 1 root root    278 Jul  7 14:13 99-unmenu_user_script_powerdown*
-rwxrwxrwx 1 root root  61395 Jul  7 14:13 990-unmenu-wget.awk*
-rwxrwxrwx 1 root root   2493 Jul  7 14:13 999-unmenu-unraid_main.awk*
-rwxrwxrwx 1 root root   2150 Jul  7 14:13 UtilityShell.html*
-rwxrwxrwx 1 root root  22751 Jul  7 14:13 airvideo-unmenu-package.conf*
-rwxrwxrwx 1 root root   5611 Jul  7 14:13 apcupsd-3.14.10-unmenu-package-x86_64.conf*
-rwxrwxrwx 1 root root   5699 Jul  7 14:13 apcupsd-3.14.10-unmenu-package.conf*
-rwxrwxrwx 1 root root   5548 Jul  7 14:13 apcupsd-unmenu-package.conf*
-rwxrwxrwx 1 root root   4721 Jul  7 14:13 apcupsd3-unmenu-package.conf*
-rwxrwxrwx 1 root root   1050 Jul  7 14:13 bwm-ng-unmenu-package-x86_64.conf*
-rwxrwxrwx 1 root root   1067 Jul  7 14:13 bwm-ng-unmenu-package.conf*
-rwxrwxrwx 1 root root   2788 Jul  7 14:13 compiler-unmenu-package.conf*
-rwxrwxrwx 1 root root   2832 Jul  7 14:13 compiler-unmenu-package_x86_64.conf*
-rwxrwxrwx 1 root root   1269 Jul  7 14:13 cpio-unmenu-package.conf*
-rwxrwxrwx 1 root root   1186 Jul  7 14:13 cpufrequtils-unmenu-package.conf*
-rwxrwxrwx 1 root root   1362 Jul  7 14:13 cxxlibs-unmenu-package.conf*
-rwxrwxrwx 1 root root   2009 Jul  7 14:13 dmidecode-unmenu-package.conf*
-rwxrwxrwx 1 root root  73745 Jul  7 14:13 drivedb.lib.awk*
-rwxrwxrwx 1 root root   8200 Jul  7 14:13 ds_store_cleanup-unmenu-package.conf*
-rwxrwxrwx 1 root root   3992 Jul  7 14:13 dynamic-dns-unmenu-package.conf*
-rwxrwxrwx 1 root root   1699 Jul  7 14:13 encfs-unmenu-package.conf*
-rwxrwxrwx 1 root root    644 Jul  7 14:13 file-unmenu-package.conf*
-rwxrwxrwx 1 root root   1153 Jul  7 14:13 hdparm-9.27-unmenu-package.conf*
-rwxrwxrwx 1 root root    898 Jul  7 14:13 hdparm-9.37-unmenu-package-1.conf*
-rwxrwxrwx 1 root root    990 Jul  7 14:13 htop-unmenu-package.conf*
-rwxrwxrwx 1 root root    931 Jul  7 14:13 iftop-unmenu-package.conf*
-rwxrwxrwx 1 root root   5277 Jul  7 14:13 image_server-unmenu-package.conf*
drwxrwxrwx 3 root root   8192 Jul  7 14:13 images/
-rwxrwxrwx 1 root root   1333 Jul  7 14:13 inotify-tools-unmenu-package.conf*
-rwxrwxrwx 1 root root   1526 Jul  7 14:13 iperf-unmenu-package.conf*
-rwxrwxrwx 1 root root   3945 Jul  7 14:13 istat-unmenu-package.conf*
-rwxrwxrwx 1 root root   1361 Jul  7 14:13 jre-unmenu-package.conf*
-rwxrwxrwx 1 root root   1196 Jul  7 14:13 lighttpd-unmenu-package.conf*
-rwxrwxrwx 1 root root    991 Jul  7 14:13 lsof-unmenu-package.conf*
-rwxrwxrwx 1 root root   5081 Jul  7 14:13 mail-ssmtp-unmenu-package-x86_64.conf*
-rwxrwxrwx 1 root root   7062 Jul  7 14:13 mail-ssmtp-unmenu-package.conf*
-rwxrwxrwx 1 root root   9772 Jul  7 14:13 mail_status-unmenu-package.conf*
-rwxrwxrwx 1 root root   2345 Jul  7 14:13 md5deep-unmenu-package.conf*
-rwxrwxrwx 1 root root   2226 Jul  7 14:13 monthly-parity-unmenu-package.conf*
-rwxrwxrwx 1 root root   2742 Jul  7 14:13 mover_conditional_sync-unmenu-package.conf*
-rwxrwxrwx 1 root root   1380 Jul  7 14:13 mover_exclude_underscore-unmenu-package.conf*
-rwxrwxrwx 1 root root   1107 Jul  7 14:13 mover_fix-logging-unmenu-package.conf*
-rwxrwxrwx 1 root root  38811 Jul  7 14:13 myMain.conf*
-rwxrwxrwx 1 root root   8236 Jul  7 14:13 myMainConfigDrive.html*
-rwxrwxrwx 1 root root   7190 Jul  7 14:13 myMainConfigMain.html*
-rwxrwxrwx 1 root root   6575 Jul  7 14:13 myMainConfigView.html*
-rwxrwxrwx 1 root root  10160 Jul  7 14:13 myMain_local.conf.sample*
-rwxrwxrwx 1 root root    891 Jul  7 14:13 myMain_local.conf.sample2*
-rwxrwxrwx 1 root root   5640 Jul  7 14:13 mysql-unmenu-package.conf*
-rwxrwxrwx 1 root root   2087 Jul  7 14:13 ntfs-3g-2010.3.6-unmenu-package.conf*
-rwxrwxrwx 1 root root   3638 Jul  7 14:13 openssh-unmenu-package.conf*
-rwxrwxrwx 1 root root   1354 Jul  7 14:13 openssl-unmenu-package.conf*
-rwxrwxrwx 1 root root   8127 Jul  7 14:13 p910nd-unmenu-package.conf*
-rwxrwxrwx 1 root root    768 Jul  7 14:13 pbzip2-unmenu-package.conf*
-rwxrwxrwx 1 root root    994 Jul  7 14:13 pciutils-unmenu-package.conf*
-rwxrwxrwx 1 root root   1947 Jul  7 14:13 perl-unmenu-package.conf*
-rwxrwxrwx 1 root root   2000 Jul  7 14:13 php-unmenu-package.conf*
-rwxrwxrwx 1 root root   1385 Jul  7 14:13 powerdown-2.06_ctlaltdel-unmenu-package.conf*
-rwxrwxrwx 1 root root   8448 Jul  7 14:13 powerdown-overtemp-unmenu-package.conf*
-rwxrwxrwx 1 root root   1385 Jul  7 14:13 powerdown_ctlaltdel-unmenu-package.conf*
-rwxrwxrwx 1 root root   1765 Jul  7 14:13 proftp-unmenu-package.conf*
-rwxrwxrwx 1 root root   1191 Jul  7 14:13 python-unmenu-package.conf*
-rwxrwxrwx 1 root root   1243 Jul  7 14:13 python_cheetah-unmenu-package.conf*
-rwxrwxrwx 1 root root   1051 Jul  7 14:13 reiserfsck-3.6.21-unmenu-package.conf*
-rwxrwxrwx 1 root root    988 Jul  7 14:13 rsync-unmenu-package.conf*
-rwxrwxrwx 1 root root   1685 Jul  7 14:13 ruby-unmenu-package.conf*
-rwxrwxrwx 1 root root  25306 Jul  7 14:13 sabnzbd-unmenu-package.conf*
-rwxrwxrwx 1 root root   1519 Jul  7 14:13 screen-unmenu-package-x86_64.conf*
-rwxrwxrwx 1 root root   1493 Jul  7 14:13 screen-unmenu-package.conf*
-rwxrwxrwx 1 root root  11848 Jul  7 14:13 shellinabox-unmenu-package.conf*
-rwxrwxrwx 1 root root   1416 Jul  7 14:13 smartctl-unmenu-package.conf*
-rwxrwxrwx 1 root root   1127 Jul  7 14:13 socat-unmenu-package.conf*
-rwxrwxrwx 1 root root   1227 Jul  7 14:13 sqlite-unmenu-package.conf*
-rwxrwxrwx 1 root root   3134 Jul  7 14:13 svn-unmenu-package.conf*
-rwxrwxrwx 1 root root   5299 Jul  7 14:13 syslog_match.conf*
-rwxrwxrwx 1 root root 116173 Jul  7 14:13 unmenu.awk*
-rwxrwxrwx 1 root root  26391 Jul  7 14:13 unmenu.base.lib.awk*
-rwxrwxrwx 1 root root   6017 Jul  7 15:19 unmenu.conf*
-rwxrwxrwx 1 root root  13168 Jul  7 14:13 unmenu_install*
-rwxrwxrwx 1 root root   6016 Jun  9  2014 unmenu_local.conf*
drwxrwxrwx 2 root root   8192 Jul  7 14:13 unmenu_old_2015-07-07_1413/
-rwxrwxrwx 1 root root   3960 Jul  7 14:13 unraid-web-unmenu-package.conf*
-rwxrwxrwx 1 root root   1047 Jul  7 14:13 unrar-unmenu-package.conf*
-rwxrwxrwx 1 root root  10044 Jul  7 14:13 utility.lib.awk*
-rwxrwxrwx 1 root root   2089 Jul  7 14:13 uu*
-rwxrwxrwx 1 root root    826 Jul  7 14:13 vim-unmenu-package.conf*
-rwxrwxrwx 1 root root   1171 Jul  7 14:13 zip-unmenu-package.conf*

Link to comment

Sorry... My typo

 

ping -c 5 google.com

(I left out the number of pings to try in my prior example)

root@Brunnhilde:~# ping -c 5 google.com
PING google.com (173.194.121.3) 56(84) bytes of data.
64 bytes from iad23s25-in-f3.1e100.net (173.194.121.3): icmp_seq=1 ttl=53 time=17.4 ms
64 bytes from iad23s25-in-f3.1e100.net (173.194.121.3): icmp_seq=2 ttl=53 time=19.0 ms
64 bytes from iad23s25-in-f3.1e100.net (173.194.121.3): icmp_seq=3 ttl=53 time=19.6 ms
64 bytes from iad23s25-in-f3.1e100.net (173.194.121.3): icmp_seq=4 ttl=53 time=16.6 ms
64 bytes from iad23s25-in-f3.1e100.net (173.194.121.3): icmp_seq=5 ttl=53 time=21.0 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 16.630/18.762/21.028/1.572 ms
root@Brunnhilde:~# 

 

After a another restart, unMenu seems to be working, but I get this error when I try to install packages-

ds_store_cleanup installation:
ds_store_cleanup apparently did not install properly, /var/log/ds_store_cleanup does not exist.

Link to comment

well, if it does not install, it will not find the file it thinks should be there, thus the error message.

 

Many packages will not work with 6.0, but I would have guessed the ds_cleanup would have as it is a simple shell script.

 

I see the issue, the package is simply looking for a different version string than the one written.

 

PACKAGE_INSTALLATION echo "Version: 1.6" >/tmp/ds_store_cleanup

PACKAGE_VERSION_TEST grep "Version:" /tmp/ds_store_cleanup | awk '{print $2}'

PACKAGE_VERSION_STRING 1.5

Writing  1.6, looking for 1.5

 

Odds are it installed just fine, type

crontab -l

and you should see the expected entry.

 

You can edit the package file and change the 1.5 to 1.6 and also add a line

#AUTO_UPDATE=no

 

Joe L.

Link to comment

 

Odds are it installed just fine, type

crontab -l

and you should see the expected entry.

 

You can edit the package file and change the 1.5 to 1.6 and also add a line

#AUTO_UPDATE=no

 

Joe L.

 

root@Brunnhilde:~# crontab -l
# If you don't want the output of a cron job mailed to you, you have to direct
# any output to /dev/null.  We'll do this here since these jobs should run
# properly on a newly installed system.  If a script fails, run-parts will
# mail a notice to root.
#
# Run the hourly, daily, weekly, and monthly cron jobs.
# Jobs that need different timing may be entered into the crontab as before,
# but most really don't need greater granularity than this.  If the exact
# times of the hourly, daily, weekly, and monthly cron jobs do not suit your
# needs, feel free to adjust them.
#
# Run hourly cron jobs at 47 minutes after the hour:
47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null
#
# Run daily cron jobs at 4:40 every day:
40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
#
# Run weekly cron jobs at 4:30 on the first day of the week:
30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null
#
# Run monthly cron jobs at 4:20 on the first day of the month:
20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null
# Removing .DS_Store files
42 3 * * 0 find /mnt/disk[1-9]*/ /mnt/cache/ /boot -name ".DS_Store" -depth -exec rm "{}" ';'>/dev/null 2>&1
# Removing ._ files
42 3 * * 0 find /mnt/disk[1-9]*/ /mnt/cache/ /boot -name "._*" -depth -exec rm "{}" ';'>/dev/null 2>&1
# Removing .Spotlight-V100 folders
42 3 * * 0 find /mnt/disk[1-9]*/ /mnt/cache/ /boot -name ".Spotlight-V100" -depth -exec rm -r "{}" ';'>/dev/null 2>&1
# Removing .Trashes folders
42 3 * * 0 find /mnt/disk[1-9]*/ /mnt/cache/ /boot -name ".Trashes" -depth -exec rm -r "{}" ';'>/dev/null 2>&1
# Removing .fseventsd folders
42 3 * * 0 find /mnt/disk[1-9]*/ /mnt/cache/ /boot -name ".fseventsd" -depth -exec rm -r "{}" ';'>/dev/null 2>&1
root@Brunnhilde:~# 

 

Made the edits to ds_store_cleanup-unmenu-package.conf. I still get the same message when I try to install the package from Package Manager. I've attached the conf file just in case I did something wrong there.

ds_store_cleanup-unmenu-package.conf.zip

Link to comment

one more line to change..

 

Change:

PACKAGE_INSTALLED /var/log/ds_store_cleanup

to

PACKAGE_INSTALLED /tmp/ds_store_cleanup

 

It is looking in /var/log for the file, but creating it in /tmp.

Having them match will make a huge difference.

 

Joe L.

Link to comment

one more line to change..

 

Change:

PACKAGE_INSTALLED /var/log/ds_store_cleanup

to

PACKAGE_INSTALLED /tmp/ds_store_cleanup

 

It is looking in /var/log for the file, but creating it in /tmp.

Having them match will make a huge difference.

 

Joe L.

Worked great. Thanks for all your help.

 

Will the email notifications from this package work with v6.0.1 out of the box, or do I also need to install other packages to get them?

Link to comment

one more line to change..

 

Change:

PACKAGE_INSTALLED /var/log/ds_store_cleanup

to

PACKAGE_INSTALLED /tmp/ds_store_cleanup

 

It is looking in /var/log for the file, but creating it in /tmp.

Having them match will make a huge difference.

 

Joe L.

Worked great. Thanks for all your help.

 

Will the email notifications from this package work with v6.0.1 out of the box, or do I also need to install other packages to get them?

 

I don't know the answer to that question -- but I assume you're aware that v6 has e-mail notifications "built-in", so NO additional packages are required.

 

Link to comment

one more line to change..

 

Change:

PACKAGE_INSTALLED /var/log/ds_store_cleanup

to

PACKAGE_INSTALLED /tmp/ds_store_cleanup

 

It is looking in /var/log for the file, but creating it in /tmp.

Having them match will make a huge difference.

 

Joe L.

Worked great. Thanks for all your help.

 

Will the email notifications from this package work with v6.0.1 out of the box, or do I also need to install other packages to get them?

 

I don't know the answer to that question -- but I assume you're aware that v6 has e-mail notifications "built-in", so NO additional packages are required.

 

Oh Yeah. Probably the main reason I upgraded to v6. Just wasn't sure if this script would use the same interface(?)(if that's even the correct term). I'm not much good with the under-the-hood stuff. I'm sure I'll get an answer next time the script runs.

Link to comment
  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.