Codoforum related discussions
Automatic update failed

Hello, thanks for releasing the new version of forum

When I tried to update my codoforum 3.1 from the admin panel, I got the following:

1.0> Checking for latest version
1.1> Connecting to server: codoforum.com ...
####: Initiating cURL request
1.3> Response:
Raw: 3.2|codoforum.v.3.2.patch.zip|b99263fc2771c53f9e0f53deaf356a2a
Latest version is 3.2
File to be downloaded to cache dir: codoforum.v.3.2.patch.zip
1.4> Initiating Download phase 2.0...2.0> Initiated.
2.1> Downloading the latest version, Please wait...
2.1> File downloaded sucessfully :)
3.0> File upgrade process initiating...
3.1> Files seem writable :)
started DU>Unpacking contents
>Unpacking contents Completed.
>Ungrading schema

Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2' for key 'PRIMARY' (SQL: INSERT INTO codo_blocks (id, module, theme, status, weight, region, content, visibility, pages, title, cache) VALUES (2, 'html', 'blue', 0, 0, 'block_footer_right', '<small> <a href="https://facebook.com/codologic"><i class="icon-facebook"> </i></a> <a href="https://twitter.com/codologic"><i class="icon-twitter"> </i></a> <a href="https://plus.google.com/+codologic"><i class="icon-google-plus-square"> </i></a> <br> <a href="index.php?u=page/6">Terms of Service</a> | <a href="index.php?u=page/7">Privacy</a> | <a href="#">About us</a> </small>', 0, '', 'Footer Right', 1);)' in /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illuminate/database/Illuminate/Database/Connection.php:555 Stack trace: #0 /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illumi in /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illuminate/database/Illuminate/Database/Connection.php on line 555

The update doesn't seem to have gone through.

How do I update the forum to the newest version?

Hello, thanks for releasing the new version of forum When I tried to update my codoforum 3.1 from the admin panel, I got the following: ``` 1.0&amp;gt; Checking for latest version 1.1&amp;gt; Connecting to server: codoforum.com ... ####: Initiating cURL request 1.3&amp;gt; Response: Raw: 3.2|codoforum.v.3.2.patch.zip|b99263fc2771c53f9e0f53deaf356a2a Latest version is 3.2 File to be downloaded to cache dir: codoforum.v.3.2.patch.zip 1.4&amp;gt; Initiating Download phase 2.0...2.0&amp;gt; Initiated. 2.1&amp;gt; Downloading the latest version, Please wait... 2.1&amp;gt; File downloaded sucessfully :) 3.0&amp;gt; File upgrade process initiating... 3.1&amp;gt; Files seem writable :) started DU&amp;gt;Unpacking contents &amp;gt;Unpacking contents Completed. &amp;gt;Ungrading schema Fatal error: Uncaught exception &#039;Illuminate\Database\QueryException&#039; with message &#039;SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry &#039;2&#039; for key &#039;PRIMARY&#039; (SQL: INSERT INTO codo_blocks (id, module, theme, status, weight, region, content, visibility, pages, title, cache) VALUES (2, &#039;html&#039;, &#039;blue&#039;, 0, 0, &#039;block_footer_right&#039;, &#039;&amp;lt;small&amp;gt; &amp;lt;a href=&quot;https://facebook.com/codologic&quot;&amp;gt;&amp;lt;i class=&quot;icon-facebook&quot;&amp;gt; &amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;a href=&quot;https://twitter.com/codologic&quot;&amp;gt;&amp;lt;i class=&quot;icon-twitter&quot;&amp;gt; &amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;a href=&quot;https://plus.google.com/+codologic&quot;&amp;gt;&amp;lt;i class=&quot;icon-google-plus-square&quot;&amp;gt; &amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;br&amp;gt; &amp;lt;a href=&quot;index.php?u=page/6&quot;&amp;gt;Terms of Service&amp;lt;/a&amp;gt; | &amp;lt;a href=&quot;index.php?u=page/7&quot;&amp;gt;Privacy&amp;lt;/a&amp;gt; | &amp;lt;a href=&quot;#&quot;&amp;gt;About us&amp;lt;/a&amp;gt; &amp;lt;/small&amp;gt;&#039;, 0, &#039;&#039;, &#039;Footer Right&#039;, 1);)&#039; in /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illuminate/database/Illuminate/Database/Connection.php:555 Stack trace: #0 /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illumi in /var/www/home/hosting_stolzen/projects/datatalks/htdocs/sys/vendor/illuminate/database/Illuminate/Database/Connection.php on line 555 ``` The update doesn&#039;t seem to have gone through. How do I update the forum to the newest version?
edited Mar 10 '15 at 8:48 am

The thing was that I already had a code block with some stuff there with id=2. I guess you should've used auto-increment id for inserting this record

The thing was that I already had a code block with some stuff there with id=2. I guess you should&#039;ve used auto-increment id for inserting this record
115
1
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft