ok it seems to work for mysql, now i'm going to try the path substitution.
but how can use path substitution with NFS and the rest (database and movies) in SMB?
@Ozymandyaz ?
jpcolin
Member Posts: 53 Joined: Aug 2011 Reputation: 0 |
2012-04-13 18:35
Post: #21
|
| find quote |
mcfreiz
Member Posts: 62 Joined: Oct 2007 Reputation: 0 |
2012-04-14 15:05
Post: #22
having problems finding/editing this file. anyone have detailed instructions on a synology dms 4
(This post was last modified: 2012-04-14 15:06 by mcfreiz.)
|
| find quote |
Ozymandyaz
Member Joined: May 2011 Reputation: 0 Location: Toronto, ON |
2012-04-14 19:48
Post: #23
(2012-04-13 18:35)jpcolin Wrote: ok it seems to work for mysql, now i'm going to try the path substitution. Hi jpcolin - Its really easy actually, the path substitution is only used for the thumbs so it in no way interferes with anything else. You set it up like this in the advanced settings: Code: <pathsubstitution>The <to> section is the only line that ever changes since you will need to choose the protocol and path to your thumbs. If you want SMB, use "smb://<PATH>" for NFS it's "nfs://<PATH>" etc... In your sources you choose what protocol you want for the actual media files, but they do not need to be the same as the protocol used for the path substitution =) Now... You just need to make sure you can make your NFS server work =) Guide for MySQL database using Synology NAS http://quixventure.com/2011/12/configure...-for-xbmc/ Silent AppleTV with Crystalbuntu http://quixventure.com/2011/12/crystalbu...roduction/ |
| find quote |
jpcolin
Member Posts: 53 Joined: Aug 2011 Reputation: 0 |
2012-04-14 19:56
Post: #24
(2012-04-14 19:48)Ozymandyaz Wrote:(2012-04-13 18:35)jpcolin Wrote: ok it seems to work for mysql, now i'm going to try the path substitution. Actually that is what I meant, it is not just replacing smb by nfs in the pathsubstitution line, what else do I have to do? Some config in my Synology ? Any guide?
|
| find quote |
Ozymandyaz
Member Joined: May 2011 Reputation: 0 Location: Toronto, ON |
2012-04-14 20:06
Post: #25
(2012-04-14 15:05)mcfreiz Wrote: having problems finding/editing this file. anyone have detailed instructions on a synology dms 4 Hi mcfreiz - It's no surprise that you cant find the file... Since it doesn't exist =) Turns out that the my.cnf file is totally optional and you will need to create your own on the Synology. Fortunately, its super easy to do, here is how: First, enable terminal in the Synology control panel 'Control Panel -> Terminal' by checking the 'Enable SSH Service' tick box. Now, get an application like putty so that you can SSH to the Synology. Start Putty and connect to the NAS. Login as root and use the same password that you set-up for your admin account (its actually the root account.) Once in, type the following commands: Code: cp /usr/syno/mysql/share/mysql/my-small.cnf /etc/my.cnfThis will copy a sample cnf file to the proper location and then open it in the vi text editor. Use the arrow keys to move down about a page and a half until you see the [mysqld] section. Get the cursor on the line that says "thread_stack = 128" and type the "i" key to enter the edit mode in VI. Hit enter to make a new line and use an arrow key to get to that line. In the blank line add the text: skip-name-resolve Hit escape to exit edit mode, then type: Code: :wqIf you make a mistake and VI gets weird on you, hit escape, then :q! (colon, q, exclamation point, and Enter) This will exit VI without saving. VI can be quirky for the uninitiated... Then you need to restart MySQL, type the following: Code: /usr/syno/etc/rc.d/S21mysql.sh restartIf you messed up, you will probably see an error while re-starting and MySQL will just ignore the cnf file =) Guide for MySQL database using Synology NAS http://quixventure.com/2011/12/configure...-for-xbmc/ Silent AppleTV with Crystalbuntu http://quixventure.com/2011/12/crystalbu...roduction/
(This post was last modified: 2012-04-14 20:21 by Ozymandyaz.)
|
| find quote |
Ozymandyaz
Member Joined: May 2011 Reputation: 0 Location: Toronto, ON |
2012-04-14 20:21
Post: #26
(2012-04-14 19:56)jpcolin Wrote: Actually that is what I meant, it is not just replacing smb by nfs in the pathsubstitution line, what else do I have to do? Some config in my Synology HA NP! Here is the official XBMC Wiki entry for NFS, scroll to the bottom for Synology specific instructions. I actually have no idea if this is all necessary just for Thumbs, but I did it and it worked for me =) http://wiki.xbmc.org/index.php?title=NFS Guide for MySQL database using Synology NAS http://quixventure.com/2011/12/configure...-for-xbmc/ Silent AppleTV with Crystalbuntu http://quixventure.com/2011/12/crystalbu...roduction/ |
| find quote |
zosky
Member+ Joined: Dec 2008 Reputation: 1 Location: toronto. canada |
2012-04-19 05:59
Post: #27
(2012-04-13 14:39)Ozymandyaz Wrote: Ok, I see the issue, there are empty databases named xbmc_video and xbmc_music. In the past you needed to create those, but now it screws up XBMC... Go into phpmyadmin and delete those databases. You only want the ones that end with numbers to remain, I.e. xbmc_video60 and xbmc_music19. ive had this running for a few years now with the mySQL db on a ubuntu-server and 2 xbmc's using nfs for the media + rSync for the cache. upgrading to eden was not clean... because the mySQL user didn't have access to create new databases, but once i got that sorted it migrated everything. ( dharma > rc2 > eden ) i have skip-name-resolve in my.cnf i have entries in my /etc/hosts file on the server and clients both installs browse the library just fine. but updating is PAINFUL rc2 made video58 and eden made video60 ... i just dropped the 2 old ones, but these didn't seem to be getting in my way. xbmc still HANGS when i update the library (from either machine) for 30 sec ... then it starts crawling through my directories ... clearly something is wrong with trying to update, but i don't get it does anyone have a clue what's going on here ![]() box1; is ubuntu lucid minimal + xbmc eden box2; is mint lisa (ubuntu onoric / kde) + xbmc eden ( this has been happening for a while, - dharma & eden- ... but i've been ignoring it, but its starting to gett on my nerves )
8 xbmc frodo's (rc3) ... atom/ion(xbmcBuntu) | amd3000/nVidia9800(mint12) | iphone4(5.1.1) | hpTouchPad(cyanogen9) ... and more + central mySQL db + 11TB mdadm raid6 (+transmission-daemon & flexGet) + maraschino + IRtoy.v2 |
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-04-19 10:22
Post: #28
log file? (first link in my signature)
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |

? Any guide?
)
Search
Help