# Upgrade from 8.0.2 to 8.2.0 fails w/writeable error

**URL:** <https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204>\
**Category:** Pydio 8\
**Tags:** php5x\
**Created:** [June 8, 2018, 6:16pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204 "2018-06-08T18:16:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [June 8, 2018, 6:16pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/1 "2018-06-08T18:16:13Z")

</div>

I have read through all of the related posts (i.e. [here](https://forum.pydio.com/t/problem-with-upgrade-from-version-7-0-4-to-8-0-0/60) and [here](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553)) for previous versions/upgrades and none seem to apply or provide a solution though the issues/error messages are identical.

I am running Pydio on a QNAP TS-453A. It installed and runs perfectly, but when I try to update from 8.0.2 to 8.2.0 via the updater in the gui I get the following information:

_Applying upgrade pydio-core-upgrade-8.0.2-8.2.0.zip_  
_Checking download permissions_  
_- OK_  
_Downloading upgrade archive_  
_- File saved in /share/CACHEDEV1\_DATA/.qpkg/QPydio/QPydio/data/tmp/update/pydio-core-upgrade-8.0.2-8.2.0.zip_  
_Checking archive integrity_  
_- Hash is ok (cdb26dc061c5c54761374cb8d14ab12b)_  
_Checking files and folders permissions, this may take a while._  
_- **Error : Crawling folder to check all files are writeable : File FAIL! Please make sure that the whole tree is currently writeable by the webserver, or upgrade may probably fail at one point.** _

I have checked the database as recommended in some posts and have tried to determine what rw settings to change but can’t quite match up with the answers posted and the structure on the QNAP.

One post recommended that the “entire tree” needed to be writeable, but I have no idea what “entire tree” refers to on QNAP. Is it the Pydio install folder?

Any help would be appreciated.

---

<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:** [June 11, 2018, 7:23am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/2 "2018-06-11T07:23:41Z")

</div>

Hi,  
this error is listed and has the solution right [here](https://forum.pydio.com/t/upgrade-to-8-2-0-failed/1187/7?u=zayn).

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [June 11, 2018, 1:47pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/3 "2018-06-11T13:47:59Z")

</div>

> Hi,  
> sorry i actually didn’t put all the solution and i’ve just realized it ( silly me ),
> 
> To resume all ,you have to delete a file(sym link) named less that should be located in 2 locations :
> 
> location one : /pydio/plugins/gui.ajax/res/themes/common/css/mui  
> location two : /pydio/plugins/gui.ajax/res/mui/  
> it should work when you have removed it in both of those folders.

Thanks, I had read that post previously.

Problem with that “solution” is that neither of those locations contain a file simply named `less`.  
**Location one** : has `custom.less`, `pydio-mui.css`, `pydio-mui.less`, and `pydio-variables.less`  
**Location two** : is empty

---

<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:** [June 11, 2018, 2:29pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/4 "2018-06-11T14:29:57Z")

</div>

Hi,  
it’s weird,  
this file ( it’s a sym link ) is the one causing the troubles, because the upgrade process first checks if everything is writable etc… and since this `less` file is pointing to nothing it makes the error occur and prevents from upgrading.

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [June 11, 2018, 5:45pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/5 "2018-06-11T17:45:11Z")

</div>

I hear ya, but I guess that is not the issue for me.

![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/2b454af35ee1b5ac8713eaff81b79927d038f2fb.png)  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/7404184c8e3f84caf84d65e02859f82dd31dc3d9.png)

---

<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:** [June 12, 2018, 7:08am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/6 "2018-06-12T07:08:01Z")

</div>

Hi,  
oh you’re on windows i don’t know if windows will display a sym link, you might have to check display hidden files.

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [June 12, 2018, 12:53pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/7 "2018-06-12T12:53:06Z")

</div>

The NAS itself is Linux and I can access the same folders there, just prefer the Windows interface. All hidden files are shown. Those `less` files don’t exist. I’m guessing it has something to do with Pydio being installed on a QNAP NAS.

I’ve tried every recommendation I can find, including manipulating the database tables. Nothing has worked. Still fails with a RW error. If I know what folders to change permissions for and how to do it I think the issue could be resolved.

---

<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:** [June 14, 2018, 12:59pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/8 "2018-06-14T12:59:04Z")

</div>

Hi,  
i reproduced the issue, from scratch and i also happened to forget to add the rights with chmod but once done it fixed everything here’s all the screenshots of my steps,

![18](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/c595c2c51f040221271f5b890ad86801221a61db.jpg)

 ![51](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/4f9dbd21e4b48b2750acb152b608c3e14aa1ed3d.jpg) ![30](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/77bcf6aa7c16569d7f10239dc6a3d7dc59170cf5.jpg)

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [June 14, 2018, 7:27pm UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/9 "2018-06-14T19:27:35Z")

</div>

Thanks for the effort and the screens.  
Unfortunately, I’m not quite that savvy where CLI comes in. I am not sure how I would go about this on the QNAP NAS. Also, wonder how those commands work if the files don’t exist. Will the `less` files be created when running those commands?

Your error message provides an exact path to resolve the issue. Mine is much broader.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/7cfb948942ad2683603d3ac0f8233b8869c69208.jpg)

---

<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:** [June 15, 2018, 7:18am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/10 "2018-06-15T07:18:34Z")

</div>

Hi,  
your error seems to point to a rights issue, because pydio cannot write he couldn’t do the check and then upgrade.

edit : if you could have access through a console and check the rights with a cmd such as `ls` it would be really helpful

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [July 15, 2018, 3:52am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/11 "2018-07-15T03:52:00Z")

</div>

I can ssh in to the NAS but not sure how to proceed from that point.

---

<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:** [July 30, 2018, 8:43am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/12 "2018-07-30T08:43:24Z")

</div>

Hi,  
sorry for the late reply, what you could do is use a command such as `ls -l` when your in the folder containing your pydio installation i would like to see the user:group and the rights.

---

<div class="post-metadata">

**Author:** ![justs](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@justs](https://forum.pydio.com/u/justs)\
**Post date:** [September 22, 2018, 4:40am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/13 "2018-09-22T04:40:48Z")

</div>

I decided to try again as I really miss using Pydio.

This is what I have thus far, is this the info that you need?

![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/2f0d38e3c7f4eaa44c4041ddc3b8cf2962e5e5b0.png)

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/b7bcc57444c154f28aacd447ff603917595e73af.png)

If not, let me know. Now that I figured out how to see the permissions I can navigate through to whatever folder(s) or file(s) are causing the Fail.

---

<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:** [September 24, 2018, 7:55am UTC](https://forum.pydio.com/t/upgrade-from-8-0-2-to-8-2-0-fails-w-writeable-error/1204/14 "2018-09-24T07:55:45Z")

</div>

Hi,  
i see that the owner is the admin, and therefore it cannot write(some have captain as owner) so you have two ways to fix that, you either give it rights with `chmod -R 770 <pydio>` for instance or use `chown -R captain:captain <pydio>` to change the owner of everything in pydio,  
usually the owner should be the one launching the webservice( for example on linux the user handling apache is www-data by design, you actually can change it but it’s for another subject)
