Coder Social home page Coder Social logo

Comments (10)

rratsun avatar rratsun commented on May 27, 2024

Hello, @rakibulinux
Try to execute mysqldump -h {$config['database']['host']} -u {$config['database']['user']} -p{$config['database']['password']} {$config['database']['dbname']} manually to define the problem. Use the same DB connection params as you use in atro config file (/data/config.php).

from atropim.

rakibulinux avatar rakibulinux commented on May 27, 2024

Hello, @rratsun Thanks for the first reply.
Getting error like this.

You can see mysqldump is working but don't know what happens with php composer.phar update
mysqldump --all-databases > mysqlbackup.sql

Screenshot from 2021-04-29 15-54-16

Screenshot from 2021-04-29 15-57-25

from atropim.

rakibulinux avatar rakibulinux commented on May 27, 2024

Now getting another error:
Error: Unsuccessful attempt to download translations

Screenshot from 2021-04-29 16-08-30

from atropim.

rratsun avatar rratsun commented on May 27, 2024

You didn't understand me.
You should execute:
mysqldump -h {$config['database']['host']} -u {$config['database']['user']} -p{$config['database']['password']} {$config['database']['dbname']}

but firstly replace variables by yours DB configuration.

after replacing you should have something like this:
mysqldump -h localhost -u root -pqwerty123 atrocore

from atropim.

rratsun avatar rratsun commented on May 27, 2024

As for another problem, try to read log filed. /data/logs/

from atropim.

Elvander avatar Elvander commented on May 27, 2024

I had both issues as well

The first issued has to do with the password encryption for mysql:
mysqldump: Got error: 1045: "Plugin caching_sha2_password could not be loaded: Error loading shared library /usr/lib/mariadb/plugin/caching_sha2_password.so: No such file or directory" when trying to connect

Multiple solutions are available https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded

As for the second issue this occurred when the content of config.php was completely erased. I have no idea how it happend but during a cache refresh the contents of the config.php where removed. I restored it with a new config.php ( had to regenerated the passwords because of a different salt). But this resolved the issue.

from atropim.

rakibulinux avatar rakibulinux commented on May 27, 2024

Hi, @rratsun, Getting an error like this.

Error: Unsuccessful attempt to download translations
Screenshot from 2021-04-29 16-08-30

[2021-04-29 13:59:31] Log.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\Core\Utils\Language::__construct() must be of the type string, null given, called in /var/www/html/atrocores/vendor/atrocore/core/app/Treo/Services/Installer.php on line 665" at /var/www/html/atrocores/vendor/atrocore/core/app/Espo/Core/Utils/Language.php line 115 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\Core\Utils\Language::__construct() must be of the type string, null given, called in /var/www/html/atrocores/vendor/atrocore/core/app/Treo/Services/Installer.php on line 665 at /var/www/html/atrocores/vendor/atrocore/core/app/Espo/Core/Utils/Language.php:115)"} []

Screenshot from 2021-04-30 22-36-11

from atropim.

shoppersdirect avatar shoppersdirect commented on May 27, 2024

@rratsun any help on this is greatly appreciated to get the pim up and running again

from atropim.

rratsun avatar rratsun commented on May 27, 2024

Please, check your /data/config.php file. @Elvander wrote earlier that he has the similar problem and for some reason config.php was erased. We didn't reproduce this error yet, so we don't understand haw it can be. But we are working on it.

In the dump/ directory you can find the last project dump, where you can find dump of config.php.

from atropim.

rakibulinux avatar rakibulinux commented on May 27, 2024

Please, check your /data/config.php file. @Elvander wrote earlier that he has the similar problem and for some reason config.php was erased. We didn't reproduce this error yet, so we don't understand haw it can be. But we are working on it.

In the dump/ directory you can find the last project dump, where you can find dump of config.php.

Thanks @rratsun, It's fixed now

from atropim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.