0

Installation Problem (Database error: SQLSTATE[HY000] [2002] No such file or directory)

Heinz Werner W 3 weeks ago updated by Vlad R 3 weeks ago 8

Hi Vlad !

My Version is 2018.11.11. it works under PHP 7.0 and Synology NAS 713+, without Docker.

If I Update to  2019.05.21 and press the download button the notification "load" appears

and never ending.


If I first change PHP 7.0 to PHP 7.2 the following appears:

Database error: SQLSTATE[HY000] [2002] No such file or directory

Do you have any suggestions to solve my Problem

Under PHP 7.0 Filerun still works well.

Answer

Answer

Hi Vlad !

Have explored the 

Troubleshooting MySQL connection problems

section of

How To Install FileRun on Synology DSM NAS using Web Station.

In the pdo_mysql.default_socket section changed "/tmp/mysql.sock" to "/run/mysqld/mysqld.sock",

now the Version 2018.11.11 works under PHP 7.2. and the Update is running!!!!!!!!!!!!!!!


Sorry, don't know why the konfiguration changing has happend in my Synology NAS, but that's

the reason of the Update trouble.

Best regards WW

Under PHP 7.2 I have Installed ioncube for PHP 7.2 , the InfoPHP.php File

is showing that correctly.

Under review

It is possible that, coming from an older FileRun version, that the installation still has older files which might not be compatible with PHP 7.2. (Software updates are not replacing all FileRun application files, but only the changed ones.)

It would probably help to "refresh" the FileRun application files, by replacing them with fresh ones from an installation zip archive matching the FileRun version you are running. The steps to do so are described on this page: http://docs.filerun.com/php7

After that, switching to PHP 7.2 should work better.

I have tried to update a FileRun installation via the control panel "Software upgrade" section

but look at

""

My Version is 2018.11.11. it works under PHP 7.0 and Synology NAS 713+, without Docker.

If I Update to 2019.05.21 and press the download button the notification "load" appears

and never ending.

If I first change PHP 7.0 to PHP 7.2 the following appears:

Database error: SQLSTATE[HY000] [2002] No such file or directory

Do you have any suggestions to solve my Problem

Under PHP 7.0 Filerun still works well. ""

and I

First Overwrited the files with 2018.11.11 and second tried to install Version 2019.05.21

due to copy the files. The error Database error: SQLSTATE[HY000] [2002] No such file or directory

appeares again.Only 2018.11.11 is working with PHP 7.0.

Your hint "It would probably help to "refresh"2018.11.11 the FileRun application files, by replacing them with fresh ones from an installation zip archive matching the FileRun version you are running."

doesn't work !

Might be that Filerun Update doesn't work with Maria database MariaDB5 and need Maria DB10????

Best regards WW

Tried to Install as you supports to me.

First Overwrited the files with 2018.11.11 and second tried to install Version 2019.05.21

due to copy the files. The error Database error: SQLSTATE[HY000] [2002] No such file or directory

appeares again.Only  2018.11.11 is working with PHP 7.0.

Sorry, but Any suggestions?

second tried to install Version 2019.05.21 due to copy the files

The only way to update a FileRun installation is via the control panel "Software upgrade" section.

Answer

Hi Vlad !

Have explored the 

Troubleshooting MySQL connection problems

section of

How To Install FileRun on Synology DSM NAS using Web Station.

In the pdo_mysql.default_socket section changed "/tmp/mysql.sock" to "/run/mysqld/mysqld.sock",

now the Version 2018.11.11 works under PHP 7.2. and the Update is running!!!!!!!!!!!!!!!


Sorry, don't know why the konfiguration changing has happend in my Synology NAS, but that's

the reason of the Update trouble.

Best regards WW

Good to hear that you managed to solve it and thank you for sharing the solution.

I have tried  to update a FileRun installation via the control panel "Software upgrade" section

but look at 

"" 

My Version is 2018.11.11. it works under PHP 7.0 and Synology NAS 713+, without Docker.

If I Update to 2019.05.21 and press the download button the notification "load" appears

and never ending.

If I first change PHP 7.0 to PHP 7.2 the following appears:

Database error: SQLSTATE[HY000] [2002] No such file or directory

Do you have any suggestions to solve my Problem

Under PHP 7.0 Filerun still works well. ""

and I 

First Overwrited the files with 2018.11.11 and second tried to install Version 2019.05.21

due to copy the files. The error Database error: SQLSTATE[HY000] [2002] No such file or directory

appeares again.Only 2018.11.11 is working with PHP 7.0.

Your hint "It would probably help to "refresh"2018.11.11  the FileRun application files, by replacing them with fresh ones from an installation zip archive matching the FileRun version you are running."

doesn't work !

Might be that Filerun Update doesn't work with Maria database MariaDB5 and need Maria DB10????

Best regards WW