Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial sync keeps failing v2.4.116 #5213

Open
tkral-ts opened this issue Sep 24, 2019 · 0 comments
Open

Initial sync keeps failing v2.4.116 #5213

tkral-ts opened this issue Sep 24, 2019 · 0 comments
Labels
S: stale Status: stale. This issue has had no activity in a long time, it may not be relevant anymore T: support Type: support. This issue is seeking support on a problem or question topic: sync This issue involves syncing

Comments

@tkral-ts
Copy link

Dear all,
trying to sync a new MISP instance from misppriv.circl.lu, but it repeatedly fails after some time pulling events. It fails using GUI button or cake CLI the same. When I start the sync process manually, it works few hundreds/thousands events to fail again.

I have updated to the last git version before the last fail happened.

---------------------------- cake log
root@ad75a3acc47e:/var/www/MISP#` .//app/Console/cake Server pull 1 1 full

Welcome to CakePHP v2.10.16 Console

App : app
Path: /var/www/MISP/app/

Error: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x90\xB2\x0D\x0A...' for column 'value1' at row 1
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(502): PDOStatement->execute(Array)
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(468): DboSource->_execute('INSERT INTO mi...', Array) #2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(1132): DboSource->execute('INSERT INTO mi...')
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1942): DboSource->create(Object(Attribute), Array, Array)
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1760): Model->_doSave(Array, Array)
#5 /var/www/MISP/app/Model/Attribute.php(3869): Model->save(Array, Array)
#6 /var/www/MISP/app/Model/MispObject.php(601): Attribute->captureAttribute(Array, '16491', Array, '15590', Object(Log))
#7 /var/www/MISP/app/Model/Event.php(3618): MispObject->captureObject(Array, '16491', Array, Object(Log))
#8 /var/www/MISP/app/Model/Server.php(2304): Event->_add(Array, true, Array, '1', '1', true, '1806')
#9 /var/www/MISP/app/Model/Server.php(2341): Server->__checkIfPulledEventExistsAndAddOrUpdate(Array, '5cda6599-990c-4...', Array, Array, Object(Event), Array, Array, '1806')
#10 /var/www/MISP/app/Model/Server.php(2449): Server->__pullEvent('5cda6599-990c-4...', Array, Array, Object(Event), Array, Array, '1806')
#11 /var/www/MISP/app/Console/Command/ServerShell.php(40): Server->pull(Array, '1', 'full', Array, '1806')
#12 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/Shell.php(459): ServerShell->pull()
#13 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand('pull', Array)
#14 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#15 /var/www/MISP/app/Console/cake.php(32): ShellDispatcher::run(Array)
#16 {main}`

Work environment

Questions Answers
Type of issue Bug
OS version (server) Ubuntu 16.04 (docker)
PHP version 7.3.9-1+ubuntu16.04.1+deb.sury.org+1
MISP version / git hash

Currently installed version… v2.4.116 (0a563c9)
Latest available version… v2.4.116 (fa3c566)
Status… OK
Current branch… 2.4

@enjeck enjeck added S: stale Status: stale. This issue has had no activity in a long time, it may not be relevant anymore T: support Type: support. This issue is seeking support on a problem or question topic: sync This issue involves syncing labels Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: stale Status: stale. This issue has had no activity in a long time, it may not be relevant anymore T: support Type: support. This issue is seeking support on a problem or question topic: sync This issue involves syncing
Projects
None yet
Development

No branches or pull requests

2 participants