Visit The New, Modern Unix Linux Community


VBulletin 3.8 to Discourse on Docker Migration Test Take Four


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? VBulletin 3.8 to Discourse on Docker Migration Test Take Four
# 8  
Still moving along.....

Code:
importing posts...
   548360 / 651677 ( 84.1%)

The only issues I see are related to:
  • Migrating "vb thanks" to "discourse likes" (have not found a reliable simple solution to this yet except, of course pattern matching in the postgres DB is always an option, but this will be painfully slow).
  • Not sure how all the various kinds of attachments will migrate, since the vb site has many different legacy attachment methods, so we may not migrate over most of them.

Will not migrate the following:
  • PMs (no reason to migrate these).
  • Passwords (the hash functions are different so better to reset using "lost password", which works fine and all password will follow the discourse rules),
# 9  
I have another potential solution to this "thanks to likes" (vb to discourse) issue:

This idea did not work. - The discourse postids do not match as expected.

Before the ruby migration create_post loop:

Code:
   neo_post_count = DB.exec <<~SQL
          SELECT count(id) from posts
   SQL

Inside the migration create_post loop:

Code:
neo_post_count += 1
mysql_query("UPDATE user_actions SET discourse_post_id = #{neo_post_count} WHERE target_post_id = #{pid} AND user_id = #{tuid}")

Update: Did not work. I'm not really understanding ruby, the discourse db libs and postgres yet.
# 10  
Still problems with attachment migration:

Code:
importing attachments...
   269043 / 651677 ( 41.3%)  Couldn't find attachment record for post.id = 269043, import_id = thread-139764
   323104 / 651677 ( 49.6%)  Couldn't find attachment record for post.id = 323104, import_id = thread-213737
   354790 / 651677 ( 54.4%)  Couldn't find attachment record for post.id = 354793, import_id = thread-260244
   375104 / 651677 ( 57.6%)  Traceback (most recent call last):
	23: from script/import_scripts/vbulletin_neo4.rb:968:in `<main>'
	22: from /var/www/discourse/script/import_scripts/base.rb:47:in `perform'
	21: from script/import_scripts/vbulletin_neo4.rb:97:in `execute'
	20: from script/import_scripts/vbulletin_neo4.rb:602:in `import_attachments'
	19: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/querying.rb:21:in `find_each'
	18: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:69:in `find_each'
	17: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:135:in `find_in_batches'
	16: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:222:in `in_batches'
	15: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:222:in `loop'
	14: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:238:in `block in in_batches'
	13: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:136:in `block in find_in_batches'
	12: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:70:in `block in find_each'
	11: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:70:in `each'
	10: from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/batches.rb:70:in `block (2 levels) in find_each'
	 9: from script/import_scripts/vbulletin_neo4.rb:607:in `block in import_attachments'
	 8: from script/import_scripts/vbulletin_neo4.rb:607:in `gsub!'
	 7: from script/import_scripts/vbulletin_neo4.rb:617:in `block (2 levels) in import_attachments'
	 6: from /var/www/discourse/script/import_scripts/base.rb:847:in `html_for_upload'
	 5: from /var/www/discourse/script/import_scripts/base/uploader.rb:40:in `html_for_upload'
	 4: from /var/www/discourse/lib/upload_markdown.rb:10:in `to_markdown'
	 3: from /var/www/discourse/lib/upload_markdown.rb:17:in `image_markdown'
	 2: from /var/www/discourse/app/models/upload.rb:123:in `short_url'
	 1: from /var/www/discourse/app/models/upload.rb:397:in `short_url_basename'
/var/www/discourse/app/models/upload.rb:161:in `base62_sha1': undefined method `hex' for nil:NilClass (NoMethodError)

So, changed method hex in upload.rb to sha1... trying again.

Did not work either...

/var/www/discourse/app/models/upload.rb:161:in `base62_sha1': undefined method `sha1' for "a5019db7160084fb98dc8a9398bcad8ad05a42ce":String (NoMethodError)

Added ruby rescue for exception handling;

Code:
importing attachments...
   375104 / 651677 ( 57.6%)  skipping....base62.encode.... 
