"SimpleFeatures" Plugin - Version 1.0.11



Recommended Posts

Forumwise, besides the mostly obsolete unraid wiki there is hardly any sticky info, if you want info on something you have to query the forum again and again and find several different solutions for several different versions. really frustrating.

 

There is a forum feedback section, you can use it to bring in new ideas or other observations...

 

Finding certain information may be challenging at times indeed !

Link to comment
  • Replies 2.8k
  • Created
  • Last Reply

Top Posters In This Topic

Oh the irony. ;)

I'm under the impression you dont understand the concept of irony. If i had developed things here for you guys, and was asked for documentation which wasnt there, then me asking for it now would indeed be irony. What i'm asking for now could be mistaken for arrogance, or seen as unrespectfull, but i also explained that is not the case. The idea was to study docs/specs on plugins and create one myself for the Logitech Media Server or Squeezeserver, so i could add to the community myself. Nothing ironic about that.

Link to comment

Actualy I'm thinking you don't understand irony, or are being definsive. The irony was only in the quoted text. You were trying to say making clear documentation is not that hard to do, but the mispelling made the sentence itself unclear.

 

Sent from my LG-LS855 using Tapatalk 2

 

 

Link to comment

As best i can tell, the issue is that the GUI script is force adding single-quotes to anything i put in there.  If I manually start cache_dirs with the following command in SSH all works well.

 

cache_dirs -w -B -m1 -M10 -d9999 -e*My_Music* -e*PC_Backup* -e*tmp* -e*app*

Oct 30 13:03:18 Tower cache_dirs: ==============================================
1551: Oct 30 13:03:18 Tower cache_dirs: command-args=-w -B -m1 -M10 -d9999 -e*My_Music* -e*PC_Backup* -e*tmp* -e*app*
1552: Oct 30 13:03:18 Tower cache_dirs: vfs_cache_pressure=10
1553: Oct 30 13:03:18 Tower cache_dirs: max_seconds=10, min_seconds=1
1554: Oct 30 13:03:18 Tower cache_dirs: max_depth=9999
1555: Oct 30 13:03:18 Tower cache_dirs: command=find -noleaf
1556: Oct 30 13:03:18 Tower cache_dirs: version=1.6.6
1557: Oct 30 13:03:18 Tower cache_dirs: ---------- caching directories ---------------
1558: Oct 30 13:03:18 Tower cache_dirs: My_Movies
1559: Oct 30 13:03:18 Tower cache_dirs: My_Torrents
1560: Oct 30 13:03:18 Tower cache_dirs: My_Videos
1561: Oct 30 13:03:18 Tower cache_dirs: ----------------------------------------------
1562: Oct 30 13:03:19 Tower cache_dirs: cache_dirs process ID 7516 started, To terminate it, type: cache_dirs -q

 

is there a fix for this cache_dirs issue??

 

i'm noticing the same thing in the syslog, if i use the webgui and add my folders, i get this in the syslog

Jan  7 16:00:12 unRaid cache_dirs: command-args=-w -B -m 1 -M 10 -d 9999 -e 'Backup' -e 'Apps' -e 'iTunes' -i 'Videos' -i 'Pictures' -i 'Music' -i 'Other' -i '0_Finished'
Jan  7 16:00:12 unRaid cache_dirs: vfs_cache_pressure=10
Jan  7 16:00:12 unRaid cache_dirs: max_seconds=10, min_seconds=1
Jan  7 16:00:12 unRaid cache_dirs: max_depth=9999
Jan  7 16:00:12 unRaid cache_dirs: command=find -noleaf
Jan  7 16:00:12 unRaid cache_dirs: version=1.6.6
Jan  7 16:00:12 unRaid cache_dirs: ---------- caching directories ---------------
Jan  7 16:00:12 unRaid cache_dirs: 
Jan  7 16:00:12 unRaid cache_dirs: ----------------------------------------------
Jan  7 16:00:12 unRaid cache_dirs: ERROR: excluded directory "'iTunes'" does not exist. (Errors)
Jan  7 16:00:12 unRaid cache_dirs: ERROR: included directory "'0_Finished'" does not exist. (Errors)

 

so i can see it's not caching anything, but if manually add it in there, like i had in my old go file, then it works

 

