<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7549196375849659608</id><updated>2026-06-03T18:38:10.534+05:30</updated><category term="Odoo"/><category term="OpenERP"/><category term="PHP"/><category term="CakePHP"/><category term="Magento"/><category term="java"/><category term="odoo10"/><category term="JFreeChart"/><category term="MySQL"/><category term="Ubuntu 14.04"/><category term="Barcode"/><category term="ERP"/><category term="JavaScript"/><category term="jquery"/><category term="API"/><category term="AW Followupemail"/><category term="Apache"/><category term="CSS"/><category term="CentOS8"/><category term="Centos 7"/><category term="DOMPDF"/><category term="File Upload"/><category term="Linux"/><category term="Nginx"/><category term="OAUTH"/><category term="PHP 5.3"/><category term="Python"/><category term="RHEL8"/><category term="TinyMCE"/><category term="Unix"/><category term="bit.ly"/><category term="bitly"/><category term="elasticsearch"/><category term="elasticsearch7"/><category term="github"/><category term="odoo12"/><category term="odoo13"/><category term="postgresql"/><category term="$_POST"/><category term="&#39;[08001]"/><category term=".gitignore"/><category term="3DLineChart"/><category term="3of9"/><category term="500"/><category term="99% availability"/><category term="ACID"/><category term="ACL"/><category term="Absolute Positioning in CSS"/><category term="Access Remote Server"/><category term="Admin 404"/><category term="Aptana"/><category term="Authorize.net"/><category term="Best Tutorials"/><category term="Blogger"/><category term="Blogspot"/><category term="CORS"/><category term="CakePHP 1.3"/><category term="CakePHP Auth Component"/><category term="Cakephp Find conditions"/><category term="Celery"/><category term="CentOS 6"/><category term="CentOS 6 GUI"/><category term="Chrome"/><category term="Cloud Computing"/><category term="Cloudflare"/><category term="CnetOS 6 Installation"/><category term="Contact Form"/><category term="Cookies"/><category term="Creately"/><category term="Database Properties"/><category term="Datatables"/><category term="Date()"/><category term="DefaultButtonListener"/><category term="Django"/><category term="Eclipse"/><category term="Email Customer"/><category term="Employee Code"/><category term="Error Handling"/><category term="FB API"/><category term="FB App"/><category term="FTP"/><category term="FTP over SSL"/><category term="Facebook"/><category term="Feed"/><category term="Feedburner"/><category term="File Inclusion"/><category term="File and Folder selection in java"/><category term="Firefox Service Worker Error"/><category term="First-party Cookies"/><category term="Flickr"/><category term="Flowchart"/><category term="FolderChooser"/><category term="GROUP_CONCAT"/><category term="Google Analytics"/><category term="Google Apps"/><category term="Google+ Badge"/><category term="HTML to PDF converter"/><category term="Hashtable"/><category term="IDE"/><category term="Important Statement"/><category term="Important Statement in CSS"/><category term="InnoDB"/><category term="JDirectoryChooser"/><category term="JFileChooser"/><category term="JIRA"/><category term="JSmooth"/><category term="JamfAAD"/><category term="Jinja2"/><category term="Laravel5"/><category term="MIGS Payment Gateway"/><category term="Merchant Email Receipt"/><category term="Mollie Payment Gateway"/><category term="Multivalidation"/><category term="MyISAM"/><category term="MySQL Basics"/><category term="Netbeans"/><category term="Newsletter"/><category term="OAuth 1.0"/><category term="Odesk"/><category term="OpenERP openerp-server"/><category term="Overloading"/><category term="PDO"/><category term="PHP Basics"/><category term="PHP Security Tips"/><category term="PHP Syntax"/><category term="PHP and Android"/><category term="PHP header()"/><category term="Persistent Cookies"/><category term="Positioning in CSS"/><category term="PostgreSQL 12"/><category term="Qweb Template"/><category term="RabbitMQ"/><category term="Regular Expression"/><category term="Relative Positioning in CSS"/><category term="SCP"/><category term="SFTP"/><category term="SMS Gateway"/><category term="SQL Injections"/><category term="SSH File Transfer Protocol"/><category term="SSH PHP"/><category term="SSL Certificates"/><category term="Safari"/><category term="Secure Copy"/><category term="Secure File Transfer Protocol"/><category term="Security Issues in PHP"/><category term="Sending SMS"/><category term="Service Temporarily Unavailable"/><category term="Shell Script"/><category term="Simple File Transfer Protocol"/><category term="Sleep Injections"/><category term="Sprite"/><category term="Static IP"/><category term="Submit button not working"/><category term="TFTP"/><category term="Temporary Cookies"/><category term="Third-party Cookies"/><category term="TimeSeriesChart"/><category term="Tree Action"/><category term="Trim"/><category term="Twitter"/><category term="Url rewriting"/><category term="Validationset"/><category term="Virtualenv"/><category term="Virtualization"/><category term="Wireframe"/><category term="Write PDF in PHP"/><category term="XML"/><category term="XSS attacks"/><category term="Zend Framework 2"/><category term="__openerp__.py"/><category term="array_key_exists()"/><category term="backend theme"/><category term="backup"/><category term="beforeunload"/><category term="convert jar to exe"/><category term="cron"/><category term="datepicker"/><category term="datetime"/><category term="docker-ce"/><category term="extensions"/><category term="git"/><category term="gmail"/><category term="grabzit"/><category term="html"/><category term="image"/><category term="isset()"/><category term="isset() vs array_key_exists()"/><category term="mac"/><category term="mysql_real_escape_string()"/><category term="odoo po file"/><category term="onbeforeunload"/><category term="one2one relational field"/><category term="phpExcelReader"/><category term="phpExcelReader problems"/><category term="preg_match"/><category term="pyodbc.OperationalError: (&#39;08001&#39;"/><category term="redirection not working"/><category term="relativedelta"/><category term="rsync"/><category term="sendemail"/><category term="shell"/><category term="shorten url"/><category term="ssh2_connect()"/><category term="svg"/><category term="too many scroll contexts"/><category term="translation error"/><category term="unload"/><category term="validate url"/><category term="validation"/><category term="virtualhost"/><category term="wkhtmltopdf"/><category term="workflow"/><category term="wsgi nginx error: permission denied"/><title type='text'>Odoo Apps Development Technical Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default?max-results=10&amp;redirect=false'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default?start-index=11&amp;max-results=10&amp;redirect=false'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>144</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>10</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-5242090109393434012</id><published>2025-01-19T12:42:00.002+05:30</published><updated>2025-01-19T12:42:17.693+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Odoo"/><category scheme="http://www.blogger.com/atom/ns#" term="odoo po file"/><category scheme="http://www.blogger.com/atom/ns#" term="translation error"/><title type='text'>Odoo -  malformed po file: unknown occurrence</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn_zwLMI55k3wiGbi_VzTyr3acDjoLSU9pt5uyDbg9gUcesh2hdB_wYTfa-R_HMn3bbMCY66n07lSB7kmKRM_3NU3g0R9Z4k1BHSTIuc0s5grYMyOcNMq3fJOiyCcgynxYZqGTnursyKVxU9phLg5mBMWJ32TIbZ9tobQB06E7tXd7-IVNXrLeYDVWYy0V/s680/do-odoo-customization-and-module-development.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;510&quot; data-original-width=&quot;680&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn_zwLMI55k3wiGbi_VzTyr3acDjoLSU9pt5uyDbg9gUcesh2hdB_wYTfa-R_HMn3bbMCY66n07lSB7kmKRM_3NU3g0R9Z4k1BHSTIuc0s5grYMyOcNMq3fJOiyCcgynxYZqGTnursyKVxU9phLg5mBMWJ32TIbZ9tobQB06E7tXd7-IVNXrLeYDVWYy0V/w400-h300/do-odoo-customization-and-module-development.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you are having these log statements in your Odoo log file, it means the error can be something different than what appears in your logs.&lt;/p&gt;&lt;p&gt;Ensure that you are naming your modules properly. Odoo behaves differently if you use hyphen (-) in your module name, change it to underscore (_) and your problem will be solved.&lt;/p&gt;&lt;p&gt;It&#39;s nowhere mentioned in the Odoo module naming recommendation.&lt;/p&gt;&lt;p&gt;I hope this small tip will someone same their time&lt;/p&gt;&lt;p&gt;Enjoy Programming :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/5242090109393434012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2025/01/odoo-malformed-po-file-unknown.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5242090109393434012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5242090109393434012'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2025/01/odoo-malformed-po-file-unknown.html' title='Odoo -  malformed po file: unknown occurrence'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn_zwLMI55k3wiGbi_VzTyr3acDjoLSU9pt5uyDbg9gUcesh2hdB_wYTfa-R_HMn3bbMCY66n07lSB7kmKRM_3NU3g0R9Z4k1BHSTIuc0s5grYMyOcNMq3fJOiyCcgynxYZqGTnursyKVxU9phLg5mBMWJ32TIbZ9tobQB06E7tXd7-IVNXrLeYDVWYy0V/s72-w400-h300-c/do-odoo-customization-and-module-development.jpeg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-15.338635136178846 42.4383127 41.281832536178847 112.7508127</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-3727129376379926224</id><published>2022-04-03T12:29:00.001+05:30</published><updated>2022-04-03T12:32:02.556+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="&#39;[08001]"/><category scheme="http://www.blogger.com/atom/ns#" term="pyodbc.OperationalError: (&#39;08001&#39;"/><title type='text'>pyodbc.OperationalError: (&#39;08001&#39;, &#39;[08001] [Microsoft][ODBC Driver 17 for SQL Server]</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJoMEWfeuw5ZbnzvYHUQAv969sjqpg1YRjlO17BWo5JP8dH5M0-VCPDo6Vy7sTb440uNT4BpwBUJPmoNbCpMBqBQ6XHDJf8u8_76cushBDd-w4uf1yFTnzM8SggoJ0_WMxkemHUTAPOUhpnr5aAmu_3Je-cIuj6RfrLYYfttwXOUT2x6aLCeTcYB6xEQ/s1200/967.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;1200&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJoMEWfeuw5ZbnzvYHUQAv969sjqpg1YRjlO17BWo5JP8dH5M0-VCPDo6Vy7sTb440uNT4BpwBUJPmoNbCpMBqBQ6XHDJf8u8_76cushBDd-w4uf1yFTnzM8SggoJ0_WMxkemHUTAPOUhpnr5aAmu_3Je-cIuj6RfrLYYfttwXOUT2x6aLCeTcYB6xEQ/w400-h200/967.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Recently, I faced this error in our Docker-Container environment. All the necessary packages were already installed but still, I was facing this clueless error. I search a bit and after an hour and so I found the exact reason and solution for this error.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;To know more about this error in detail. Please follow this Github thread.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/mkleehammer/pyodbc/issues/610&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;https://github.com/mkleehammer/pyodbc/issues/610&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/mkleehammer/pyodbc/issues/610#issuecomment-587523802&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;https://github.com/mkleehammer/pyodbc/issues/610#issuecomment-587523802&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Solution: &lt;/b&gt;It&#39;s because the&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #24292f;&quot;&gt;server&#39;s certificate has too weak a key.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In case you are using Linux env directly/not the Docker one.&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #24292f;&quot;&gt;Just edited &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;/etc/ssl/openssl.cnf&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #24292f;&quot;&gt; and change these 2 lines.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: verdana;&quot;&gt;MinProtocol = TLSv1.0
CipherString = DEFAULT@SECLEVEL=1&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In case you are also using a container, please add these three lines to your Docker file.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: verdana;&quot;&gt;RUN chmod +rwx /etc/ssl/openssl.cnf
RUN sed -i &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&#39;&lt;/span&gt;s/TLSv1.2/TLSv1/g&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; /etc/ssl/openssl.cnf
RUN sed -i &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&#39;&lt;/span&gt;s/SECLEVEL=2/SECLEVEL=1/g&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; /etc/ssl/openssl.cnf&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Thanks!! Enjoy Programming!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Reference Links:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/mkleehammer/pyodbc/issues/610&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;https://github.com/mkleehammer/pyodbc/issues/610&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/3727129376379926224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2022/04/pyodbcoperationalerror-08001-08001.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/3727129376379926224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/3727129376379926224'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2022/04/pyodbcoperationalerror-08001-08001.html' title='pyodbc.OperationalError: (&#39;08001&#39;, &#39;[08001] [Microsoft][ODBC Driver 17 for SQL Server]'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJoMEWfeuw5ZbnzvYHUQAv969sjqpg1YRjlO17BWo5JP8dH5M0-VCPDo6Vy7sTb440uNT4BpwBUJPmoNbCpMBqBQ6XHDJf8u8_76cushBDd-w4uf1yFTnzM8SggoJ0_WMxkemHUTAPOUhpnr5aAmu_3Je-cIuj6RfrLYYfttwXOUT2x6aLCeTcYB6xEQ/s72-w400-h200-c/967.png" height="72" width="72"/><thr:total>1</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-15.338635136178846 42.4383127 41.281832536178847 112.7508127</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-7825632654501909179</id><published>2021-10-12T17:05:00.002+05:30</published><updated>2021-10-12T17:05:34.825+05:30</updated><title type='text'>Nginx: Cannot allocate memory</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC6AKmLIF5RMy-KkLIIUqhJ1IDVyT7Ej7wAdQ0MBFCxaDH1MEhIxlZ0k1Chbt_Rx-ZeM2YLlshwDcXnRnmDD2rdgLG6Ke7reQB3uwIzlydn8HBKDPskiVh0fNhnvYPJ0s-F8eC4EVdGOs2/s225/images.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC6AKmLIF5RMy-KkLIIUqhJ1IDVyT7Ej7wAdQ0MBFCxaDH1MEhIxlZ0k1Chbt_Rx-ZeM2YLlshwDcXnRnmDD2rdgLG6Ke7reQB3uwIzlydn8HBKDPskiVh0fNhnvYPJ0s-F8eC4EVdGOs2/s0/images.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;Recently I faced one weird issue with Nginx and suddenly getting an error on restarting Nginx &lt;b&gt;&lt;i&gt;&quot;Cannot allocate memory&quot;&lt;/i&gt;&lt;/b&gt; issue as showing in the following image.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEippOxmmwZou0Mmd-qQvJMYGNfRZQ-Re4KnV4AWR_-xBnBdNHkkMORLV2kT_jIIDn_tsdMABELehOMeB5mOVHqFVghhUx9NSdoRILKFNDrZucyeilI_wecGSsvIDFOdZHhWpmo6zrv6vcJb/s1742/Screenshot+2021-10-12+at+4.53.47+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;314&quot; data-original-width=&quot;1742&quot; height=&quot;73&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEippOxmmwZou0Mmd-qQvJMYGNfRZQ-Re4KnV4AWR_-xBnBdNHkkMORLV2kT_jIIDn_tsdMABELehOMeB5mOVHqFVghhUx9NSdoRILKFNDrZucyeilI_wecGSsvIDFOdZHhWpmo6zrv6vcJb/w400-h73/Screenshot+2021-10-12+at+4.53.47+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;When I tried &lt;b&gt;&lt;i&gt;free -g &lt;/i&gt;&lt;/b&gt;command, memory was available and there was no recent configuration change.&amp;nbsp; Then I started looking into config files and found this line in one of them:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;#Working for odoobiz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;proxy_cache_path /var/odoo/bzcache/ levels=1:2 keys_zone=my_cache:6000m max_size=6g inactive=60m use_temp_path=off;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here I was setting more memory - around 6G and available was only 4G for cache, and when I changed the settings to the following, it worked!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;#Working for odoobiz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;proxy_cache_path /var/odoo/bzcache/ levels=1:2 keys_zone=my_cache:2000m max_size=3g inactive=60m use_temp_path=off;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;So, if you are facing any such issue, please check your configuration files and see if somewhere you are allocating more memory then available.&lt;/p&gt;&lt;p&gt;I hope this post will help someone else as well!&lt;/p&gt;&lt;p&gt;Thanks! Enjoy Programming!&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/7825632654501909179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/10/nginx-cannot-allocate-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/7825632654501909179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/7825632654501909179'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/10/nginx-cannot-allocate-memory.html' title='Nginx: Cannot allocate memory'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC6AKmLIF5RMy-KkLIIUqhJ1IDVyT7Ej7wAdQ0MBFCxaDH1MEhIxlZ0k1Chbt_Rx-ZeM2YLlshwDcXnRnmDD2rdgLG6Ke7reQB3uwIzlydn8HBKDPskiVh0fNhnvYPJ0s-F8eC4EVdGOs2/s72-c/images.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Sangrur, Punjab 148001, India</georss:featurename><georss:point>30.2457963 75.8420716</georss:point><georss:box>-37.105700931241259 -64.7829284 90 -143.5329284</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-6969358002260599154</id><published>2021-09-28T19:14:00.000+05:30</published><updated>2021-09-28T19:14:01.827+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Firefox Service Worker Error"/><title type='text'>Firefox ServiceWorker Error: When hitting Odoo homepage in Firefox</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNMYcK_rGvSZw2fwgQpX-98t6-Pht_JD4qjgYjUdzEdxCim2wdSZy4uB4lLlAP177na1U65St053SOP_bDJ0JOsrBLOWLieBTPE7mAUdMqV8ZRbAInoV1zOjzx9kaUl08fhMmiWi5Iw7V7/s260/images.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;194&quot; data-original-width=&quot;260&quot; height=&quot;194&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNMYcK_rGvSZw2fwgQpX-98t6-Pht_JD4qjgYjUdzEdxCim2wdSZy4uB4lLlAP177na1U65St053SOP_bDJ0JOsrBLOWLieBTPE7mAUdMqV8ZRbAInoV1zOjzx9kaUl08fhMmiWi5Iw7V7/s0/images.jpeg&quot; width=&quot;260&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;In this article, I am writing about the error I faced only in the Firefox browser while accessing the home page of the website developed in Odoo.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;b&gt;Issue:&lt;/b&gt; It was throwing this error to me in Firefox browser&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBOBPkryCiCNaxZJ8HPsnl2kIvfposlEMRac-nG5tVBkEs56-CUgV7rwzHT-sqF39ekM8AIpJTM72ogRLw3XsUd4RKW7A3NeOngESIy5XSSxA9rd-deqE1pYfvUDAkQcWRfTHfn8QNiAVu/s1958/Screenshot+2021-09-28+at+5.22.26+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;564&quot; data-original-width=&quot;1958&quot; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBOBPkryCiCNaxZJ8HPsnl2kIvfposlEMRac-nG5tVBkEs56-CUgV7rwzHT-sqF39ekM8AIpJTM72ogRLw3XsUd4RKW7A3NeOngESIy5XSSxA9rd-deqE1pYfvUDAkQcWRfTHfn8QNiAVu/w640-h184/Screenshot+2021-09-28+at+5.22.26+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;First I thought, it&#39;s due to some javascript error or something related to Odoo and after spending some time, I was convinced that it&#39;s a Firefox bug. Here are the reference links:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/mozilla/send/issues/1222&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;https://github.com/mozilla/send/issues/1222&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Now the question is, why does this occurs and how to avoid it. Actually, user settings for the&amp;nbsp;client browser play a big role here. Please make sure that the&amp;nbsp;&lt;b&gt;&lt;i&gt;&quot;Delete cookies and site data when Firefox is closed&quot;&lt;/i&gt;&lt;/b&gt; option is not selected as shown in the screenshot.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCg0wi6R2deGgicVojyhmyHhNHVDQS57aovaGPprdWEFsqRE6bMlIkFjSvPGHO5GyGy-WyW2MCaN9CCye6a-7uW1H6uhXMlm3khGfkT2PCen2SWc789GupVnETF8DVfMgsGG1hj3_9r03M/s1858/Screenshot+2021-09-28+at+5.49.49+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;480&quot; data-original-width=&quot;1858&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCg0wi6R2deGgicVojyhmyHhNHVDQS57aovaGPprdWEFsqRE6bMlIkFjSvPGHO5GyGy-WyW2MCaN9CCye6a-7uW1H6uhXMlm3khGfkT2PCen2SWc789GupVnETF8DVfMgsGG1hj3_9r03M/w640-h166/Screenshot+2021-09-28+at+5.49.49+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;If you remove this tick, it will work immediately.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;But if you want this tick set, you can use &quot;Manage Exceptions&quot;. Add your website and click on the &quot;Allow&quot;&amp;nbsp; button.&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAG8fr1EpYgMCQmHjZbv9DI6ZIKPNGx5k3fo9BEy2ukyNMT0Drw86gOoaUIca0JuditHU5GYprclW72z17VSSoOEvhyphenhyphenTORh9qzBlIxG6LR-EtOl4eNnfKvZxK4b3YtY0gTCyufrSHOVGoN/s1422/Screenshot+2021-09-28+at+5.53.01+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1230&quot; data-original-width=&quot;1422&quot; height=&quot;554&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAG8fr1EpYgMCQmHjZbv9DI6ZIKPNGx5k3fo9BEy2ukyNMT0Drw86gOoaUIca0JuditHU5GYprclW72z17VSSoOEvhyphenhyphenTORh9qzBlIxG6LR-EtOl4eNnfKvZxK4b3YtY0gTCyufrSHOVGoN/w640-h554/Screenshot+2021-09-28+at+5.53.01+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Then it works, even with the&lt;b&gt;&lt;i&gt; &quot;Delete cookies and site data when Firefox closes&quot; &lt;/i&gt;&lt;/b&gt;option.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Try ticking your Firefox and you will get the problem immediately. I have already tested this multiple times at my end.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;I hope it will help others as well facing the same issue.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Thanks!! Enjoy Programming!&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/6969358002260599154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/09/firefox-serviceworker-error-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/6969358002260599154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/6969358002260599154'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/09/firefox-serviceworker-error-when.html' title='Firefox ServiceWorker Error: When hitting Odoo homepage in Firefox'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNMYcK_rGvSZw2fwgQpX-98t6-Pht_JD4qjgYjUdzEdxCim2wdSZy4uB4lLlAP177na1U65St053SOP_bDJ0JOsrBLOWLieBTPE7mAUdMqV8ZRbAInoV1zOjzx9kaUl08fhMmiWi5Iw7V7/s72-c/images.jpeg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>India</georss:featurename><georss:point>20.593684 78.96288</georss:point><georss:box>-7.7165498361788458 43.80663 48.903917836178849 114.11913</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-5894141464910043453</id><published>2021-09-17T13:04:00.002+05:30</published><updated>2021-09-17T13:06:56.907+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="500"/><category scheme="http://www.blogger.com/atom/ns#" term="elasticsearch"/><category scheme="http://www.blogger.com/atom/ns#" term="too many scroll contexts"/><title type='text'>Elasticsearch Explained: Trying to create too many scroll contexts. Must be less than or equal to 500</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Hello Everyone, today we are going to discuss the following&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: courier; white-space: pre-wrap;&quot;&gt;Error in Elasticsearch&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6; font-family: courier;&quot;&gt;&lt;b&gt;&lt;i&gt;&quot;&lt;span style=&quot;background-color: white; white-space: pre-wrap;&quot;&gt;Trying to create too many scroll contexts. Must be less than or equal to: [500]. This limit can be set by changing the [search.max_open_scroll_context] setting&quot; &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Let&#39;s try to understand why this occurs and how we can solve it.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEhbjv8RDJsRF93DiYt2FemcaJTN5Qu8z66nm7JGFJUPqGjqSiDnMkUiLqnysK3Xl55rlLf8NkCUvkTmoz0vnkr1C6ueN4bETGL61jkBJxpKlf-TmxLftdel6JNMTzYPHQrwWIFklPaKBH/s1280/maxresdefault.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEhbjv8RDJsRF93DiYt2FemcaJTN5Qu8z66nm7JGFJUPqGjqSiDnMkUiLqnysK3Xl55rlLf8NkCUvkTmoz0vnkr1C6ueN4bETGL61jkBJxpKlf-TmxLftdel6JNMTzYPHQrwWIFklPaKBH/w400-h225/maxresdefault.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: x-large;&quot;&gt;&lt;b&gt;When &amp;amp; Why this error trigger?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;As the title indicates, this error will come if you are using scroll API and especially multiple scrolls&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #202124;&quot;&gt;Scrolls are expensive to run concurrently and &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;reserves the resources for that particular time.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span&gt;
For each scroll ID, there is a unique point-in-time view of the current set of segments preserved for that scroll. This hangs on to files and related caches that would otherwise be removed by the constant segment rewriting that happens while indexing is active. This is why it is especially resource-intensive to do concurrently.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&lt;b&gt;Let&#39;s dive a little deeper.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;In order to use scrolling, the initial search request should specify the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;parameter in the query string, which tells Elasticsearch how long it should keep the “search context” alive.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;Its value (e.g.&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;1m&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;) does not need to be long enough to process all data — it just needs to be long enough to process the previous batch of results. Each &lt;b&gt;&lt;i&gt;scroll&lt;/i&gt;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;request (with the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;i&gt;scroll&lt;/i&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;parameter) sets a new expiry time. If a&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;request doesn’t pass in the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;parameter, then the search context will be freed as part of&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; box-sizing: border-box; color: #212529;&quot;&gt;that&lt;/em&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;request.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;line-numbers language-cpp&quot; style=&quot;background: rgb(45, 45, 45); border-radius: 4px; box-sizing: border-box; counter-reset: linenumber 0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; hyphens: none; line-height: 1.5; margin-bottom: 20px; margin-top: 0px; overflow-wrap: normal; overflow: scroll auto; overscroll-behavior-x: contain; padding: 1em 1em 1em 3.8em; position: relative; tab-size: 4; word-break: break-all; z-index: 0;&quot;&gt;&lt;code class=&quot;language-cpp&quot; style=&quot;background: none transparent; border: none; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; vertical-align: unset; white-space: inherit; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;POST /twitter/_search?scroll=1m&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;size&quot;: 100,&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;query&quot;: {&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;match&quot; : {&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;title&quot; : &quot;elasticsearch&quot;&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;white-space: normal;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Normally, the background merge process optimizes the index by merging together smaller segments to create new bigger segments, at which time the smaller segments are deleted. This process continues during scrolling, but an open search context prevents the old segments from being deleted while they are still in use. This is how Elasticsearch is able to return the results of the initial search request, regardless of subsequent changes to documents.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: x-large;&quot;&gt;&lt;b&gt;How to Prevent &amp;amp; Fix it?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Now we know that concurrent scroll requests with more scroll time (60m) can use resources extensively and cause this issue. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #fbfbfb;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;In case you got this error and are not able to perform any update or delete operations on your cluster, either clear your scrolls or increase the size of&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f8f8f8; color: #555555; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;max_open_scroll_context&lt;/i&gt;&lt;/b&gt; for a limited amount of time, till your scrolls are not cleared automatically within the specified time. It&#39;s not a recommended solution but to avoid any data loss or ongoing scroll APIs, this can be your savior.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f8f8f8; color: #555555; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 14.4px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&lt;b&gt;Clear Scroll API:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;Search contexts are automatically removed when the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;timeout has been exceeded. However keeping scrolls open has a cost, and&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;should be explicitly cleared as soon as the scroll is not being used anymore using the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;clear-scroll&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&amp;nbsp;API:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;line-numbers language-cpp&quot; style=&quot;background: rgb(45, 45, 45); border-radius: 4px; box-sizing: border-box; counter-reset: linenumber 0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; hyphens: none; line-height: 1.5; margin-bottom: 20px; margin-top: 0px; overflow-wrap: normal; overflow: scroll auto; overscroll-behavior-x: contain; padding: 1em 1em 1em 3.8em; position: relative; tab-size: 4; word-break: break-all; z-index: 0;&quot;&gt;&lt;p style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-size: x-small;&quot;&gt;&lt;span face=&quot;Inter, sans-serif&quot;&gt;DELETE /_search/scroll&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot;&gt;{&lt;br /&gt;&amp;nbsp;&quot;scroll_id&quot; :&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span face=&quot;Inter, sans-serif&quot;&gt;&quot;DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==&quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;color: white; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;color: #cccccc; font-size: 12px;&quot;&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #fbfbfb; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;Increase the size of&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f8f8f8; font-family: courier; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;max_open_scroll_context&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fbfbfb; color: #212529; font-size: 16px;&quot;&gt;To prevent the against issues caused by having too many scrolls open, you can limit the number of open scrolls per node with the&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background: rgb(248, 248, 248); box-sizing: border-box; color: #555555; display: inline; padding: 0px 3px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;i&gt;&lt;b&gt;search.max_open_scroll_context&lt;/b&gt;&lt;/i&gt;&lt;/code&gt;&lt;span style=&quot;background-color: #fbfbfb; color: #212529; font-size: 16px;&quot;&gt;&amp;nbsp;cluster setting (defaults to unlimited).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fbfbfb; color: #212529; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;To check default size, please use this command:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fbfbfb;&quot;&gt;&lt;span face=&quot;Inter, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&lt;i&gt;http://127.0.0.1:9200/_cluster/settings?include_defaults=true&amp;amp;pretty=true&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;To update&amp;nbsp;&lt;span style=&quot;color: #555555; white-space: pre-wrap;&quot;&gt;&lt;i&gt;&lt;b&gt;max_open_scroll_context&lt;/b&gt; &lt;/i&gt;size, you can use the following command.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;line-numbers language-cpp&quot; style=&quot;background: rgb(45, 45, 45); border-radius: 4px; box-sizing: border-box; color: #cccccc; counter-reset: linenumber 0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 12px; hyphens: none; line-height: 1.5; margin-bottom: 20px; margin-top: 0px; overflow-wrap: normal; overflow: scroll auto; overscroll-behavior-x: contain; padding: 1em 1em 1em 3.8em; position: relative; tab-size: 4; word-break: break-all; z-index: 0;&quot;&gt;&lt;code class=&quot;language-cpp&quot; style=&quot;background: none transparent; border: none; box-sizing: border-box; color: inherit; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; vertical-align: unset; white-space: inherit; word-break: normal; word-spacing: normal;&quot;&gt;curl &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;-&lt;/span&gt;X PUT http&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;/&lt;/span&gt;ip&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #f08d49;&quot;&gt;9200&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;/&lt;/span&gt;_cluster&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;/&lt;/span&gt;settings &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;-&lt;/span&gt;H &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #7ec699;&quot;&gt;&#39;Content-Type: application/json&#39;&lt;/span&gt; &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;-&lt;/span&gt;d&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #f08d49;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #7ec699;&quot;&gt;&quot;persistent&quot;&lt;/span&gt; &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #7ec699;&quot;&gt;&quot;search.max_open_scroll_context&quot;&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #f08d49;&quot;&gt;5000&lt;/span&gt;
    &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #7ec699;&quot;&gt;&quot;transient&quot;&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #7ec699;&quot;&gt;&quot;search.max_open_scroll_context&quot;&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #67cdcc;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #f08d49;&quot;&gt;5000&lt;/span&gt;
    &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;}&lt;/span&gt;&#39;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Note:&lt;/span&gt;&lt;/i&gt;&lt;/b&gt; Don&#39;t forget to set it back to the lower number, once scroll time is elapsed already.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks! Enjoy Programming!!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;Reference Links:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-scroll.html&quot;&gt;https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-scroll.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/5894141464910043453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/09/elasticsearch-explained-trying-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5894141464910043453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5894141464910043453'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/09/elasticsearch-explained-trying-to.html' title='Elasticsearch Explained: Trying to create too many scroll contexts. Must be less than or equal to 500'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEhbjv8RDJsRF93DiYt2FemcaJTN5Qu8z66nm7JGFJUPqGjqSiDnMkUiLqnysK3Xl55rlLf8NkCUvkTmoz0vnkr1C6ueN4bETGL61jkBJxpKlf-TmxLftdel6JNMTzYPHQrwWIFklPaKBH/s72-w400-h225-c/maxresdefault.jpeg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-63.944832002763931 -63.0304373 89.888029402763934 -141.78043730000002</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-4795715684010437307</id><published>2021-07-30T16:43:00.010+05:30</published><updated>2021-07-30T16:46:27.227+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="elasticsearch7"/><title type='text'>Elasticsearch: Copy Index Structure</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU8lQtpbBKyeK3qy2cOlgZYmrRy8O5iVhyphenhyphenc5Znff-Xsqq8JkCX4msrpn5SeZrnS2XB1bpcNHMM9OgoyOQ5QbNoOmYOPL1t_O5BEgX-yhJkidUJxlCPpscD9jIwNm8jOY8MJeDDZ_0PpaYe/s331/elasticsearch_logo.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;290&quot; data-original-width=&quot;331&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU8lQtpbBKyeK3qy2cOlgZYmrRy8O5iVhyphenhyphenc5Znff-Xsqq8JkCX4msrpn5SeZrnS2XB1bpcNHMM9OgoyOQ5QbNoOmYOPL1t_O5BEgX-yhJkidUJxlCPpscD9jIwNm8jOY8MJeDDZ_0PpaYe/s320/elasticsearch_logo.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Use Case: &lt;/b&gt;Let&#39;s say, you already have an index on one &lt;b&gt;Server1&lt;/b&gt; and you want to create a new index with the exact structure on &lt;b&gt;Server2&lt;/b&gt;. What you should do?&lt;/p&gt;&lt;p&gt;&lt;b&gt;Solution:&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Copy the index structure from &lt;b&gt;Server1&lt;/b&gt;. Let&#39;s say your index name is: &lt;span style=&quot;color: #2b00fe;&quot;&gt;product-data-index&lt;/span&gt; and you can access the settings here: &lt;span style=&quot;color: #2b00fe;&quot;&gt;https://x.x.x.x:9200/product-data-index/_settings&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #fffffe; line-height: 18px; white-space: pre;&quot;&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;{&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;product-data-index&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;settings&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;index&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;routing&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;allocation&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;include&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;_tier_preference&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;data_content&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;number_of_shards&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;5&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;provided_name&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;product-data-index&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;max_result_window&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;30000&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;creation_date&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;1627383249968&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;analysis&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;normalizer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;lowercaseNorm&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;filter&quot;&lt;/span&gt;: [&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;lowercase&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;asciifolding&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            ],&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;custom&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;analyzer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;comma_analyzer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;filter&quot;&lt;/span&gt;: [&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;lowercase&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            ],&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;pattern&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;(,)&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;pattern&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;tokenizer&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;standard&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;number_of_replicas&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;1&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;uuid&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;cftuOgIPSKWONmbqfICH0w&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;version&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;created&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;7060299&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;            }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;}&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;white-space: pre;&quot;&gt;Copy this settings JSON&lt;/div&gt;&lt;div style=&quot;font-size: 12px; white-space: pre;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;white-space: pre;&quot;&gt;&lt;span&gt;2. Clean the settings JSON.&lt;/span&gt;&lt;/div&gt;&lt;p&gt;Now before creating an index, you have to remove few fields from the above JSON&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-size: small;&quot;&gt;&quot;product-data-index&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b00fe; font-size: small;&quot;&gt;&quot;uuid&quot;&lt;br /&gt;&quot;version&quot;&lt;br /&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #2b00fe; font-size: small;&quot;&gt;creation_date&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;and it should look like this.&lt;/p&gt;&lt;div style=&quot;background-color: #fffffe; line-height: 18px; white-space: pre;&quot;&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;{&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;settings&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;index&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;routing&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;allocation&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;include&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;_tier_preference&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;data_content&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;number_of_shards&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;5&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;max_result_window&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;30000&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;analysis&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;normalizer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;lowercaseNorm&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;filter&quot;&lt;/span&gt;: [&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;lowercase&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;asciifolding&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            ],&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;custom&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;analyzer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;comma_analyzer&quot;&lt;/span&gt;: {&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;filter&quot;&lt;/span&gt;: [&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                                &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;lowercase&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            ],&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;pattern&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;(,)&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;pattern&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                            &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;tokenizer&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;standard&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;                &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;number_of_replicas&quot;&lt;/span&gt;: &lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;1&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;            }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;        }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;    }&lt;/div&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;}
