# Install UQLab on server

**URL:** <https://uqworld.org/t/install-uqlab-on-server/546>\
**Category:** Community Q&A and How To\
**Tags:** matlab, uqlab\
**Created:** [March 18, 2020, 5:19pm UTC](https://uqworld.org/t/install-uqlab-on-server/546 "2020-03-18T17:19:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmetivie](https://uqworld.org/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@dmetivie](https://uqworld.org/u/dmetivie)\
**Post date:** [March 18, 2020, 5:19pm UTC](https://uqworld.org/t/install-uqlab-on-server/546/1 "2020-03-18T17:19:41Z")

</div>

I would like to install UQLab on the Matlab that I use on my laboratory cluster (so I don’t have full root access). I got the license and the UQLab files folder.  
I am aware of this thread [Install UQLab without write access to matlabroot](https://uqworld.org/t/install-uqlab-without-write-access-to-matlabroot/296), so I tried in my local working directory  
create a folder `mymatlab`  
In Matlab in

```matlab
Preferences->General->Initial Working Folder

```

I set `/home/dmetivie/mymatlab` as my Initial working folder.  
create an empty file `pathdef`in `mymatlab` folder  
then in UQLabCore\_Rel1.3.0/core/  
when I run `uqlab_install` I get

> ```
> No available license for the optimization toolbox and for the global optimization toolbox
> Warning: Some features of the software may not be available 
> > In uqlab_install 
> Warning: the UQLab installer detected that the MATLAB path could not be saved.
> Please make sure that the MATLAB startup folder is set to a writable location in the MATLAB preferences:
> Preferences->General->Initial Working Folder
> 
> Checking for updates...
> The installation was not successful!
> The installer returned the following message: Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
> 
> ```

Do you know what I am doing wrong?  
Thanks

---

<div class="post-metadata">

**Author:** ![c.lataniotis](https://uqworld.org/user_avatar/uqworld.org/c.lataniotis/32/213_2.png) [@c.lataniotis](https://uqworld.org/u/c.lataniotis)\
**Post date:** [April 16, 2020, 2:20pm UTC](https://uqworld.org/t/install-uqlab-on-server/546/3 "2020-04-16T14:20:12Z")

</div>

Hello @dmetivie,

About the error you get: could you please try executing the following command within Matlab

```
urlread('https://uqlicense.ethz.ch/verify_access/') 

```

and let us know about the result you get?

---

<div class="post-metadata">

**Author:** ![damarginal](https://uqworld.org/user_avatar/uqworld.org/damarginal/32/73_2.png) [@damarginal](https://uqworld.org/u/damarginal)\
**Post date:** [December 4, 2020, 3:07pm UTC](https://uqworld.org/t/install-uqlab-on-server/546/4 "2020-12-04T15:07:18Z")

</div>

7 posts were split to a new topic: [Loading UQLab on a cluster](https://uqworld.org/t/loading-uqlab-on-a-cluster/965)

---

<div class="post-metadata">

**Author:** ![GPLai](https://uqworld.org/user_avatar/uqworld.org/gplai/32/403_2.png) [@GPLai](https://uqworld.org/u/GPLai)\
**Post date:** [January 26, 2021, 11:56am UTC](https://uqworld.org/t/install-uqlab-on-server/546/5 "2021-01-26T11:56:40Z")

</div>

> [@c.lataniotis](#):
>
> ```matlab
> urlread('https://uqlicense.ethz.ch/verify_access/') 
> 
> ```

Dear Christos,  
I’m up against same problem as Dmetivie, when I tried top install UQLAB in a commericial HPC.  
The Following are the message I got:

 ![QQ图片20210126195537](https://uqworld.org/uploads/default/original/1X/e592409e6564de02bfd955b5f43d97f62cbcd93d.png)

---

<div class="post-metadata">

**Author:** ![GPLai](https://uqworld.org/user_avatar/uqworld.org/gplai/32/403_2.png) [@GPLai](https://uqworld.org/u/GPLai)\
**Post date:** [January 26, 2021, 12:04pm UTC](https://uqworld.org/t/install-uqlab-on-server/546/6 "2021-01-26T12:04:19Z")

</div>

And when I input: urlread(‘[https://uqlicense.ethz.ch/verify\_access/](https://uqlicense.ethz.ch/verify_access/)’) , I got following messages. ![QQ图片20210126200401](https://uqworld.org/uploads/default/original/1X/99b82714aad50bb0442602319aba030d79227bfb.png)

---

<div class="post-metadata">

**Author:** ![ste](https://uqworld.org/user_avatar/uqworld.org/ste/32/122_2.png) [@ste](https://uqworld.org/u/ste)\
**Post date:** [January 29, 2021, 5:09pm UTC](https://uqworld.org/t/install-uqlab-on-server/546/7 "2021-01-29T17:09:35Z")

</div>

Dear all,  
The problem is not on the UQLab side: please contact your server admins and show them the message.

The DNS can’t resolve the address of uqftp.ethz.ch . This is a network configuration issue (are the servers airtight, i.e. not directly connected to the internet?).

UQLab requires a live internet connection, in particular outwards connectivity to port 443 (https) of both uqlicense.ethz.ch (licensing) and uqftp.ethz.ch (updating).

If you still have issues, please contact us at uqlab@ethz.ch for support.

Take care  
Stefano

---

<div class="post-metadata">

**Author:** ![GPLai](https://uqworld.org/user_avatar/uqworld.org/gplai/32/403_2.png) [@GPLai](https://uqworld.org/u/GPLai)\
**Post date:** [January 30, 2021, 10:51am UTC](https://uqworld.org/t/install-uqlab-on-server/546/8 "2021-01-30T10:51:26Z")

</div>

Thanks Stefano,  
It’s great, I have solved this problem!  
Zhipeng Lai