Jan  7 16:06:28 unRaid cache_dirs: ==============================================
Jan  7 16:06:28 unRaid cache_dirs: command-args=-w -B -u -m 1 -M 10 -d 9999 -eBackup -eApps -eiTunes -iVideos -iPictures -iMusic -iOther -i0_Finished -iDropbox
Jan  7 16:06:28 unRaid cache_dirs: vfs_cache_pressure=10
Jan  7 16:06:28 unRaid cache_dirs: max_seconds=10, min_seconds=1
Jan  7 16:06:28 unRaid cache_dirs: max_depth=9999
Jan  7 16:06:28 unRaid cache_dirs: command=find -noleaf
Jan  7 16:06:28 unRaid cache_dirs: version=1.6.6
Jan  7 16:06:28 unRaid cache_dirs: ---------- caching directories ---------------
Jan  7 16:06:28 unRaid cache_dirs: Music
Jan  7 16:06:28 unRaid cache_dirs: Other
Jan  7 16:06:28 unRaid cache_dirs: Pictures
Jan  7 16:06:28 unRaid cache_dirs: Videos
Jan  7 16:06:28 unRaid cache_dirs: ----------------------------------------------
Jan  7 16:06:28 unRaid cache_dirs: ERROR: excluded directory "iTunes" does not exist. (Errors)
Jan  7 16:06:28 unRaid cache_dirs: ERROR: included directory "0_Finished" does not exist. (Errors)
Jan  7 16:06:28 unRaid cache_dirs: ERROR: included directory "Dropbox" does not exist. (Errors)

 

minus the folders that it says dont exist lol

 

i searched till the end of the thread but dont see a clear answer for this... or i'm just blind?

Link to comment

As best i can tell, the issue is that the GUI script is force adding single-quotes to anything i put in there.  If I manually start cache_dirs with the following command in SSH all works well.

 

cache_dirs -w -B -m1 -M10 -d9999 -e*My_Music* -e*PC_Backup* -e*tmp* -e*app*

Oct 30 13:03:18 Tower cache_dirs: ==============================================
1551: Oct 30 13:03:18 Tower cache_dirs: command-args=-w -B -m1 -M10 -d9999 -e*My_Music* -e*PC_Backup* -e*tmp* -e*app*
1552: Oct 30 13:03:18 Tower cache_dirs: vfs_cache_pressure=10
1553: Oct 30 13:03:18 Tower cache_dirs: max_seconds=10, min_seconds=1
1554: Oct 30 13:03:18 Tower cache_dirs: max_depth=9999
1555: Oct 30 13:03:18 Tower cache_dirs: command=find -noleaf
1556: Oct 30 13:03:18 Tower cache_dirs: version=1.6.6
1557: Oct 30 13:03:18 Tower cache_dirs: ---------- caching directories ---------------
1558: Oct 30 13:03:18 Tower cache_dirs: My_Movies
1559: Oct 30 13:03:18 Tower cache_dirs: My_Torrents
1560: Oct 30 13:03:18 Tower cache_dirs: My_Videos
1561: Oct 30 13:03:18 Tower cache_dirs: ----------------------------------------------
1562: Oct 30 13:03:19 Tower cache_dirs: cache_dirs process ID 7516 started, To terminate it, type: cache_dirs -q

 

is there a fix for this cache_dirs issue??

 

i'm noticing the same thing in the syslog, if i use the webgui and add my folders, i get this in the syslog

Jan  7 16:00:12 unRaid cache_dirs: command-args=-w -B -m 1 -M 10 -d 9999 -e 'Backup' -e 'Apps' -e 'iTunes' -i 'Videos' -i 'Pictures' -i 'Music' -i 'Other' -i '0_Finished'
Jan  7 16:00:12 unRaid cache_dirs: vfs_cache_pressure=10
Jan  7 16:00:12 unRaid cache_dirs: max_seconds=10, min_seconds=1
Jan  7 16:00:12 unRaid cache_dirs: max_depth=9999
Jan  7 16:00:12 unRaid cache_dirs: command=find -noleaf
Jan  7 16:00:12 unRaid cache_dirs: version=1.6.6
Jan  7 16:00:12 unRaid cache_dirs: ---------- caching directories ---------------
Jan  7 16:00:12 unRaid cache_dirs: 
Jan  7 16:00:12 unRaid cache_dirs: ----------------------------------------------
Jan  7 16:00:12 unRaid cache_dirs: ERROR: excluded directory "'iTunes'" does not exist. (Errors)
Jan  7 16:00:12 unRaid cache_dirs: ERROR: included directory "'0_Finished'" does not exist. (Errors)

 