skipping....base62.encode.... 
skipping....base62.encode.... 
skipping....base62.encode.... 
   376880 / 651677 ( 57.8%)  Couldn't find attachment record for post.id = 376883, import_id = thread-283391
   704284 / 651677 (108.1%)  Couldn't find attachment record for post.id = 704340, import_id = 302453503
   764647 / 651677 (117.3%)  Couldn't find attachment record for post.id = 764703, import_id = 302538540
   792031 / 651677 (121.5%)

Seems to be moving along again but then another error:

Code:
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/redis-4.1.3/lib/redis/client.rb:126:in `call': LOADING Redis is loading the dataset in memory (Redis::CommandError)

Added another rescue to catch and skip this:
# 11  
Lots of error, but it's moving on past attachment migration errors now:

Code:
  1026248 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026251 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026261 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026299 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026402 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026403 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026405 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026454 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026457 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026462 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026473 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026489 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026506 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026522 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026533 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026538 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026540 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026543 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026576 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026600 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026611 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026636 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026656 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026659 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026660 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026661 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026676 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026677 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026679 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026680 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026682 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026683 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026685 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026715 / 651677 (157.5%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026721 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026741 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026746 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026747 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026759 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026760 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026771 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026922 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026923 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026984 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1026988 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027046 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027063 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027071 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027073 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027082 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027089 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027114 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027115 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027149 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027172 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027204 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027211 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027349 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027364 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027366 / 651677 (157.6%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027371 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027445 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027512 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027571 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027583 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027584 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027585 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027645 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027648 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027649 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027650 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027660 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027708 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027715 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027759 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027764 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027768 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027803 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027816 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027817 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027824 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027842 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027914 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027934 / 651677 (157.7%)  Failed to create upload: undefined method `[]' for nil:NilClass
