NIM_MEDIA location ?

Topics related to the setup and installation of NIM
Post Reply
marc
Posts: 3
Joined: January 22nd, 2019, 9:22 am

NIM_MEDIA location ?

Post by marc »

Hi support,
how can we move the NIM_MEDIA Folder without loosing user icons etc.
thx
marc

marc
Posts: 3
Joined: January 22nd, 2019, 9:22 am

Re: NIM_MEDIA location ?

Post by marc »

found /home/nim/nim-media-path

from the NIM Server
old media path wars /media/<somethinge.here>/NIM_PROJECTS/NIM_MEDIA
new path should be /media/ProjectsHH/.NIM_MEDIA

Code: Select all

nim@NIM:~$ sudo ./nim-media-path /media/ProjectsHH/.NIM_MEDIA
Error: /media/ProjectsHH/.NIM_MEDIA is not a directory!
nim@NIM:~$ sudo mkdir /media/ProjectsHH/.NIM_MEDIA
nim@NIM:~$ sudo ./nim-media-path /media/ProjectsHH/.NIM_MEDIA
Estimating total size of all NIM media... du: cannot access ‘/n/media/’: No such file or directory
Copying NIM media files to new location; this may take a while...
cp: cannot stat ‘/n/media/*’: No such file or directory
Error copying media files to /media/ProjectsHH/.NIM_MEDIA - make sure this location is writable!
but /media/ProjectsHH/.NIM_MEDIA is writable, by root and by nim.

marc
Posts: 3
Joined: January 22nd, 2019, 9:22 am

Re: NIM_MEDIA location ?

Post by marc »

relink "media" in "/n" fixed it !

User avatar
andrew
Site Admin
Posts: 337
Joined: June 24th, 2014, 8:10 am

Re: NIM_MEDIA location ?

Post by andrew »

Hi Marc,

I'm glad you found the nim-media-path script. This will move all media and relink the appropriate folder. Sounds like you've got it sorted out.

For anyone else looking here is a link to the docs describing the nim-media-path script:

https://nim-labs.com/docs/NIM/html/medi ... media-path


Cheers,
Andrew

Post Reply