so i can see it's not caching anything, but if manually add it in there, like i had in my old go file, then it works

 

Jan  7 16:06:28 unRaid cache_dirs: ==============================================
Jan  7 16:06:28 unRaid cache_dirs: command-args=-w -B -u -m 1 -M 10 -d 9999 -eBackup -eApps -eiTunes -iVideos -iPictures -iMusic -iOther -i0_Finished -iDropbox
Jan  7 16:06:28 unRaid cache_dirs: vfs_cache_pressure=10
Jan  7 16:06:28 unRaid cache_dirs: max_seconds=10, min_seconds=1
Jan  7 16:06:28 unRaid cache_dirs: max_depth=9999
Jan  7 16:06:28 unRaid cache_dirs: command=find -noleaf
Jan  7 16:06:28 unRaid cache_dirs: version=1.6.6
Jan  7 16:06:28 unRaid cache_dirs: ---------- caching directories ---------------
Jan  7 16:06:28 unRaid cache_dirs: Music
Jan  7 16:06:28 unRaid cache_dirs: Other
Jan  7 16:06:28 unRaid cache_dirs: Pictures
Jan  7 16:06:28 unRaid cache_dirs: Videos
Jan  7 16:06:28 unRaid cache_dirs: ----------------------------------------------
Jan  7 16:06:28 unRaid cache_dirs: ERROR: excluded directory "iTunes" does not exist. (Errors)
Jan  7 16:06:28 unRaid cache_dirs: ERROR: included directory "0_Finished" does not exist. (Errors)
Jan  7 16:06:28 unRaid cache_dirs: ERROR: included directory "Dropbox" does not exist. (Errors)

 

minus the folders that it says dont exist lol

 

i searched till the end of the thread but dont see a clear answer for this... or i'm just blind?

 

Don't ask me to find it, but I seem to recall someone, speeding ant or Bonienl saying they found the issue, fixed and tested the code,  and it would be in the next update.

 

You know what is funny ... I just looked at my go file the other night and was reminded of how I wrote my cache-dirs command.  By reminded I mean to say, I hod totally forogtten about the cache-dir issue and was thinking, "huh, that looks weird".  Then I'm reading your post, skipped who you were quoting, and was thinking, "Hey wow that looks just like MY go file!!!"  Man old age sucks.  And I'm only 40!!!!!

Link to comment

It looks like RC9a has resolved the syslog spamming issue too.

 

How does SimpleFeatures operate on rc9a?  Does the Permissions Utility Window open as expected?  How about spindown?

 

Permissions utility opens and completes fine here.

Also my unused disk is currently spun down so i guess it works allright :)

 

Also syslog spamming seems gone indeed.

So i'm a happy man :)

Link to comment

Don't ask me to find it, but I seem to recall someone, speeding ant or Bonienl saying they found the issue, fixed and tested the code,  and it would be in the next update.

 

You know what is funny ... I just looked at my go file the other night and was reminded of how I wrote my cache-dirs command.  By reminded I mean to say, I hod totally forogtten about the cache-dir issue and was thinking, "huh, that looks weird".  Then I'm reading your post, skipped who you were quoting, and was thinking, "Hey wow that looks just like MY go file!!!"  Man old age sucks.  And I'm only 40!!!!!

 

lol  ;) could be worse .. at least the fellas are keeping track of the issues

Link to comment

Could it be that simplefeatures need an update to work correctly with the new version ?  I am noticing some webfrontend freezes without any issues showing up in the syslog.. I for example pressed apply to start the webserver, this hangs the webpage but the webserver dit get started..

Link to comment

Hi,

 

I currently installed some simplefeatures-plugins - really love them, especially the GUI layout is very pretty compared to the original GUI. Some questions that I couldn't find answers to, I hope you can help with:

 

Copying the files to config/plugins/ didn't install them for me, I did invoke all installers with "installplg". Is this the correct way to do it? I think this happens due to a race condition when booting?

 

If I add simplefeature plugins while already running the simplefeatures core, do I have to reboot the server for every plugin?

 

