Score:0

How do I fix these issues I get on a cloned site?

fr flag

I am maintaining a Drupal site using Docksal, at work. During the weekend, I wanted to work on it at home, from my computer.

  • I cloned the repository

    git clone [email protected]:user/project.git folder
    
  • I pulled up all the branches

    git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
    git fetch --all
    git pull --all
    
  • I ran the following commands

    fin init
    fin p start
    
  • I imported the database

    fin db import /path/to_db/db.sql
    

On the site I ran from my computer, I have the following problems.

  • The administration panel is collapsed and the tabs began to duplicate
  • The Bartik theme is used as default theme instead of my sub-theme, which is based on the Bootstrpap5 theme

enter image description here

How can I fix these issues?

cn flag
How did you import the files? Did you rebuild the cache? I would rebuild the cache before exporting the db and then again after importing the db.
in flag
I'd also ensure that you checked out the correct branch locally. It's not uncommon for some projects to put production code in a branch other than the branch that's checked out during clone.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.