# Transferring applications between servers

**URL:** <https://forum.dimagi.com/t/transferring-applications-between-servers/1781>\
**Category:** Users\
**Created:** [May 29, 2014, 5:47pm UTC](https://forum.dimagi.com/t/transferring-applications-between-servers/1781 "2014-05-29T17:47:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Gale](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@Aaron\_Gale](https://forum.dimagi.com/u/Aaron_Gale)\
**Post date:** [May 29, 2014, 5:47pm UTC](https://forum.dimagi.com/t/transferring-applications-between-servers/1781/1 "2014-05-29T17:47:25Z")

</div>

I have an application running on Dimagi's servers that I'm trying to  
transfer onto a locally hosted version of CommCareHQ. According  
to [https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers](https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers)  
I should be able to access the application source by going to http://[SERVER ADDRESS]/a/[PROJECT  
NAME]/apps/import\_app/?app=\<APP\_ID\> .

That confluence page indicates there should be a text box labeled "Source"  
that I could copy the full source from. However, when I go to that path for  
my project I am pointed to a page that seems to only allow me to reimport  
my application to the same project (ie. Import application _xxx_ from  
domain _yyy_?).

Is this a known issue? Or am I missing some way on this page to view my  
application's source code?

---

<div class="post-metadata">

**Author:** ![Ethan\_Soergel](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/ethan_soergel/32/543_2.png) [@Ethan\_Soergel](https://forum.dimagi.com/u/Ethan_Soergel)\
**Post date:** [May 30, 2014, 8:45am UTC](https://forum.dimagi.com/t/transferring-applications-between-servers/1781/2 "2014-05-30T08:45:28Z")

</div>

Aaron,  
I just tested this out and it seems fine to me. What is the exact url  
you're using? When I go to that link (  
[http://localhost:8000/a/esoergel/apps/import\_app/?app=54951c00b6d81642ae8f6bf7033d6535](http://localhost:8000/a/esoergel/apps/import_app/?app=54951c00b6d81642ae8f6bf7033d6535))  
I see "Import application xxx from domain yyy" as you mentioned, then below  
that are two input fields - "Name", and "Source". The latter of these  
contains the source for that app (although the textarea is absurdly small  
for the amount of information it contains).  
-Ethan

> **···**
>
> On Thu, May 29, 2014 at 7:47 PM, Aaron Gale wrote:
> 
> > I have an application running on Dimagi's servers that I'm trying to  
> > transfer onto a locally hosted version of CommCareHQ. According to  
> > [https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers](https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers)  
> > I should be able to access the application source by going to  
> > http://[SERVER ADDRESS]/a/[PROJECT NAME]/apps/import\_app/?app=\<APP\_ID\> .
> > 
> > That confluence page indicates there should be a text box labeled "Source"  
> > that I could copy the full source from. However, when I go to that path for  
> > my project I am pointed to a page that seems to only allow me to reimport  
> > my application to the same project (ie. Import application _xxx_ from  
> > domain _yyy_?).
> > 
> > Is this a known issue? Or am I missing some way on this page to view my  
> > application's source code?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --

---

<div class="post-metadata">

**Author:** ![czue](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/czue/32/493_2.png) [@czue](https://forum.dimagi.com/u/czue)\
**Post date:** [May 30, 2014, 1:14pm UTC](https://forum.dimagi.com/t/transferring-applications-between-servers/1781/3 "2014-05-30T13:14:41Z")

</div>

Hi Aaron,

Apologies, there was actually an error in the documentation we had  
overlooked which is that it only worked for superusers in the system. I've  
updated the documentation with the correct instructions for normal  
accounts. Could you give it a shot now? In particular, the right URL is:  
http://[SERVER ADDRESS]/a/[PROJECT NAME]/apps/source/\<APP\_ID\>

thanks,  
Cory

> **···**
>
> On Fri, May 30, 2014 at 1:45 AM, Ethan Soergel wrote:
> 
> > Aaron,  
> > I just tested this out and it seems fine to me. What is the exact url  
> > you're using? When I go to that link (  
> > [http://localhost:8000/a/esoergel/apps/import\_app/?app=54951c00b6d81642ae8f6bf7033d6535](http://localhost:8000/a/esoergel/apps/import_app/?app=54951c00b6d81642ae8f6bf7033d6535))  
> > I see "Import application xxx from domain yyy" as you mentioned, then below  
> > that are two input fields - "Name", and "Source". The latter of these  
> > contains the source for that app (although the textarea is absurdly small  
> > for the amount of information it contains).  
> > -Ethan
> > 
> > On Thu, May 29, 2014 at 7:47 PM, Aaron Gale [aaronbgale@gmail.com](mailto:aaronbgale@gmail.com) wrote:
> > 
> > > I have an application running on Dimagi's servers that I'm trying to  
> > > transfer onto a locally hosted version of CommCareHQ. According to  
> > > [https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers](https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers)  
> > > I should be able to access the application source by going to  
> > > http://[SERVER ADDRESS]/a/[PROJECT NAME]/apps/import\_app/?app=\<APP\_ID\> .
> > > 
> > > That confluence page indicates there should be a text box labeled  
> > > "Source" that I could copy the full source from. However, when I go to that  
> > > path for my project I am pointed to a page that seems to only allow me to  
> > > reimport my application to the same project (ie. Import application _xxx_ from  
> > > domain _yyy_?).
> > > 
> > > Is this a known issue? Or am I missing some way on this page to view my  
> > > application's source code?
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaron\_Gale](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@Aaron\_Gale](https://forum.dimagi.com/u/Aaron_Gale)\
**Post date:** [May 30, 2014, 3:38pm UTC](https://forum.dimagi.com/t/transferring-applications-between-servers/1781/4 "2014-05-30T15:38:13Z")

</div>

Worked like a charm, thank you so much Cory.

Best,  
Aaron

> **···**
>
> On Fri, May 30, 2014 at 9:14 AM, Cory Zue wrote:
> 
> > Hi Aaron,
> > 
> > Apologies, there was actually an error in the documentation we had  
> > overlooked which is that it only worked for superusers in the system. I've  
> > updated the documentation with the correct instructions for normal  
> > accounts. Could you give it a shot now? In particular, the right URL is:  
> > http://[SERVER ADDRESS]/a/[PROJECT NAME]/apps/source/\<APP\_ID\>
> > 
> > thanks,  
> > Cory
> > 
> > On Fri, May 30, 2014 at 1:45 AM, Ethan Soergel [esoergel@dimagi.com](mailto:esoergel@dimagi.com) wrote:
> > 
> > > Aaron,  
> > > I just tested this out and it seems fine to me. What is the exact url  
> > > you're using? When I go to that link (  
> > > [http://localhost:8000/a/esoergel/apps/import\_app/?app=54951c00b6d81642ae8f6bf7033d6535](http://localhost:8000/a/esoergel/apps/import_app/?app=54951c00b6d81642ae8f6bf7033d6535))  
> > > I see "Import application xxx from domain yyy" as you mentioned, then below  
> > > that are two input fields - "Name", and "Source". The latter of these  
> > > contains the source for that app (although the textarea is absurdly small  
> > > for the amount of information it contains).  
> > > -Ethan
> > > 
> > > On Thu, May 29, 2014 at 7:47 PM, Aaron Gale [aaronbgale@gmail.com](mailto:aaronbgale@gmail.com) wrote:
> > > 
> > > > I have an application running on Dimagi's servers that I'm trying to  
> > > > transfer onto a locally hosted version of CommCareHQ. According to  
> > > > [https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers](https://confluence.dimagi.com/display/commcarepublic/Transferring+an+Application+Between+Projects+or+Servers)  
> > > > I should be able to access the application source by going to  
> > > > http://[SERVER ADDRESS]/a/[PROJECT NAME]/apps/import\_app/?app=\<APP\_ID\> .
> > > > 
> > > > That confluence page indicates there should be a text box labeled  
> > > > "Source" that I could copy the full source from. However, when I go to that  
> > > > path for my project I am pointed to a page that seems to only allow me to  
> > > > reimport my application to the same project (ie. Import application  
> > > > _xxx_ from domain _yyy_?).
> > > > 
> > > > Is this a known issue? Or am I missing some way on this page to view my  
> > > > application's source code?
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "commcare-users" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "commcare-users" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/commcare-users/2WSXL4yJ-V4/unsubscribe](https://groups.google.com/d/topic/commcare-users/2WSXL4yJ-V4/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> _Aaron Gale_  
> _Project Manager & Global Health Corps Fellow, Vecna Cares Charitable Trust_  
> _M.S. in Global Medicine, USC Keck School of Medicine_  
> _B.A. in Environmental Sciences, Northwestern University_
