Advertisement
Guest User

Erpnext Update from 3 to 4 error

a guest
Jul 4th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. root@erpnext4:/home/erpnext/erpnext# sudo su erpnext
  2. erpnext@erpnext4:~/erpnext$ sudo apt-get install python-dev build-essential python-mysqldb git memcached ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix
  3. [sudo] password for erpnext:
  4. Reading package lists... Done
  5. Building dependency tree
  6. Reading state information... Done
  7. git is already the newest version.
  8. screen is already the newest version.
  9. htop is already the newest version.
  10. libcrypto++-dev is already the newest version.
  11. redis-server is already the newest version.
  12. build-essential is already the newest version.
  13. libxslt1-dev is already the newest version.
  14. libxslt1.1 is already the newest version.
  15. memcached is already the newest version.
  16. ntp is already the newest version.
  17. postfix is already the newest version.
  18. python-dev is already the newest version.
  19. python-mysqldb is already the newest version.
  20. vim is already the newest version.
  21. mariadb-common is already the newest version.
  22. mariadb-server is already the newest version.
  23. You might want to run 'apt-get -f install' to correct these:
  24. The following packages have unmet dependencies:
  25. libssl-dev : Depends: libssl1.0.0 (= 1.0.1-4ubuntu5.16) but 1.0.1-4ubuntu5.15 is to be installed
  26. mariadb-server : Depends: mariadb-server-10.0 (= 10.0.12+maria-1~precise) but 10.0.11+maria-1~precise is to be installed
  27. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  28. erpnext@erpnext4:~/erpnext$ apt-get -f install
  29. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
  30. E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
  31. erpnext@erpnext4:~/erpnext$ sudo apt-get -f install
  32. Reading package lists... Done
  33. Building dependency tree
  34. Reading state information... Done
  35. Correcting dependencies... Done
  36. The following extra packages will be installed:
  37. mariadb-server-10.0
  38. Suggested packages:
  39. tinyca mailx mariadb-test
  40. The following packages will be upgraded:
  41. mariadb-server-10.0
  42. 1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
  43. 13 not fully installed or removed.
  44. Need to get 0 B/21.2 MB of archives.
  45. After this operation, 1,527 kB of additional disk space will be used.
  46. Do you want to continue [Y/n]? y
  47. Preconfiguring packages ...
  48. Setting up tzdata (2014e-0ubuntu0.12.04) ...
  49.  
  50. Current default time zone: 'America/New_York'
  51. Local time is now: Fri Jul 4 03:43:05 EDT 2014.
  52. Universal Time is now: Fri Jul 4 07:43:05 UTC 2014.
  53. Run 'dpkg-reconfigure tzdata' if you wish to change it.
  54.  
  55. (Reading database ... 67530 files and directories currently installed.)
  56. Preparing to replace mariadb-server-10.0 10.0.11+maria-1~precise (using .../mariadb-server-10.0_10.0.12+maria-1~precise_amd64.deb) ...
  57. * Stopping MariaDB database server mysqld [ OK ]
  58. * Stopping MariaDB database server mysqld [ OK ]
  59. Unpacking replacement mariadb-server-10.0 ...
  60. * Stopping MariaDB database server mysqld [ OK ]
  61. Processing triggers for ureadahead ...
  62. Processing triggers for man-db ...
  63. Setting up libapt-inst1.4 (0.8.16~exp12ubuntu10.17) ...
  64. Setting up libgnutls26 (2.12.14-5ubuntu3.8) ...
  65. Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.9) ...
  66. Setting up libssl-doc (1.0.1-4ubuntu5.15) ...
  67. Setting up libssl-dev (1.0.1-4ubuntu5.15) ...
  68. Setting up libxml2-dev (2.7.8.dfsg-5.1ubuntu4.9) ...
  69. Setting up libmysqlclient18 (10.0.12+maria-1~precise) ...
  70. Setting up libmariadbclient18 (10.0.12+maria-1~precise) ...
  71. Setting up mariadb-client-core-10.0 (10.0.12+maria-1~precise) ...
  72. Setting up mariadb-client-10.0 (10.0.12+maria-1~precise) ...
  73. Setting up mariadb-server-core-10.0 (10.0.12+maria-1~precise) ...
  74. Setting up mariadb-server-10.0 (10.0.12+maria-1~precise) ...
  75. * Stopping MariaDB database server mysqld [fail]
  76. invoke-rc.d: initscript mysql, action "stop" failed.
  77. * Starting MariaDB database server mysqld [ OK ]
  78. Setting up mariadb-server (10.0.12+maria-1~precise) ...
  79. Processing triggers for libc-bin ...
  80. ldconfig deferred processing now taking place
  81. erpnext@erpnext4:~/erpnext$ sudo apt-get install python-dev build-essential python-mysqldb git memcached ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix
  82. Reading package lists... Done
  83. Building dependency tree
  84. Reading state information... Done
  85. git is already the newest version.
  86. screen is already the newest version.
  87. htop is already the newest version.
  88. libcrypto++-dev is already the newest version.
  89. redis-server is already the newest version.
  90. build-essential is already the newest version.
  91. libxslt1-dev is already the newest version.
  92. libxslt1.1 is already the newest version.
  93. memcached is already the newest version.
  94. ntp is already the newest version.
  95. postfix is already the newest version.
  96. python-dev is already the newest version.
  97. python-mysqldb is already the newest version.
  98. vim is already the newest version.
  99. mariadb-common is already the newest version.
  100. mariadb-server is already the newest version.
  101. The following extra packages will be installed:
  102. libssl1.0.0
  103. The following packages will be upgraded:
  104. libmariadbclient-dev libssl-dev libssl1.0.0
  105. 3 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
  106. Need to get 2,626 kB/4,678 kB of archives.
  107. After this operation, 55.3 kB of additional disk space will be used.
  108. Do you want to continue [Y/n]? y
  109. Get:1 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.16 [1,575 kB]
  110. Get:2 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libssl1.0.0 amd64 1.0.1-4ubuntu5.16 [1,051 kB]
  111. Fetched 2,626 kB in 0s (5,249 kB/s)
  112. Preconfiguring packages ...
  113. (Reading database ... 67535 files and directories currently installed.)
  114. Preparing to replace libssl-dev 1.0.1-4ubuntu5.15 (using .../libssl-dev_1.0.1-4ubuntu5.16_amd64.deb) ...
  115. Unpacking replacement libssl-dev ...
  116. Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.15 (using .../libssl1.0.0_1.0.1-4ubuntu5.16_amd64.deb) ...
  117. Unpacking replacement libssl1.0.0 ...
  118. Setting up libssl1.0.0 (1.0.1-4ubuntu5.16) ...
  119. Processing triggers for libc-bin ...
  120. ldconfig deferred processing now taking place
  121. (Reading database ... 67535 files and directories currently installed.)
  122. Preparing to replace libmariadbclient-dev 10.0.11+maria-1~precise (using .../libmariadbclient-dev_10.0.12+maria-1~precise_amd64.deb) ...
  123. Unpacking replacement libmariadbclient-dev ...
  124. Processing triggers for man-db ...
  125. Setting up libssl-dev (1.0.1-4ubuntu5.16) ...
  126. Setting up libmariadbclient-dev (10.0.12+maria-1~precise) ...
  127. erpnext@erpnext4:~/erpnext$ sudo apt-get install python-dev build-essential python-mysqldb git memcached ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix
  128. Reading package lists... Done
  129. Building dependency tree
  130. Reading state information... Done
  131. git is already the newest version.
  132. screen is already the newest version.
  133. htop is already the newest version.
  134. libcrypto++-dev is already the newest version.
  135. redis-server is already the newest version.
  136. build-essential is already the newest version.
  137. libssl-dev is already the newest version.
  138. libxslt1-dev is already the newest version.
  139. libxslt1.1 is already the newest version.
  140. memcached is already the newest version.
  141. ntp is already the newest version.
  142. postfix is already the newest version.
  143. python-dev is already the newest version.
  144. python-mysqldb is already the newest version.
  145. vim is already the newest version.
  146. libmariadbclient-dev is already the newest version.
  147. mariadb-common is already the newest version.
  148. mariadb-server is already the newest version.
  149. 0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
  150. erpnext@erpnext4:~/erpnext$ git clone https://github.com/frappe/frappe-bench
  151. fatal: destination path 'frappe-bench' already exists and is not an empty directory.
  152. erpnext@erpnext4:~/erpnext$ cd frappe-bench
  153. erpnext@erpnext4:~/erpnext/frappe-bench$ ./scripts/install.sh migrate_3_to_4 /home/erpnext/erpnext/
  154. New python executable in env/bin/python2.7
  155. Also creating executable in env/bin/python
  156. Installing setuptools, pip...done.
  157. remote: Reusing existing pack: 55840, done.
  158. remote: Counting objects: 73, done.
  159. remote: Compressing objects: 100% (73/73), done.
  160. remote: Total 55913 (delta 31), reused 2 (delta 0)
  161. Receiving objects: 100% (55913/55913), 22.16 MiB | 4.93 MiB/s, done.
  162. Resolving deltas: 100% (39232/39232), done.
  163. remote: Reusing existing pack: 113804, done.
  164. remote: Counting objects: 11, done.
  165. remote: Compressing objects: 100% (10/10), done.
  166. remote: Total 113815 (delta 0), reused 0 (delta 0)
  167. Receiving objects: 100% (113815/113815), 35.57 MiB | 7.41 MiB/s, done.
  168. Resolving deltas: 100% (81023/81023), done.
  169. remote: Reusing existing pack: 861, done.
  170. remote: Counting objects: 31, done.
  171. remote: Compressing objects: 100% (26/26), done.
  172. remote: Total 892 (delta 5), reused 9 (delta 3)
  173. Receiving objects: 100% (892/892), 266.86 KiB | 277 KiB/s, done.
  174. Resolving deltas: 100% (600/600), done.
  175. Wrote sites/assets/js/frappe-web.min.js - 63k
  176. Wrote sites/assets/js/shopping-cart-web.min.js - 1k
  177. Wrote sites/assets/js/erpnext.min.js - 12k
  178. Wrote sites/assets/css/frappe.css - 211k
  179. Wrote sites/assets/css/frappe-web.css - 162k
  180. Wrote sites/assets/css/shopping-cart-web.css - 0k
  181. Wrote sites/assets/js/editor.min.js - 26k
  182. Wrote sites/assets/css/erpnext.css - 0k
  183. Wrote sites/assets/js/frappe.min.js - 605k
  184. Wrote sites/assets/js/erpnext-web.min.js - 0k
  185. Wrote sites/assets/js/slickgrid.min.js - 102k
  186. Wrote sites/assets/js/canvasResize.min.js - 22k
  187. Traceback (most recent call last):
  188. File "scripts/3to4.py", line 32, in <module>
  189. migrate(args.site)
  190. File "scripts/3to4.py", line 23, in migrate
  191. add_to_installed_apps('frappe', rebuild_sitemap=False)
  192. TypeError: add_to_installed_apps() got an unexpected keyword argument 'rebuild_sitemap'
  193. erpnext@erpnext4:~/erpnext/frappe-bench$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement