# Change storagedir

**URL:** <https://community.wowza.com/t/change-storagedir/36303>\
**Category:** Wowza Streaming Engine\
**Created:** [December 2, 2011, 1:29am UTC](https://community.wowza.com/t/change-storagedir/36303 "2011-12-02T01:29:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuan\_phan\_van](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tuan\_phan\_van](https://community.wowza.com/u/tuan_phan_van)\
**Post date:** [December 2, 2011, 1:29am UTC](https://community.wowza.com/t/change-storagedir/36303/1 "2011-12-02T01:29:49Z")

</div>

Hi all

I have changed my vod storage from ${com.wowza.wms.context.VHostConfigHome}/content to home/voduser

Then it has worked ok on website, but i couldn’t play on ipad

When i change the storage to default ${com.wowza.wms.context.VHostConfigHome}/content, it worked ok again

I don’t know how can i change my storage???

---

<div class="post-metadata">

**Author:** ![tuan\_phan\_van](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tuan\_phan\_van](https://community.wowza.com/u/tuan_phan_van)\
**Post date:** [December 2, 2011, 1:53am UTC](https://community.wowza.com/t/change-storagedir/36303/2 "2011-12-02T01:53:21Z")

</div>

sorry. now i can play it, but i can’t play .mov file on ipad???file .mov worked ok on web

---

<div class="post-metadata">

**Author:** ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)\
**Post date:** [December 2, 2011, 9:01am UTC](https://community.wowza.com/t/change-storagedir/36303/3 "2011-12-02T09:01:25Z")

</div>

Check to make sure the Wowza process has permissions to read the file - if you’re using an MP4 .mov file, you’ll need to prefix the filename with mp4: like this:

[http://server.ip/vodapplication/mp4:movie.mov/playlist.m3u8](http://server.ip/vodapplication/mp4:movie.mov/playlist.m3u8)

If the MOV file is not encoded with h.264/aac, you’ll need to convert the file.

-Ian

---

<div class="post-metadata">

**Author:** ![tuan\_phan\_van](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tuan\_phan\_van](https://community.wowza.com/u/tuan_phan_van)\
**Post date:** [December 2, 2011, 6:01pm UTC](https://community.wowza.com/t/change-storagedir/36303/4 "2011-12-02T18:01:18Z")

</div>

I have used link: [http://ipaddress:1935/vod/mp4:new/sample.mp4/playlist.m3u8](http://ipaddress:1935/vod/mp4:new/sample.mp4/playlist.m3u8), my storage is /home/voduser

and my wowza log is

WARN server comment 2011-12-03 09:50:17 - - - - - 0.724 - - - - - - - sample.mp4 MediaReaderH264.open[1]: java.io.FileNotFoundException: /home/voduser/sample.mp4 (No such file or directory)

In the log, we can see that it open the wrong path file /home/voduser/sample.mp4 (the correct path must be /home/voduser/new/sample.mp4)

I don’t know why the subfolder didn’t work???

---

<div class="post-metadata">

**Author:** ![tuan\_phan\_van](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tuan\_phan\_van](https://community.wowza.com/u/tuan_phan_van)\
**Post date:** [December 5, 2011, 2:39am UTC](https://community.wowza.com/t/change-storagedir/36303/5 "2011-12-05T02:39:39Z")

</div>

I have tried but it didn’t work ☹

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [December 2, 2011, 5:53pm UTC](https://community.wowza.com/t/change-storagedir/36303/6 "2011-12-02T17:53:01Z")

</div>

Hi dragelec,

When you have subfolders in your content dir, you need to add “_definst_” like this to separate the path from the instance name:

[http://ipaddress:1935/vod/_definst_/mp4:new/sample.mp4/playlist.m3u8](http://ipaddress:1935/vod/_definst_/mp4:new/sample.mp4/playlist.m3u8)

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [December 5, 2011, 1:55am UTC](https://community.wowza.com/t/change-storagedir/36303/7 "2011-12-05T01:55:10Z")

</div>

Hi draglec,

1. What is the value of your StorageDir property?

2. What is the full URI that you are trying to play?

3. Does sample.mp4 exist in the correct folder?

4. What errors do you get in the Wowza console/logs when you try to play the stream?
