Closed rakibulinux closed 3 years ago
After updating the system will be available again. How long you are waiting?
More than one hour
Do you have such file data/treo-composer.log
? Please, delete if such file is exist.
How did you update the system? By ModuleManager? Do you have custom modules?
I update the system via composer update and then change the permission. I don't have custom modules.
data/treo-composer.log
I have deleted it now
Is it OK now?
After delete data/treo-composer.log Error 500: System is updating now! Please try later gone. But it's show The composer daemon is not running! Probably the daemon is reloading now and you should wait a minute or the crontab is not configured. Instructions on how to configure the crontab you can find here.
But you can see I have crontab -e -u www-data
I suppose when you upgrade the system not all migrations were executed. What was your version of core before upgrading?
Did you get any errors while upgrading the system? You may try to run migrations manually php index.php migrate Treo 1.0.68 1.1.34
. But don't forget to change file permissions after.
Thanks @rratsun It's Fixed. Now it's looking good.
I recommend you to reinstall all modules. I suppose that the modules migrations didn't execute to.
Hello @rratsun How are you? I am getting Bad server response from pim.vendir.info/# can you please tell me how I can fix it?
Hello. To find out the reason you should send me the latest logs. data/logs/
Please today logs: log-2021-03-15.log
I see 2 problems.
How I can reinstall all modules?
Remove from composer.json file
"atrocore/pim": "*",
"atrocore/dam": "*",
"atrocore/ldap": "*",
"atrocore/export-feeds": "*",
"atrocore/import-feeds": "*"
then run php composer.phar update
then add modules to composer.json file again
then run php composer.phar update
just in case run php index.php clear cache
after change file permissions
Bad Server error not showing now. But still getting: [2021-03-15 13:47:01] Log.ERROR: CronManager (ScheduledJob [604b1e2b45874c25d]): Unsupported CRON expression [75 1 *] [] []
Please, go to /#ScheduledJob fix the problem. You have configured the Cron expression incorrectly.
Getting new error: Error 500: FileStorageManager: Unknown storage 'DAMUploadDir'
You should manually execute migration for Dam.
Please, run this command php index.php migrate Dam 1.1.3 1.2.0
. Don't forget to change file permissions after.
All these problems happened because upgrade is failed. Not all migration executed and that's why we have what we have. Future upgrades wouldn't have such problems.
Fixed Error 500 DAMUploadDir
Hello i have problem with console? when i do "php composer.phar update" i see "PHP Warning: Module 'pdo_sqlsrv' already loaded in Unknown on line 0 PHP Fatal error: Uncaught PharException: phar "/var/www/atrocore/composer.phar" has a broken signature in /var/www/atrocore/composer.phar:13 Stack trace:
thrown in /var/www/atrocore/composer.phar on line 13"
And i do update with /#Composer/list and in /DATA/LOGS/ i have: " [2023-09-10T07:54:53.576410+00:00] Log.WARNING: E_WARNING: unlink(data/treo-composer.log): No such file or directory {"code":2,"message":"unlink(data/treo-composer.log): No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":130} [] [2023-09-10T08:05:04.015523+00:00] Log.WARNING: E_WARNING: file_get_contents(data/treo-composer.log): failed to open stream: No such file or directory {"code":2,"message":"file_get_contents(data/treo-composer.log): failed to open stream: No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":97} [] [2023-09-10T08:05:04.029435+00:00] Log.WARNING: E_WARNING: unlink(data/treo-composer.log): No such file or directory {"code":2,"message":"unlink(data/treo-composer.log): No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":103} [] [2023-09-10T08:05:04.049219+00:00] Log.WARNING: E_WARNING: file_get_contents(data/treo-composer.log): failed to open stream: No such file or directory {"code":2,"message":"file_get_contents(data/treo-composer.log): failed to open stream: No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":97} [] [2023-09-10T08:05:04.050024+00:00] Log.WARNING: E_WARNING: unlink(data/treo-composer.log): No such file or directory {"code":2,"message":"unlink(data/treo-composer.log): No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":103} [] [2023-09-10T08:09:44.128695+00:00] Log.WARNING: E_WARNING: unlink(data/treo-composer.log): No such file or directory {"code":2,"message":"unlink(data/treo-composer.log): No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":130} [] [2023-09-10T08:20:59.206398+00:00] Log.WARNING: E_WARNING: file_put_contents(data/treo-composer.log): failed to open stream: Permission denied {"code":2,"message":"file_put_contents(data/treo-composer.log): failed to open stream: Permission denied","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":108} [] [2023-09-10T08:20:59.260558+00:00] Log.WARNING: E_WARNING: file_put_contents(data/treo-composer.log): failed to open stream: Permission denied {"code":2,"message":"file_put_contents(data/treo-composer.log): failed to open stream: Permission denied","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":114} [] [2023-09-10T08:20:59.306474+00:00] Log.WARNING: E_WARNING: unlink(data/treo-composer.log): No such file or directory {"code":2,"message":"unlink(data/treo-composer.log): No such file or directory","file":"/var/www/atrocore/vendor/atrocore/core/app/Espo/Console/Daemon.php","line":130} [] "
All described problems related with you server configuration. First two is about your PHP configuration and the others because your files permission configurations.
I've encountered while using your AtroPIM software. I have followed the installation instructions provided in the manual and successfully installed AtroCore on my Windows PC. However, I am facing a challenge with importing CSV files into the system.
The import process seems to initiate correctly, but the status of the import remains 'pending' and does not progress to completion. This issue persists despite several attempts and verifying that the CSV file format aligns with the required specifications.
Could you please provide guidance on how to resolve this issue? If there are specific configurations or steps that I need to ensure for the import process to function correctly, I would greatly appreciate detailed instructions.
Can you please tell me how to fix it? My atropim was working but after the composer update, it's showing like that.
This is my composer file: