Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Expanded Fronts

    (@expandedfronts)

    Hello,

    Are you using Bitbucket, Github, or some other remote to push changes?

    Generally this error means one of two things. Most of the time it is a simple authentication error- when you updated the Remote URL, Revisr should have told you if it was able to connect successfully to that URL.

    Please see the “Remote Settings” section of the docs for examples of how to setup the URL:
    https://revisr.io/documentation/#remote

    If you’re sure that it’s not an authentication issue, your remote repo is likely ahead of the current repo, and a pull from the remote should resolve it.

    Marking this as resolved for now, but please don’t hesitate to let me know if you run into any further issues. Thanks!

    Thread Starter Josh Fialkoff

    (@nooozeguy)

    Hi!
    I am using Github.
    I corrected the authentication and then did a series of pulls, but it is still not working.
    Please see https://screencast.com/t/bP0jsCGbRWc

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Hello,

    Are you using SSH or HTTPS for authentication? Just going off of your screencast, it looks like an authentication issue to me. If you have entered the correct URL but not provided the password (for HTTPS) or have not added your server’s SSH key to Github, you may run into the issue shown in your screencast.

    Thread Starter Josh Fialkoff

    (@nooozeguy)

    SSH is enabled on the server. I can share screens with you if you want and show you quickly. Go to https://urlgone.com/1623b2/

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Hi Josh,

    I just wanted to follow up and let you know that I spun up a test WP site on MediaTemple and Revisr is running well, with both the HTTPS and SSH methods of connecting.

    For the SSH method, I did have to go into SSH to run the first push- the server is configured to ask prior to connecting to unknown hosts (in this case, GitHub). A message came up “Are you sure you want to connect to ….”, and then typing yes will store GitHub as a known host so you won’t get prompted again. After that, pushes were working fine.

    Feel free to email [email protected] with temporary access if you’d like me to take a closer look. Thank you.

    having a similar issue. I am new to git so it may be something I am doing wrong. I can’t push or pull from the revisr admin interface, but it seems to work fine locally on the server and I can push to bit bucket manually from the server.

    I have git 1.7.1 installed. Is that the issue?

    ADMIN SCREEN
    —–
    Recent Activity
    The daily backup was successful. 13 mins ago
    Error pushing changes to the remote repository. 13 mins ago
    Successfully backed up the database. 13 mins ago
    Error pushing changes to the remote repository. 24 mins ago
    Error pulling changes from the remote repository. 24 mins ago
    Error pushing changes to the remote repository. 45 mins ago
    Commmitted #bba6713 to the local repository. 45 mins ago

    SUCESSFUL GIT PUSH ON LINUX
    —-
    !!!MY-LINUX-USER-NAME!!! [~/public_html/.git]# git push -u origin –all
    Counting objects: 4233, done.

    Delta compression using up to 2 threads.
    Compressing objects: 100% (4137/4137), done.
    Writing objects: 100% (4233/4233), 65.49 MiB | 8.29 MiB/s, done.
    Total 4233 (delta 621), reused 0 (delta 0)
    To [email protected]:!!!MY-GIT-USER-NAME!!!/!!!MY-REPOSITORY-NAME!!!.git
    * [new branch] master -> master
    Branch master set up to track remote branch master from origin.
    !!!MY-LINUX-USER-NAME!!! [~/public_html/.git]#

    WordPress 4.0.1
    Theme: X from theme.co
    CENTOS 6.6 x86_64 virtuozzo – server
    WHM 11.46.1 (build 4)
    PHP 5.5.19 (cli) (built: Dec 20 2014 23:11:02)
    git version 1.7.1

    [~/.ssh]# cat known_hosts
    bitbucket.org,131.103.20.167 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y…

    [~/.ssh]# cat config
    Host bitbucket.org
    IdentityFile ~/.ssh/id_rsa

    [~/public_html/.git]# cat config
    [core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    [user]
    name = !!!MY-BITBUCKET-USER-NAME!!!
    email = !!!MY-BITBUCKET-EMAIL-ADDRESS!!!
    [revisr]
    token = !!!!REDACTED!!!
    auto-push = true
    auto-pull = true
    [remote “origin”]
    url = [email protected]:!!!MY-BITBUCKET-USER-NAME!!!/!!!MY-BITBUCKET-REPOSITORY!!!.git
    fetch = +refs/heads/*:refs/remotes/origin/*
    [branch “master”]
    remote = origin
    merge = refs/heads/master

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error pushing changes to the remote repository.’ is closed to new replies.