I am using unMENU in parallel to this, this shouldn't be a problem, right? I also installed a package through unmenu which invokes a parity check every 1st of the month. IIRC simplefeatures has this option too...would it be advisable to disable the unMENU addon and use the sf option, since it's better to configure? Are there any problems with using both system in parallel that I should be aware of?

 

Thanks!

Link to comment

Hi speeding_ant / Bonienl,

 

Have a question for either of you regarding your webserver plugin.  For my own self-learning I've been tinkering building my own php installation from source.  Trying to mirror the configure params from phpinfo after installing the webserver plugin.  I'm almost there but for one minor thing and that's building imap-2007 with ssl enabled. This is to satisfy "--with-imap=/usr/local/lib/c-client".  I've grabbed the imap source in order to compile c-client and I can sucessfully make with SSLTYPE=none, but I figured I'd ask you guys in case you can give a steer and save me some time.  From the docs, I know I have roughly to;

 

2) Obtain a copy of OpenSSL.  OpenSSL is available from third parties.  We

    do not provide OpenSSL.

3) Make sure that you know how to build OpenSSL properly on the standard

    /usr/local/ssl directory.  In particular, /usr/local/ssl/include (and

    /usr/local/ssl/include/openssl) and /usr/local/ssl/lib must be set up

    from the OpenSSL build.  If you have a non-standard installation, then

    you must modify the imap-2007/src/osdep/unix/Makefile file to point

    to the appropriate locations.

4) Make sure that you know how to obtain appropriate certificates on your

    system.

 

When I 'make' imap-2007, I'm seeing x506, ssl.h etc missing.  makes fine with ssltype=none.

 

Other than that, I feel I'm pretty close as the following php configure now runs through ok. 

./configure  --enable-pcntl --enable-sigchild --prefix=/usr --libdir=/usr/lib --with-libdir=lib --sysconfdir=/etc --disable-safe-mode --disable-magic-quotes --enable-zend-multibyte --enable-mbregex --enable-tokenizer=shared --with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd --enable-mod_charset --with-layout=PHP --enable-sigchild --enable-xml --with-libxml-dir=/usr --enable-simplexml --enable-filter --disable-debug --with-openssl=shared --with-pcre-regex=/usr --with-zlib=shared,/usr --enable-bcmath=shared --with-bz2=shared,/usr --enable-calendar=shared --enable-ctype=shared --with-curl=shared --with-curlwrappers --with-mcrypt=/usr --enable-dba=shared --with-gdbm=/usr --with-db4=/usr --enable-exif=shared --enable-ftp=shared --with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=shared,/usr --with-gmp=shared,/usr --with-iconv=shared --with-imap-ssl=/usr --with-imap=/usr/local/lib/c-client --with-ldap=shared --enable-mbstring=shared --enable-hash --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/run/mysql/mysql.sock --enable-pdo=shared --with-pdo-mysql=shared,mysqlnd --with-pdo-sqlite=shared,/usr --with-pspell=shared,/usr --with-enchant=shared,/usr --with-mm=/usr --enable-shmop=shared --with-snmp=shared,/usr --enable-soap=shared --enable-sockets --with-sqlite=shared --with-sqlite3=shared --enable-sqlite-utf8 --with-regex=php --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx=shared --with-xsl=shared,/usr --enable-zip=shared --with-tsrm-pthreads --enable-shared=yes --enable-static=no --with-gnu-ld --with-pic --build=i486-slackware-linux

 

But during make it fails with an imap related issue.  I suppose I'm going to have to fix the imap stuff before I get a successful php make. 

 

If you've got any advice or have any notes on how you did that part of the build, I'm all ears  ;)

 

Ps. I originally started messing as I wanted to overcome the fact PCRE is compiled without unicode support.  Fixed that by building the same version with it enabled, however I'm still a bit confused there as although pcretest -C now shows unicode support is enabled, PHP barfs with a preg_replace which uses regex testing characters such as /pL.  The configure line above shows --with-pcre-regex=/usr which I'd have expected means use the shared libs on the system.  But it doesn't seem to work.  So I thought I'd go down the route of build PHP from scratch on a system with PCRE fixed to see what happens.

 

 

Cheers,

overbyrn

Link to comment
  • Squid locked this topic
Guest
This topic is now closed to further replies.