Upload not valid :(
  1027936 / 651677 (157.7%)

Code:
Closing topics...

# 12  
No one likes migrations....

LOL
# 13  
Some of my crude hacking worked ..... LOL

At least some attachments are working:

VBulletin 3.8 to Discourse on Docker Migration Test Take Four-screen-shot-2020-03-17-12243-pmjpg


Success! LOL
These 2 Users Gave Thanks to Neo For This Post:
# 14  
Found a ruby script in the import_scripts directory of the discourse app which I have modified to transfer vb3 plugin "thanks" to discourse "likes":

Code:
def import_likes
    puts "\nimporting likes..."

     # neo created this mysql user_actions table from vb3 and added it to the mysql dump for migration
    sql = "select user_id, target_post_id, created_at from user_actions"
    results = mysql_query(sql)

    puts "loading unique id map"
    existing_map = {}
    PostCustomField.where(name: 'import_unique_id').pluck(:post_id, :value).each do |post_id, import_id|
      existing_map[import_id] = post_id
    end

    puts "loading data into temp table"
    DB.exec("create temp table like_data(user_id int, post_id int, created_at timestamp without time zone)")
    PostAction.transaction do
      results.each do |result|

        result["user_id"] = user_id_from_imported_user_id(result["user_id"].to_s)
        result["post_id"] = existing_map[result["post_id"].to_s]

        next unless result["user_id"] && result["post_id"]

        DB.exec("INSERT INTO like_data VALUES (:user_id,:post_id,:created_at)",
          user_id: result["user_id"],
          post_id: result["post_id"],
          created_at: result["created_at"]
        )

      end
    end

    puts "creating missing post actions"
    DB.exec <<~SQL

    INSERT INTO post_actions (post_id, user_id, post_action_type_id, created_at, updated_at)
             SELECT l.post_id, l.user_id, 2, l.created_at, l.created_at FROM like_data l
             LEFT JOIN post_actions a ON a.post_id = l.post_id AND l.user_id = a.user_id AND a.post_action_type_id = 2
             WHERE a.id IS NULL
    SQL

    puts "creating missing user actions"
    DB.exec <<~SQL
    INSERT INTO user_actions (user_id, action_type, target_topic_id, target_post_id, acting_user_id, created_at, updated_at)
             SELECT pa.user_id, 1, p.topic_id, p.id, pa.user_id, pa.created_at, pa.created_at
             FROM post_actions pa
             JOIN posts p ON p.id = pa.post_id
             LEFT JOIN user_actions ua ON action_type = 1 AND ua.target_post_id = pa.post_id AND ua.user_id = pa.user_id

             WHERE ua.id IS NULL AND pa.post_action_type_id = 2
    SQL

    # reverse action
    DB.exec <<~SQL
    INSERT INTO user_actions (user_id, action_type, target_topic_id, target_post_id, acting_user_id, created_at, updated_at)
             SELECT p.user_id, 2, p.topic_id, p.id, pa.user_id, pa.created_at, pa.created_at
             FROM post_actions pa
             JOIN posts p ON p.id = pa.post_id
             LEFT JOIN user_actions ua ON action_type = 2 AND ua.target_post_id = pa.post_id AND
                ua.acting_user_id = pa.user_id AND ua.user_id = p.user_id

             WHERE ua.id IS NULL AND pa.post_action_type_id = 2
    SQL
    puts "updating like counts on posts"

    DB.exec <<~SQL
        UPDATE posts SET like_count = coalesce(cnt,0)
                  FROM (
        SELECT post_id, count(*) cnt
        FROM post_actions
        WHERE post_action_type_id = 2 AND deleted_at IS NULL
        GROUP BY post_id
    ) x
    WHERE posts.like_count <> x.cnt AND posts.id = x.post_id

    SQL

    puts "updating like counts on topics"

    DB.exec <<-SQL
      UPDATE topics SET like_count = coalesce(cnt,0)
      FROM (
        SELECT topic_id, sum(like_count) cnt
        FROM posts
        WHERE deleted_at IS NULL
        GROUP BY topic_id
      ) x
      WHERE topics.like_count <> x.cnt AND topics.id = x.topic_id

    SQL
  end

Will try this after the current migration test build 4 is done.....

It's still running.....

Code:
Closing topics...


Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #682
Difficulty: Easy
Steve Job's was the primary founder and majority shareholder of Pixar
True or False?

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Under Consideration: Migrate the Forums to Discourse

Dear All, After being active on the Node-RED forum for the last few weeks, I have been very impressed with Discourse, and my eyes have been opened. https://www.discourse.org/ but not the paid /hosted offering, but using the open distribution: https://github.com/discourse/discourse ... (52 Replies)
Discussion started by: Neo
52 Replies

2. What is on Your Mind?

VBulletin 3.8 to Discourse on Docker Migration Test Take Two

OK. Like we all do, we learn a lot from tests, test migrations, and so forth. Today, I started from scratch on test migration 2, armed with a lot more knowledge, The main differences are as follows: Installed discourse plugin ruby-bbcode-to-md before starting the install Modified... (30 Replies)
Discussion started by: Neo
30 Replies

3. Docker

Docker learning Phase-I

Hello All, I had recently learnt a bit of Docker(which provides containerization process). Here are some of my learning points from it. Let us start first with very basic question: What is Docker: Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies

4. Shell Programming and Scripting

Problem in extracting yocto SDK for docker

Actually I was facing the following issue while building my Yocto SDK on Docker container sudo docker build --tag="akash/eclipse-che:6.5.0-1" --tag="akash/eclipse-che:latest" /home/akash/dockerimage.yocto.support/ Sending build context to Docker daemon 26.93MB Step 1/5 : FROM eclipse/cpp_gcc ... (3 Replies)
Discussion started by: Akash BHardwaj
3 Replies

5. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

6. Linux

Docker and pipework,ip with other subnet

Recently i found this for give to docker a "personal" ip ip addr del 10.1.1.133/24 dev eth0 ip link add link eth0 dev eth0m type macvlan mode bridge ip link set eth0m up ip addr add 10.1.1.133/24 dev eth0m route add default gw 10.1.1.1On container i did ... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

7. Web Development

Removing VBSEO for vbulletin Reverting back to vbulletin URLs

Please note, this information was copied from vbseo.com, now showing a database error. This is posted for reference since vbSEO seems to be going out of business: If you ever need to uninstall vBSEO , you can use the following instructions. Make sure you carefully follow each step. Login... (37 Replies)
Discussion started by: Neo
37 Replies

Featured Tech Videos