Schar

Members
  • Posts

    72
  • Joined

  • Last visited

Everything posted by Schar

  1. This one has been happening for a long time, but not sure I ever raised it. Whenever one my my UNRAID servers (have 3, 2x 6.4 and one 6.7) reboots due to a power failure (have been a lot recently as the house is a construction site) then, after coming back up, the domain is never automatically rejoined. The details are in the GUI but status is not-joined. Normally rejoins first or second attempt no problem from settings widget. I don't think this is a problem in a controlled reboot, but I don't do them often (generally only on version upgrade, so 100s of days in between). Found an archived post that had something similar reported, but in the deprecated forum.
  2. Just FYI - another alternative is to use DHCP (with or without reservations), that will take care of the A records for you.
  3. I can confirm that this works, and the world is persistent after moving out the mount point. May be tricky when it comes to upgrading the phar but I'll cross that bridge when I come to it (assume the worlds will always be forwards-compatible). Question for anyone running this: has anyone got a clean multi-world solution running? I can start many worlds using the pocketmine.yml configuration file, but the iOS app doesn't seem to handle that well (was hoping I could end up with something like locally stored games, or even migrate the games from the kids iPads to a server that is backed up). Thanks
  4. Self help: advanced settings, add -it to the extra parameters of the template.
  5. Preserving data: To answer one of my other questions it seems that you can run without using the implied docker volume I copied the _data from the self-created volume /var/lib/docker/volumes/138904230984023948/ to my own directory, and added a path mapping /srv/genisys/ to the new _data path. When I start the docker now, it doesn't create a new volume, and it is reading the config from that directory. I proved by editing config and watching the log behaviour change (from online=on to online=off)... logs below. Now just need to make sure the world is properly persistent when I change the docker parameters. [06:07:42] [server thread/INFO]: Genisys is a custom version of PocketMine-MP, modified by iTX Technologies LLC Version: 478c3d4 Target client version: v0.16.0.5 alpha Source code: https://github.com/iTXTech/Genisys [06:07:42] [server thread/INFO]: Loading properties and configuration... [06:07:42] [server thread/WARNING]: SERVER IS RUNNING IN OFFLINE/INSECURE MODE! [06:07:42] [server thread/WARNING]: The server will make no attempt to authenticate usernames. Beware. [06:07:42] [server thread/WARNING]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose. [06:07:42] [server thread/WARNING]: To change this, set "online-mode" to "true" in the server.properties file. [06:07:42] [server thread/INFO]: Selected English (eng) as the base language [06:07:42] [server thread/INFO]: Opening server on 0.0.0.0:19132 [06:07:42] [server thread/INFO]: Genisys is distributed under the GPL License version 3 and later [06:07:43] [server thread/INFO]: Loading recipes... [06:07:43] [server thread/INFO]: Preparing level "Home" [06:07:43] [server thread/INFO]: Preparing level "nether" [06:07:43] [server thread/INFO]: Starting GS4 status listener [06:07:43] [server thread/INFO]: Setting query port to 19132 [06:07:43] [server thread/INFO]: Query running on 0.0.0.0:19132 [06:07:43] [server thread/INFO]: Default game type: Creative Mode [06:07:43] [server thread/INFO]: Done (1.081s)! For help, type "help" or "?" [06:10:17] [server thread/INFO]: Unloading level "Homebush" [06:10:17] [server thread/INFO]: Unloading level "nether" [06:10:18] [server thread/INFO]: Stopping other threads Server has stopped [06:11:03] [server thread/INFO]: Genisys is a custom version of PocketMine-MP, modified by iTX Technologies LLC Version: 478c3d4 Target client version: v0.16.0.5 alpha Source code: https://github.com/iTXTech/Genisys [06:11:03] [server thread/INFO]: Loading properties and configuration... [06:11:03] [server thread/INFO]: Selected English (eng) as the base language [06:11:03] [server thread/INFO]: Opening server on 0.0.0.0:19132 [06:11:03] [server thread/INFO]: Genisys is distributed under the GPL License version 3 and later [06:11:03] [server thread/INFO]: Loading recipes... [06:11:04] [server thread/INFO]: Preparing level "Home" [06:11:04] [server thread/INFO]: Preparing level "nether" [06:11:04] [server thread/INFO]: Starting GS4 status listener [06:11:04] [server thread/INFO]: Setting query port to 19132 [06:11:04] [server thread/INFO]: Query running on 0.0.0.0:19132 [06:11:04] [server thread/INFO]: Default game type: Creative Mode [06:11:04] [server thread/INFO]: Done (0.888s)! For help, type "help" or "?"
  6. Probably a simple / silly question, but how do you use docker attach to get into STDIN/STDOUT? I installed genisys to try out Pocketminecraft, and you have to accept the EULA on start via the commandline. I eventually managed to do this using docker start -ai ... but starting from the GUI and using docker attach on the server should have accomplished the same thing??? I'm connecting to UNRAID using ssh via Putty. Everything else seems good. But when I attach I get nothing. Characters I type are echoed back, but the CTRL+P/Q sequence doesn't unattach and CTRL-C doesn't work either (against any containers). Or am I barking into the wind? Using UNRAID 6.2.4 now. No VMs, six drive array with SSD cache and four docker containers in total. Thanks
  7. Awesome, thanks for this. Was bashing my head against a wall and finally saw the start -ai switch to enable me to run the wizard. Initially I tried the most recent build, being an unsupported version if memdumped, but went back to master and it was good. Question: Is it possible to move the data volume outside of docker.img? I guess I could manually create a symlink inside the docker container replacing _data once the data is extracted, but cannot see a config that would allow this. Would hate to lose worlds if it changed volumes! Every time I reconfigure the container for whatever reason, I have to redo the EULA sequence and another volume is created. Not that useful.... Cheers
  8. Hi Quick question - is there an API over any of the plugins? If possible I'd love to have API for Active Streams (rest/json?) - so that I can write a Windows desktop widget that aggregates active streams from my two UNRAID instances. And performance metrics (as a thought). Thanks!
  9. My AD server has been a "tad" unreliable of late (hardware issues). Anyway - noticed something odd. Scenario: UNRAID IP set with static DNS servers (legacy from v6 beta when DHCP wasn't working for me). The domain controller / DNS server referenced was offline. > logging into the console (or over SSH) - enter the user, very slow prompt for the password and no response (gave up at ten minutes). Never logged in. Now I am well behaved and have a second DNS server, so edited resolve.conf to point to an active DNS server via my Surface and rebooted, and all was good and healthy. Seems a bit odd, but wanted to call it out. On one other occasion where the DC was merrily bouncing itself up and down (I'm suspecting either a dodgy mobo or PSU), I managed to log in (must have been a brief moment when the DNS (LDAP?) services were up - not sure what the dependency was), got into the WebAdmin. Then everything froze until I issued a samba stop via the console. Then the web GUI came back to life. Starting the array in the GUI then required a reboot (which needed some intervention too). I can try and pull logs if anyone is interested. Not a huge deal for me as I've figured out how to resolve (I have other issues when things are not working in DC land) but figured it was worth posting in case anyone else had seen this.
  10. Not a ReiserFS problem? I used to get similar sporadic behaviour like this until I migrated to XFS. May have been fixed since. When that happened to me, I could log in via SSH/telnet; but shutdown wouldn't do anything (FS was stalled). In those cases I used to do this (eek - but easier than going into the basement). echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger https://major.io/2009/01/29/linux-emergency-reboot-or-shutdown-with-magic-commands/
  11. Beaut, thanks! I just got one of those lovely emails from CrashPlan: And of course the CrashPlan-Desktop wouldn't connect. google found the answer here pretty quickly, and the doc rocks. All the steps I did the first time round again but in one place. Seems that the change that broke things was the ui_info key changing from unraid to a (unique per instance?) GUID. This is something I wanted to do on the first install (I have a near-anaphylactic reaction to shared / common secrets like that!) but couldn't easily enough find a way to do it then - changing the server based one and keeping it in sync with the client didn't want to work. But now: easily fixed. Thanks for the great doc.
  12. Just a quick question - were you able to look at shairplay support? Is there something I could do to test this for you? Thanks!!
  13. Interesting question - I like and am also keen on this. I tried creating a volume mapping to /boot, but that didn't want to work (/boot doesn't even show up in the host path drop down). I created a soft link from /cache/boot to /boot (ln -s /cache/boot /boot). But this, to me at least, is quite a large security risk. It could inadvertently give access to the flash files where you don't want it, especially if /cache is shared. Another option that springs to mind... create a backup folder on either the cache or a disk / user drive. Don't export it and create a cron job to copy all files periodically. Or do this manually each time you upgrade or change anything (which is what I do - each time I upgrade I backup the entire flash drive to my windows file server which is subsequently backed up to CrashPlan anyhow ). UPDATE Seems you can do this: [*]Create a mapping in the advanced settings. I did /boot to /boot, and made it read only. [*]Open the CrashPlan client and click the Change button on the backup tab [*]Check the "show hidden files" checkbox in the client (I'm using the CrashPlan-client via RDP from the host). [*]Once you've done this, all sorts of wonderful folders spring to life. Including /boot. [*]Select it and ok away, presto it is backing up (238 files for 700 MB in my case) Currently backing up boot > bzroot (7.59% @ 2.6Mbps)
  14. Great to see that I wasn't smoking something - that is exactly the method I used. Gave up trying to get inheritance working from the UNRAID shell. I like your share based AD groups and that is something I will be doing going forwards, then put them inside other groups for user allocation. Would be good to script this up using setfacl or an equivalent. I think I see what I need to do but never got it working that way!
  15. Dead keen for this too. The more integrated / federated security is, the better these days! I've tried a few things to SSH to UNRAID as a domain user, but haven't quite got it working getent passwd Administrator works a treat. When I try to ssh administrator@localhost, I get permission denied (on correct or incorrect password) a few times, and finally Permission denied (publickey,password,keyboard-interactive). This works too: root@TOWER:/boot# wbinfo -a administrator Enter administrator's password: plaintext password authentication succeeded Enter administrator's password: challenge/response password authentication succeeded Although I'd love to remove the plaintext option. Never liked that. Not sure how to get kerberos auth, the k* commands don't seem to be available. I've found a bunch of information about how to make this work, but most of it relates to change sudoers or modifying sshd_config or configuring /etc/pam.d -- all of which I'd have no idea about how to do in the UNRAID environment in a persistent manner.
  16. Not yet, but that is on my list of things to do. Since I'm hardware based apart from the MCE, I've not really played with software versions. The Boom has great sound for a small device, and the duet upstairs is through a lovely old Pioneer A-400 amplifier. They just don't make them like that any more!
  17. Ah, understood. Even more thanks are in order then! I invested into the ecosystem over a Roku box way back with the original Squeezebox. The deciding factor back then was Squeeze supporting WPA wireless and the Roku only WEP (with a "promise" for firmware updates, and we all know how that works). The only thing that has almost tempted me since is the Sonos kit, but now that I am invested these devices work a treat and are kid friendly. It is a shame that Logitech have basically killed off the hardware side, so whenever I see well priced second hand units I grab them. I have three booms, a duet and four radios. For those that want units, the Logitech Smartradio can be "downgraded" using built in functionality to the SqeezeRadio functionality. If you are looking to experiment at all, you can grab the headless player SqueezeLite (https://code.google.com/p/squeezelite/) that will play out via your PC speakers. Fully controllable from the WebUI. The only issue I have with that is it tends to turn off with power settings, limiting the use on the media centre (shame as that is the primary user of my main hifi gear). It also isn't overly friendly it seems in sharing the channel, if I play a video it doesn't want to start playing again. I'm going to try and port a copy to .NET and deal to play with this (and ignore or demand a no-hibernate run mode via the appropriate APIs). If you want to take any testing offline, drop me a PM and I'll flick you an email address. Cheers!
  18. I had this problem too, resolved pretty quickly via the other thread. See https://lime-technology.com/forum/index.php?topic=33864.msg394325#msg394325 In short; all I had to do was add the following to the Extra Parameters section of the CrashPlan-Desktop community docker configuration (you need to turn on the advanced view when editing settings to see this): --volumes-from CrashPlan And it sprunged to life. Got the Windows client talking too - few messages up outline what is needed. In short Copy .ui_info from the docker /config/id directory to C:\ProgramData\CrashPlan\.ui_info Edit ui.properties in C:\Program Files\CrashPlan\conf to contain the remote server and port as appropriate: serviceHost=10.1.1.111 servicePort=4243
  19. No!! I'd missed that sorry (didn't have advanced view on). And suddenly it all springs to life. Thank you so much. I've since created batch files on my Windows desktop to toggle between configurations, but having the app served over RDP is much cleaner I think! Few hundred Gb (more) backing up now. I'll stop short of the full array that would take years.
  20. I'd be dead keen on this too Happy to play around, but would need some guidance (still all new to this docker thing); my alternative is to leave this running on Windows and install ShairPortw. This isn't my preferred option. The most recent plugin appears to be here https://github.com/disaster123/shairport2_plugin/blob/master/README.md The package / dependency instructions I don't think will work, since apt-get and dpkg don't seem to be on UNRAID. I tried adding the plugin into LMS via the settings and nothing happens. http posts an error: Bad repository http://raw.github.com/disaster123/shairport2_plugin/master/public.xml - Redirection limit exceeded; https just doesn't do anything (doesn't show up in any of the plugins lists). Anyone else willing to help experiment with this one?
  21. Thank you both so much. Thanks. Found the original .ui_info file in there (why it was missing was confusing). I've retained the original and stashed this in the windows file: 4243,unRAID All works beautifully - thank you! No need for SSH. I found the log files on the server and they contained the following, indicating the key mismatch: [07.17.15 16:46:16.980 INFO MQ-UI-1 com.backup42.service.ui.UIController ] Received status request message with invalid token. [07.17.15 16:46:16.981 INFO Factory$Notifier-UI0 com.backup42.service.ui.UIController ] UISession Ended after less than a minute - 698537468441025962 I guess a question pops up here: is there a way to reset the key in the docker to be the same as the Windows installation?? Would be nice to share a key across instances in this case! Where do I find the proper key for the Docker instance? The data in my windows client is now 4243,unRAID which I assume is the key that the instance is expecting. I have no folders mapped in the MATE desktop - I had found that post and double checked. All that is there is the default RDP port.
  22. Question about connecting the client... I've read back quite a few pages and also followed the reddit instructions. Nothing seems to want to work. Apologies if the information is there and I've missed it... My windows client is 4.3.0, I am not using an SSH tunnel (just trying to directly connect a client). I have the CrashPlan docker installed and working. I have found the .ui_info file (contents == 4243,unRAID) I have copied this to C:\Program Files\CrashPlan I have edited to C:\Program Files\CrashPlan\conf\ui.properties to serviceHost=192.168.1.201 servicePort=4243 The docker instance config my.service.xml: <serviceUIConfig> <serviceHost>0.0.0.0</serviceHost> <servicePort>4243</servicePort> When I launch the GUI, it just sits at the splash screen and never gets past that. If I take out the serviceHost / Port config then it goes back to what it should be and connects locally. I can see the backup set and the four other computers backing up to my account (via restore to tab). I've also installed CrashPlan-Desktop. I can RDP to the MATE session and it behaves in the same way, the splash screen is just sitting there and never connects (got bored after 10 mins). I've copied .ui_info into /usr/local/crashplan (and /usr/local/crashplan/conf). I'm missing something, but cannot see what it is. Any clues? Thanks in advance!
  23. Ah ok that makes sense (new to this concept - VMs I have, containers not so much). I'll have a play!! Thanks again.
  24. Hi! Update: I ran a scan again and everything came to life. Will leave the below here for reference unless you'd like me to delete it!! I will run in parallel for a few weeks before deciding which to go forward with Thanks for your efforts in making these containers! I'm starting to experiment with containers (why not say I!) and am initially looking at LMS, CrashPlan and Emby. I've asked some questions in hurricane's support thread about permissions w.r.t. Emby. To summarise quickly: my UNRAID server is in AD mode; all access is via domain credentials so the containers need (?) to be able to access the data in this way, especially if data is being created. Not sure this is a problem for LMS since it doesn't tend to modify files. My immediate problem though is; I've created the LMS container, I can see the gui, but there are a bunch of errors in the logs: [15-07-17 09:43:32.5622] Slim::Schema::Storage::throw_exception (122) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122) frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006) frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 507) frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 112) frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ (/usr/share/perl5/Slim/Control/Request.pm line 2060) frame 5: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 2060) frame 6: Slim::Control::Request::notify (/usr/share/perl5/Slim/Control/Request.pm line 861) frame 7: Slim::Control::Request::checkNotifications (/usr/sbin/squeezeboxserver line 726) frame 8: main::idle (/usr/sbin/squeezeboxserver line 695) frame 9: main::main (/usr/sbin/squeezeboxserver line 1232) [15-07-17 09:43:32.5624] Slim::Control::Request::notify (2062) Error: Failed notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: fulltext_terms [for Statement " SELECT term, d FROM ( SELECT term, SUM(documents) d FROM fulltext_terms WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1 GROUP BY term ORDER BY d DESC ) WHERE d > 500 "] at /usr/share/perl5/Slim/Schema/Storage.pm line 126 [15-07-17 09:43:33.8047] Slim::Utils::SQLiteHelper::postConnect (373) Optimizing DB because of missing or empty sqlite_stat1 table [15-07-17 09:43:33.8596] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! Scanner log: [15-07-17 09:43:32.7855] main::main (204) Starting Logitech Media Server scanner (v7.9.0, 1431440256, Mon May 18 04:05:49 UTC 2015) perl 5.018002 [15-07-17 09:43:32.7859] Slim::Utils::Prefs::init (279) Error: unable to write to preferences directory /config/prefs [15-07-17 09:43:32.9284] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [15-07-17 09:43:33.1166] Slim::Music::Import::runImporter (511) Starting Slim::Music::PlaylistFolderScan scan [15-07-17 09:43:33.1169] Slim::Utils::Scanner::Local::rescan (178) Discovering audio files in /config/Playlists [15-07-17 09:43:33.1401] Slim::Utils::Scanner::Local::__ANON__ (189) Start processing found tracks [15-07-17 09:43:33.1403] Slim::Utils::Scanner::Local::__ANON__ (197) Connect do DB [15-07-17 09:43:33.1405] Slim::Utils::Scanner::Local::__ANON__ (200) Get latest ID [15-07-17 09:43:33.1407] Slim::Utils::Scanner::Local::__ANON__ (222) Delete temporary table if exists [15-07-17 09:43:33.1409] Slim::Utils::Scanner::Local::__ANON__ (225) Re-build temporary table [15-07-17 09:43:33.1412] Slim::Utils::Scanner::Local::__ANON__ (274) Get deleted tracks count [15-07-17 09:43:33.1413] Slim::Utils::Scanner::Local::__ANON__ (281) Get new tracks count [15-07-17 09:43:33.1415] Slim::Utils::Scanner::Local::__ANON__ (286) Get changed tracks count [15-07-17 09:43:33.1418] Slim::Utils::Scanner::Local::__ANON__ (292) Removing deleted audio files (0) [15-07-17 09:43:33.1419] Slim::Utils::Scanner::Local::__ANON__ (370) Scanning new audio files (0) [15-07-17 09:43:33.1420] Slim::Utils::Scanner::Local::__ANON__ (450) Rescanning changed audio files (0) [15-07-17 09:43:33.1422] Slim::Music::Import::endImporter (643) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds. [15-07-17 09:43:33.1551] Slim::Music::Import::runImporter (511) Starting Slim::Plugin::FullTextSearch::Plugin scan [15-07-17 09:43:33.1556] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (408) Starting fulltext index build [15-07-17 09:43:33.1558] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (412) Initialize fulltext table [15-07-17 09:43:33.1565] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (418) Create fulltext index for tracks [15-07-17 09:43:33.2118] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (428) Create fulltext index for albums [15-07-17 09:43:33.2369] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (437) Create fulltext index for contributors [15-07-17 09:43:33.2672] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (447) Create fulltext index for playlists [15-07-17 09:43:33.3052] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (482) Optimize fulltext index [15-07-17 09:43:33.4371] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (497) Fulltext index build done! [15-07-17 09:43:33.4373] Slim::Music::Import::endImporter (643) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0 seconds. [15-07-17 09:43:33.4379] Slim::Music::Artwork::updateStandaloneArtwork (204) Starting updateStandaloneArtwork for 0 albums [15-07-17 09:43:33.4382] Slim::Music::Artwork::precacheAllArtwork (615) Starting precacheArtwork for 0 albums [15-07-17 09:43:33.4383] Slim::Music::Import::endImporter (643) Completed precacheArtwork Scan in 0 seconds. [15-07-17 09:43:33.4658] Slim::Music::Import::runScanPostProcessing (435) Starting Database optimization. [15-07-17 09:43:33.5951] Slim::Music::Import::endImporter (643) Completed dbOptimize Scan in 0 seconds. I have LMS running under windows on my media centre (been using it since the initial Squeezebox, what a device!). The docker application can see the music folder My boom can play music if I browse via the music folder; I can control the boom via the docker LMS gui The music library is empty however (I guess from the SQL errors above). The /config (including the container) directory is on a BTRFS cache drive. The main array is XFS formatted. What can I try to resolve this? Cheers!
  25. Interesting - thanks! Yeah my environment is basically a full AD scenario. So having stuff work in an integrated fashion is quite important! You are spot on with the meta data too - I use MediaCenterMaster for that (have since I started using Media Browser over MCE on Vista years ago!). I'm sure I am going to run into similar issues for Sickrage and a few other automation toys I was looking at. For this specific case, I guess my immediate questions are: - how would I go about changing the UID and GID? - how would the container access networked resources - can it access via SMB using the Id it is running as? Completely understand if this is all too hard - I'll look at a VM for some of this at the same time and may experiment in parallel. I have much of this running already but would rather it ran server side than on my main MCE client machine... Thanks!