If you’ve come here looking for a solution to your Mac locking up everytime you enable iCloud Photo Library, you’ve come to the right place.
You’re probably enabling it for the first time and your system keeps freezing for some unknown reason, either not being able to wake from sleep or going completly unresponsive.
The same thing happened to us. After pounding our heads against the wall for a good week, we noticed the library had all manner of weird files in there like AVI and PSD. Photos did not like this one bit as it to tried to convert them during the upload process.
You’ll need to manually identify and remove these files individually in order for the upload process to succeed. If you’ve removed them all and it still freezes, you probably still have files in there Photos doesn’t like.
Once they’ve all been removed, Photos should sync and upload the remaining files.
Migrating to new interface names in Debian 9 Stretch
Upgrading from Debian 8 (Jessie) to Debian 9 (Stretch) will retain the old interface names (eth0, eth1). This was intentionally done to provide a path of least disruption when it came to upgrades. New installations will automatically use the new naming convention.
If you’d rather migrate to the new interface names, remove the following file:
/etc/systemd/network/99-default.link
Then edit /etc/network/interfaces accordingly with the new interface name.
Inability to create new Logstash indexes in Elasticsearch 2.0
If you’ve recently upgraded to Elasticsearch 2.0 and Logstash 2.0, you may find that Logstash is no longer able to create indexes in Elasticsearch, as evidenced by the following error in the Elasticsearch logs.
[code lang=text]
MapperParsingException[Mapping definition for [geoip] has unsupported parameters: [path : full]]
[/code]
This error was due to a bug in the elasticsearch output plugin of Logstash 2.0 which has since been fixed, but your logstash template within Elasticsearch might still contain the old mapping.
To remedy the situation, run the following command to prune the old template:
[code lang=text]
curl -XDELETE http://localhost:9200/_template/logstash?pretty
[/code]
That should do it.
Minecraft and Terraria News RSS Feeds
For some reason which I can not fathom, both the Minecraft and Terraria News pages are not RSS capable. Thanks to Feed43, I bring you the RSS feeds for both! Just plug the below feeds into your favourite RSS reader and away you go.
Minecraft – http://feeds.feedburner.com/minecraft-news
Terraria – http://feeds.feedburner.com/News-Terraria
Let me know if you run into any issues.
Enjoy!
Fixing the VMware Tools HGFS module under Linux
HGFS is an awesome little tool that lets you expose chosen folders on your Mac to a VM. This allows you to develop on your Mac and test content from your VM without having to first transfer files between your host system and the VM. Problem is the HGFS module in VMware Tools v9.9.2 that comes with the latest versions of VMware Fusion will not compile.
You’ll see the following errors:
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64' CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/backdoor.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/backdoorGcc64.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/bdhandler.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/cpName.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/cpNameLinux.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/cpNameLite.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/dentry.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/dir.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/file.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/filesystem.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/fsutil.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/hgfsBd.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/hgfsEscape.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/hgfsUtil.o CC [M] /tmp/modconfig-7P0yca/vmhgfs-only/inode.o /tmp/modconfig-7P0yca/vmhgfs-only/inode.c: In function ‘HgfsPermission’: /tmp/modconfig-7P0yca/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’ /tmp/modconfig-7P0yca/vmhgfs-only/inode.c:1978:34: warning: initialization from incompatible pointer type [enabled by default] /tmp/modconfig-7P0yca/vmhgfs-only/inode.c:1978:34: warning: (near initialization for ‘dentry’) [enabled by default] /tmp/modconfig-7P0yca/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’ make[4]: *** [/tmp/modconfig-7P0yca/vmhgfs-only/inode.o] Error 1 make[3]: *** [_module_/tmp/modconfig-7P0yca/vmhgfs-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64' make: *** [vmhgfs.ko] Error 2 make: Leaving directory `/tmp/modconfig-7P0yca/vmhgfs-only'
VMware are taking their sweet time fixing the problem, but there is a workaround. Follow the steps below.
Install vmware tools but don’t run vmware-config-tools.pl when the question comes up. Then do the following:
- cd /usr/lib/vmware-tools/modules/source
- tar xf vmhgfs.tar
- rm vmhgfs.tar
- sed -i -e”s/d_alias/d_u.d_alias/” vmhgfs-only/inode.c
- tar cf vmhgfs.tar vmhgfs-only
- rm -rf vmhgfs-only
- vmware-config-tools.pl
What you’re doing there is patching inode.c. HGFS will then compile cleanly.
Update: This issue is now fixed in VMware Fusion 7.1.2. HGFS in this version complies cleanly without needing any modifications.