# \[solved\] Issue with pydio upgrade 7.0.4 to 8.0.1

**URL:** <https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553>\
**Category:** Pydio 8\
**Tags:** linux, nginx, solved\
**Created:** [January 26, 2018, 1:31pm UTC](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553 "2018-01-26T13:31:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clementl](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@clementl](https://forum.pydio.com/u/clementl)\
**Post date:** [January 26, 2018, 1:31pm UTC](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553/1 "2018-01-26T13:31:57Z")

</div>

Hi,

I am running Pydio 7.0.4 on ubuntu 14.04 with PHP “PHP 7.0.17-2+deb.sury.org~trusty+1” and Nginx  
For info, SELINUX Disabled.

I have an issue when I try to upgrade my pydio server from v7.0.4 - 2017-02-02 to version 8.0.1.  
When I click on “Start Upgrade”, I have the following error message.

```
Applying upgrade pydio-core-upgrade-7.0.4-8.0.0.zip
Checking download permissions
- OK
Downloading upgrade archive
- File saved in /var/www/pydio/data/tmp/update/pydio-core-upgrade-7.0.4-8.0.0.zip
Checking archive integrity
- Hash is ok (43ee2a94037a1d9784bac8ebbd77b79e)
Checking folders permissions
- OK
Extracting Archive
- 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 already read the post “[Problem with upgrade from version 7.0.4 to 8.0.0](https://forum.pydio.com/t/problem-with-upgrade-from-version-7-0-4-to-8-0-0/60)”.

Charles said that it was a table collation issue so I checked my engine and charset used for my tables but all my tables are using “innodb” natively and the charset are “utf8\_unicode\_ci” except for table “ajxp\_version”.

**Below the extract** :

```
mysql> SELECT TABLE_NAME, ENGINE, TABLE_COLLATION FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'pydiodb';
+---------------------+--------+-----------------+
| TABLE_NAME | ENGINE | TABLE_COLLATION |
+---------------------+--------+-----------------+
| ajxp_changes | InnoDB | utf8_unicode_ci |
| ajxp_feed | InnoDB | utf8_unicode_ci |
| ajxp_groups | InnoDB | utf8_unicode_ci |
| ajxp_index | InnoDB | utf8_unicode_ci |
| ajxp_log | InnoDB | utf8_unicode_ci |
| ajxp_mail_queue | InnoDB | utf8_unicode_ci |
| ajxp_mail_sent | InnoDB | utf8_unicode_ci |
| ajxp_mq_queues | InnoDB | utf8_unicode_ci |
| ajxp_plugin_configs | InnoDB | utf8_unicode_ci |
| ajxp_repo | InnoDB | utf8_unicode_ci |
| ajxp_repo_options | InnoDB | utf8_unicode_ci |
| ajxp_roles | InnoDB | utf8_unicode_ci |
| ajxp_simple_store | InnoDB | utf8_unicode_ci |
| ajxp_tasks | InnoDB | utf8_unicode_ci |
| ajxp_tasks_nodes | InnoDB | utf8_unicode_ci |
| ajxp_user_bookmarks | InnoDB | utf8_unicode_ci |
| ajxp_user_prefs | InnoDB | utf8_unicode_ci |
| ajxp_user_rights | InnoDB | utf8_unicode_ci |
| ajxp_user_teams | InnoDB | utf8_unicode_ci |
| ajxp_users | InnoDB | utf8_unicode_ci |
| ajxp_version | InnoDB | latin1_swedish_ci |
+---------------------+--------+-----------------+
21 rows in set (0.00 sec)

```

Do you know where and which logs I can check to get more informations about the error messages given by the GUI ?

Thanks for your help.  
Bye

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [January 26, 2018, 4:09pm UTC](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553/2 "2018-01-26T16:09:52Z")

</div>

> [@clementl](#):
>
> 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.

You should give read/write permission on /var/www/pydio/[code php] recursively to nginx so that he can carry out the replacement of files/folder during update

---

<div class="post-metadata">

**Author:** ![clementl](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@clementl](https://forum.pydio.com/u/clementl)\
**Post date:** [January 29, 2018, 12:52pm UTC](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553/3 "2018-01-29T12:52:33Z")

</div>

Hello c12simple,

_I did a snapshot before doing this_

I am not sure to fully understand what do you mean by “/var/www/pydio/[code php]”. but I run the below command from the repertory “/var/www/pydio” but the error is exactly the same as before.

`find . -type f -name '*.php' -exec chmod -R -u+rw {} \;`

Could you developp what I should do please ? Or do you have any tips about where I can look for logs about this error ?

Thanks you very much.  
Br,

---

<div class="post-metadata">

**Author:** ![clementl](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@clementl](https://forum.pydio.com/u/clementl)\
**Post date:** [January 29, 2018, 1:06pm UTC](https://forum.pydio.com/t/solved-issue-with-pydio-upgrade-7-0-4-to-8-0-1/553/4 "2018-01-29T13:06:55Z")

</div>

Hi again,

I just find out why the upgrade didn’t work as expected. In my case, the file “phpinfo.php” located in “/var/www/pydio” and a custom image in the directory “/var/www/pydio/plugins/gui.ajax/res/themes/orbit/images” was belonging to root instead of “www-data”.

Thanks you.

Best regards,