&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;3. Run this command on &lt;b&gt;Server2&lt;/b&gt; in postman as per the screenshot. You can use any other API Client &lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;which can help you to create the index. You can also use curl.&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: medium; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZLPtqWu-fk8gcQBGXxGEluaO52xNOmpdsJxOGBg7M0e34W27HrFwO4a57aYkudDp3ek3h9JDFIGuaiqTwzHgvoBV7kmi5htU74FE1B9XCxbcBiaST6Vdmtsyg4cw_l3MTUrr85f7u1e0a/s1780/Screenshot+2021-07-30+at+4.36.07+PM.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1074&quot; data-original-width=&quot;1780&quot; height=&quot;386&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZLPtqWu-fk8gcQBGXxGEluaO52xNOmpdsJxOGBg7M0e34W27HrFwO4a57aYkudDp3ek3h9JDFIGuaiqTwzHgvoBV7kmi5htU74FE1B9XCxbcBiaST6Vdmtsyg4cw_l3MTUrr85f7u1e0a/w640-h386/Screenshot+2021-07-30+at+4.36.07+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;font-size: medium;&quot; /&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;That&#39;s it.&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;NOTE: &lt;/b&gt;To copy data from Server1 to Server2, you can use &lt;a href=&quot;https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html&quot; target=&quot;_blank&quot;&gt;Reindex API&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Thanks!!! Enjoy Programming :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/4795715684010437307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/elasticsearch-copy-index-structure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/4795715684010437307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/4795715684010437307'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/elasticsearch-copy-index-structure.html' title='Elasticsearch: Copy Index Structure'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU8lQtpbBKyeK3qy2cOlgZYmrRy8O5iVhyphenhyphenc5Znff-Xsqq8JkCX4msrpn5SeZrnS2XB1bpcNHMM9OgoyOQ5QbNoOmYOPL1t_O5BEgX-yhJkidUJxlCPpscD9jIwNm8jOY8MJeDDZ_0PpaYe/s72-c/elasticsearch_logo.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-15.338635136178846 42.4383127 41.281832536178847 112.7508127</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-5175974234002997064</id><published>2021-07-12T23:02:00.005+05:30</published><updated>2021-07-12T23:04:36.417+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JamfAAD"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>JamfAAD (Intune) on Macs - Sign-in Errors</title><content type='html'>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;Today, I faced one weird problem when I changed my O365 password.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicXLxKdx63TKifWmq43gGxzAToIZXyppe9EGKkR0W-DPpwxXK3fpujKJh64tAKHY5W2hVDvifuFvLPN9hZQGz3QZu2aerIje1J0tRd4Jy1MvlcUbjw44W-FnraCBFdSbIIvGcoGJZf0ifm/s861/image+%252812%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;261&quot; data-original-width=&quot;861&quot; height=&quot;194&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicXLxKdx63TKifWmq43gGxzAToIZXyppe9EGKkR0W-DPpwxXK3fpujKJh64tAKHY5W2hVDvifuFvLPN9hZQGz3QZu2aerIje1J0tRd4Jy1MvlcUbjw44W-FnraCBFdSbIIvGcoGJZf0ifm/w640-h194/image+%252812%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This pop-up was appearing every few minutes after pressing the cancel button and it was throwing me to 404 URL after pressing the continue button which was completely irritating and frustrating.&lt;/p&gt;&lt;p&gt;After spending some time looking into this issue, I found a small trick.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;1. Open the Safari browser and make it the default one.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;2. Next time when this popup comes, press the Continue button.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;That&#39;s it and the issue is resolved. :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks!! Enjoy Programming!! :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/5175974234002997064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/jamfaad-intune-on-macs-sign-in-errors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5175974234002997064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5175974234002997064'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/jamfaad-intune-on-macs-sign-in-errors.html' title='JamfAAD (Intune) on Macs - Sign-in Errors'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicXLxKdx63TKifWmq43gGxzAToIZXyppe9EGKkR0W-DPpwxXK3fpujKJh64tAKHY5W2hVDvifuFvLPN9hZQGz3QZu2aerIje1J0tRd4Jy1MvlcUbjw44W-FnraCBFdSbIIvGcoGJZf0ifm/s72-w640-h194-c/image+%252812%2529.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-33.339046788703385 7.2820626999999973 59.282244188703388 147.90706269999998</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-7268196327348785858</id><published>2021-07-02T18:17:00.002+05:30</published><updated>2021-07-02T18:20:52.732+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="odoo13"/><title type='text'>Manual Odoo Migration from One Server to Another</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;Today, we will go through a step-by-step process to move running &lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt; from one server to another server&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;I assume odoo is already installed and working fine with demo/test DB.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMIJjWtbRhXD6ZpSJqrhMcyP1bsDIQ13zftpiOPO03nPRvRnw4Nme0zcJq8KqNvyhknn22omF9ZAT_AAtjH9ZlcrORognsJxzfuPwpUzG8vuBNZS0-inntXEzs6eZmyMnUFSi7-XGVtR8j/s1212/Screenshot+2021-07-02+at+6.19.09+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;828&quot; data-original-width=&quot;1212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMIJjWtbRhXD6ZpSJqrhMcyP1bsDIQ13zftpiOPO03nPRvRnw4Nme0zcJq8KqNvyhknn22omF9ZAT_AAtjH9ZlcrORognsJxzfuPwpUzG8vuBNZS0-inntXEzs6eZmyMnUFSi7-XGVtR8j/s320/Screenshot+2021-07-02+at+6.19.09+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Before migrating your Odoo application from one server to another server, it&#39;s important to take all the precautionary measures and backup all the data - Database, Code, and Files. Let&#39;s start:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;I - Backup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-1&lt;/i&gt;&lt;/b&gt;. Database Backup&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;You can use Odoo Database Manager - &lt;span style=&quot;color: #2b00fe;&quot;&gt;/web/database/manager &lt;/span&gt;link to perform this activity. But if the database is too big, please use &lt;span style=&quot;color: #2b00fe;&quot;&gt;pg_dump&lt;/span&gt; command from PostgreSQL. Here is the example:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;pg_dump -W -F t odoo13 &amp;gt; ~/odoo13_28062021.tar&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;&lt;i&gt;Note:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt; Make sure that you are logged in as &lt;b&gt;&lt;i&gt;postgres&lt;/i&gt;&lt;/b&gt; or &lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt; user to perform this activity.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-2&lt;/i&gt;&lt;/b&gt;. Backup of custom modules&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;The next step is to take a backup of all of your custom code. Mostly, It will be in your &lt;span style=&quot;color: #2b00fe;&quot;&gt;/odoo/custom/&lt;/span&gt;&amp;nbsp;and &lt;span style=&quot;color: #2b00fe;&quot;&gt;/odoo/enterprise/&lt;/span&gt; directories.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;You can use &lt;b&gt;&lt;i&gt;scp&lt;/i&gt;&lt;/b&gt; command to directly copy your directories from one server to another server. Let&#39;s say both of your machines are Linux ones, then these commands can help you.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;scp -r(for recursive directories) &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;scp -r /odoo/custom/ odoo@x.x.x.x.com:/odoo/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-3.&lt;/i&gt;&lt;/b&gt; Backup of your attachments/images&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;The last step is to take a backup of your application attachments - order attachments, images attached to tickets, website and product images, etc. You can find the filestore at this location:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;/odoo/.local/share/Odoo/filestore/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;You can copy these files also directly to the new server.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;II - Restore&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-1&lt;/i&gt;&lt;/b&gt;. Restore Database&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;You can use Odoo Database Manager -&amp;nbsp;&lt;span style=&quot;color: #2b00fe;&quot;&gt;/web/database/manager &lt;/span&gt;link&amp;nbsp;to perform this activity. But if the database is too big, please use&amp;nbsp;&lt;span style=&quot;color: #2b00fe;&quot;&gt;pg_restore&lt;/span&gt;&amp;nbsp;command from PostgreSQL. Here is the command:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;pg_restore -v --dbname=odoo13 odoo13_28062021.tar&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Note: Make sure that you are logged in as&amp;nbsp;&lt;b&gt;&lt;i&gt;postgres&lt;/i&gt;&lt;/b&gt;&amp;nbsp;or&amp;nbsp;&lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt;&amp;nbsp;user to perform this activity and database is already created with name.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-2&lt;/i&gt;&lt;/b&gt;. Restoring custom modules&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;We have already copied these files in step-2 of the Backup section activity. If not done, please use the &lt;b&gt;&lt;i&gt;scp&lt;/i&gt;&lt;/b&gt; command to copy files at the new server location.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;i&gt;Note:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt; Make sure that odoo is the owner of all these files. You can use this command to change ownership of the directory and subdirectory.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;chown -R odoo:odoo /odoo/custom/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-3&lt;/i&gt;&lt;/b&gt;. Restore filestore&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;We have already copied these files in step-3 of the Backup section activity. If not done, please use the&amp;nbsp;&lt;b&gt;&lt;i&gt;scp&lt;/i&gt;&lt;/b&gt;&amp;nbsp;command to copy files at the new server location.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;III - Reload Odoo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Once all data - Database, custom modules, and filestore is restored on the new server, the next step is to start &lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt; with the latest data. I would suggest doing it using the shell/command line if you are a developer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-1&lt;/i&gt;&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;Stop all &lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt; services&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;ps ax | grep odoo-bin | awk &#39;{print $1}&#39; | xargs kill -9 $1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;Step-2&lt;/i&gt;&lt;/b&gt;. Start &lt;b&gt;&lt;i&gt;odoo&lt;/i&gt;&lt;/b&gt; services.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;python3 /odoo/odoo-server/odoo-bin -c /etc/odoo-server.conf -d odoo13 -u all&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Once all the modules are updated successfully, you can just stop the odoo services using step-1 command and start it using.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;sudo service odoo-server start&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-family: courier; font-size: large;&quot;&gt;&lt;i&gt;Step-3.&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: courier; font-size: medium;&quot;&gt;&amp;nbsp;Reload assets - log in as admin and reload assets&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;I hope everything went well as expected. If your UI is distorted, there is a possibility that fingerprints generated for &lt;b&gt;&lt;i&gt;js&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;css&lt;/i&gt;&lt;/b&gt; files are not the same as in filestore. To fix it we have to reload assets.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;HTTP://x.x.x.x:8069/web?debug=assets&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;I hope this POST will help someone, someday and save his/her day!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks!! Enjoy Programming :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/7268196327348785858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/manual-odoo-migration-from-one-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/7268196327348785858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/7268196327348785858'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/07/manual-odoo-migration-from-one-server.html' title='Manual Odoo Migration from One Server to Another'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMIJjWtbRhXD6ZpSJqrhMcyP1bsDIQ13zftpiOPO03nPRvRnw4Nme0zcJq8KqNvyhknn22omF9ZAT_AAtjH9ZlcrORognsJxzfuPwpUzG8vuBNZS0-inntXEzs6eZmyMnUFSi7-XGVtR8j/s72-c/Screenshot+2021-07-02+at+6.19.09+PM.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-15.338635136178846 42.4383127 41.281832536178847 112.7508127</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-5071929358725266868</id><published>2021-03-25T16:37:00.006+05:30</published><updated>2021-03-25T16:37:58.661+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jinja2"/><category scheme="http://www.blogger.com/atom/ns#" term="Odoo"/><title type='text'>Odoo Error:  The &#39;odoo.addons.web&#39; package was not installed in a way that PackageLoader understands.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&amp;nbsp;If you are facing this error in odoo12&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiThyphenhyphenGmUOFp1RagmfSL8lAbd5eyMJv0KPRQrQCpyCgDKceaY1I1fbw124BFgd9fMrFl9a23vzOWo8MKxsUaOKaLT7kn4r2Ze7kOwpM1mltKftvetcaxUGxv-S3CzR48t63WWsUKxoga6IK7/s2822/Screenshot+2021-03-25+at+3.59.35+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1022&quot; data-original-width=&quot;2822&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiThyphenhyphenGmUOFp1RagmfSL8lAbd5eyMJv0KPRQrQCpyCgDKceaY1I1fbw124BFgd9fMrFl9a23vzOWo8MKxsUaOKaLT7kn4r2Ze7kOwpM1mltKftvetcaxUGxv-S3CzR48t63WWsUKxoga6IK7/w640-h232/Screenshot+2021-03-25+at+3.59.35+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;It means the proper package version of &lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Jinja2&lt;/span&gt;&lt;/i&gt;&lt;/b&gt; is not installed.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Try installing this one:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6; font-family: helvetica;&quot;&gt;&lt;b&gt;pip3 install Jinja2==2.10.1&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;It should solve your problem.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Thanks!!! Enjoy Programming! :)&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/5071929358725266868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/03/odoo-error-odooaddonsweb-package-was.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5071929358725266868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5071929358725266868'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/03/odoo-error-odooaddonsweb-package-was.html' title='Odoo Error:  The &#39;odoo.addons.web&#39; package was not installed in a way that PackageLoader understands.'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiThyphenhyphenGmUOFp1RagmfSL8lAbd5eyMJv0KPRQrQCpyCgDKceaY1I1fbw124BFgd9fMrFl9a23vzOWo8MKxsUaOKaLT7kn4r2Ze7kOwpM1mltKftvetcaxUGxv-S3CzR48t63WWsUKxoga6IK7/s72-w640-h232-c/Screenshot+2021-03-25+at+3.59.35+PM.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>-15.338635136178846 42.4383127 41.281832536178847 112.7508127</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7549196375849659608.post-5964434499555082602</id><published>2021-02-01T22:14:00.004+05:30</published><updated>2021-02-02T10:50:48.895+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="elasticsearch7"/><title type='text'>Elasticsearch Error: Format version is not supported</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeBPY952IzjrF_2eRMwqDxg48TMDWu4Hl1g01zAxT8DCiXcY9FZTv8gbFwlmEkqqU74Grgo0BTvm7ZTRIGMDc0vMBtUCVPwa4IEw3bvUenALjUE5KyywOgiFituBO-msYnG4JD1KZHd5C/s234/images.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;234&quot; data-original-width=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeBPY952IzjrF_2eRMwqDxg48TMDWu4Hl1g01zAxT8DCiXcY9FZTv8gbFwlmEkqqU74Grgo0BTvm7ZTRIGMDc0vMBtUCVPwa4IEw3bvUenALjUE5KyywOgiFituBO-msYnG4JD1KZHd5C/s0/images.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When I downgraded Elasticsearch 7.10 to 7.6, I was not able to restart the elasticsearch service and was facing these errors:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhygz0c_eRJrKr0h1M65Z4i-BkWvufhxmhJ02Ycy-cmiywaIdb8a1XDnTnu2D95xIVSJQxifDZ1wPs2YO6KPmb5cAB-xlbvXRWnYoE6uHD7uHQq-yA-Q0LDwvG4Hlg3VF53Qsy8TkXOm6zv/s1348/Screenshot+2021-02-01+at+10.04.00+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;194&quot; data-original-width=&quot;1348&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhygz0c_eRJrKr0h1M65Z4i-BkWvufhxmhJ02Ycy-cmiywaIdb8a1XDnTnu2D95xIVSJQxifDZ1wPs2YO6KPmb5cAB-xlbvXRWnYoE6uHD7uHQq-yA-Q0LDwvG4Hlg3VF53Qsy8TkXOm6zv/w400-h58/Screenshot+2021-02-01+at+10.04.00+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;and&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a class=&quot;widget-link topic-link&quot; data-topic-id=&quot;69027&quot; href=&quot;https://discuss.elastic.co/t/format-version-is-not-supported/69027&quot; style=&quot;background-color: white; cursor: pointer; display: block; font-family: Helvetica, Arial, sans-serif; overflow: hidden; text-align: center; text-decoration-line: none; text-overflow: ellipsis; white-space: nowrap;&quot; title=&quot;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;“Format version is not supported”&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After diagnosing the issue and going through a number of web URLs, I come to know that the following line in the elasticsearch.yml file will fix my issue.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(51, 0, 51, 0.85); color: #f2f2f2; font-family: Monaco; font-size: 14px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;cluster.initial_master_nodes: [&quot;x.x.x.x&quot;]&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(51, 0, 51, 0.85); color: #f2f2f2; font-family: Monaco; font-size: 14px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(51, 0, 51, 0.85); color: #f2f2f2; font-family: Monaco; font-size: 14px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;OR&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(51, 0, 51, 0.85); color: #f2f2f2; font-family: Monaco; font-size: 14px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(51, 0, 51, 0.85); color: #f2f2f2; font-family: Monaco; font-size: 14px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;cluster.initial_master_nodes:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;master&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;node&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;a&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: #f5f7fa; font-family: Consolas, Menlo, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;I hope it will help someone and save their time too.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks!!! Enjoy Programming!! :)&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dirtyhandsphp.blogspot.com/feeds/5964434499555082602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/02/elasticsearch-error-format-version-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5964434499555082602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549196375849659608/posts/default/5964434499555082602'/><link rel='alternate' type='text/html' href='http://dirtyhandsphp.blogspot.com/2021/02/elasticsearch-error-format-version-is.html' title='Elasticsearch Error: Format version is not supported'/><author><name>Shiv Modi</name><uri>http://www.blogger.com/profile/05149017490048981686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlnjwn_tZPx1V6eLrN040x6R2OMzMC9deR48V80c4ap4ZHeK8Kun3VOt9rnfY1UMmXq8P3UJ_sMQK3ShPMzO-l1r_xHUvnN63YmI7H40KNcnaU_29XNWDLjNVLrCcTQ/s220/shiv.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeBPY952IzjrF_2eRMwqDxg48TMDWu4Hl1g01zAxT8DCiXcY9FZTv8gbFwlmEkqqU74Grgo0BTvm7ZTRIGMDc0vMBtUCVPwa4IEw3bvUenALjUE5KyywOgiFituBO-msYnG4JD1KZHd5C/s72-c/images.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>India</georss:featurename><georss:point>20.593684 78.96288</georss:point><georss:box>-7.7165498361788458 43.80663 48.903917836178849 114.11913</georss:box></entry></feed>