# Clean Install Fails

**URL:** <https://forum.pydio.com/t/clean-install-fails/2421>\
**Category:** Pydio Cells\
**Tags:** install\
**Created:** [April 28, 2019, 4:38pm UTC](https://forum.pydio.com/t/clean-install-fails/2421 "2019-04-28T16:38:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![siil-it-man](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@siil-it-man](https://forum.pydio.com/u/siil-it-man)\
**Post date:** [April 28, 2019, 4:38pm UTC](https://forum.pydio.com/t/clean-install-fails/2421/1 "2019-04-28T16:38:40Z")

</div>

I’m doing a browser based install onto a fully patched debian 9 system with MariaDB 10.3.14.  
The install command runs ok through the initial config and everything goes through on the web until it gets to ‘apply installation\creation of logs directory’. On the next step it throws and error  
_Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded_  
Watching the install run in the console, there is an error but it flashes by so quick, I cant see what it is.  
If I try access the site, all I get is the loading logo and nothing else.

Can anyone point me to where the install dumps its logs so I can try work out what’s failing or is there some way of slowing the console output so I can see what error it’s throwing?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [April 30, 2019, 7:06am UTC](https://forum.pydio.com/t/clean-install-fails/2421/2 "2019-04-30T07:06:05Z")

</div>

Hi,  
what pydio cells version are you installing (if you don’t know you can do `./cells version`  
could you describe your setup (os, software versions) do you have a reverse proxy and also what did you put during the install.

---

<div class="post-metadata">

**Author:** ![siil-it-man](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@siil-it-man](https://forum.pydio.com/u/siil-it-man)\
**Post date:** [April 30, 2019, 8:17am UTC](https://forum.pydio.com/t/clean-install-fails/2421/3 "2019-04-30T08:17:13Z")

</div>

Hi Zayn,  
We are running Pydio Enterprise 1.5.0  
Debian 9.9  
MariaDB 10.3.14  
We don’t have a reverse proxy running

During the install we logged in with a dedicated user account & used the following settings  
Browser-based install  
internal url=servername.domain.local:9000  
We have a public key and cert for the external url so directed the app to those files  
redirect 80 to https - yes  
external url=https://cloud.domain.com

At this point we go to another system and point the browser to the internal url as the debian 9 system is console only  
enter the enterprise license  
configure the database  
configure the site name and admin details  
edit the path of the default data source (we have a big network drive mounted)  
click on the install now

On the web interface we get an error almost immediate but looking at the console i’m seeing cannot run action ‘action.command.resync’ and a lot of pydio.gateway.proxy restarts

Anything else you need, let me know

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [April 30, 2019, 2:08pm UTC](https://forum.pydio.com/t/clean-install-fails/2421/4 "2019-04-30T14:08:33Z")

</div>

Just to be sure you used `setcap 'cap_net_bind_service=+ep' cells-enterprise` (to enable port 80 & 443 access), also could you show me some lines from the cells.log.

---

<div class="post-metadata">

**Author:** ![siil-it-man](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@siil-it-man](https://forum.pydio.com/u/siil-it-man)\
**Post date:** [April 30, 2019, 2:28pm UTC](https://forum.pydio.com/t/clean-install-fails/2421/5 "2019-04-30T14:28:07Z")

</div>

This may be me being stupid but I can’t see cells.log.  
I’ve got audit, caddy\_errors & tasks logs under .config/pydio/cells/logs/, nothing else.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [April 30, 2019, 2:44pm UTC](https://forum.pydio.com/t/clean-install-fails/2421/6 "2019-04-30T14:44:11Z")

</div>

oh my bad, to have cells.log you must use it as a service (systemd, supervisord) could just show me what you got on the terminal.

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [May 1, 2019, 11:11am UTC](https://forum.pydio.com/t/clean-install-fails/2421/7 "2019-05-01T11:11:39Z")

</div>

Hello.

I don’t really understand your setup: you say you are not running behind a reverse proxy and yet says that you defined a bind URL with a custom `:9000`. That cannot work.

If:

- your Pydio Cells instance is directly facing internet
- you rely on the embedded Caddy to be the TLS termination point for your FQDN

you must use the `:443` port for your Bind URL.

About **where to find the logs** , as @zayn said, it depends on how you start the app:

If you have done a `./cells-enterprise install` with a remote ssh client on your server, the full log is in the console. Same if you then do a `./cells-enterprise start`

Then if you start Cells with systemd or supervisor, you define where to find the logs in the configuration files of these tools, as explained in [the doc here for instance](https://pydio.com/en/docs/kb/devops/running-cells-service-systemd).

Thus said, if you still have a problem installing, we will need the install log from your console to help further.

Regards.

---

<div class="post-metadata">

**Author:** ![geverwills](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@geverwills](https://forum.pydio.com/u/geverwills)\
**Post date:** [September 28, 2020, 8:08am UTC](https://forum.pydio.com/t/clean-install-fails/2421/8 "2020-09-28T08:08:01Z")

</div>

This is happening because of the CORS (Cross Origin Resource Sharing) error. This error occurs when you try to access a domain/resource from another domain. You cannot issue requests through the XMLHttpRequest to other domains or subdomains. For example, if you are doing something like writing HTML and [Javascript](http://net-informations.com/js/iq/default.htm) in a code editor on your personal computer, and testing the output in your browser, you might probably get error messages about Cross Origin Requests .

JSONP ( JSON with Padding ) is a method commonly used to bypass the cross-domain policies in web browsers.

If this is for local development and you are using Chrome , you need to run Chrome with a couple of arguments to relax security like this:

`"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files --disable-web-security`

If you need to enable CORS on the server in case of localhost, you need to have the following on request header.

`Access-Control-Allow-Origin: http://localhost:9999`

The other easy way out, would be to create a proxy on your local server, which gets the remote request and then just forwards it back to your javascript.
