Code Monkey home page Code Monkey logo

Comments (11)

kizniche avatar kizniche commented on July 24, 2024

@boomstick8x Copy what you have displayed when you press "Git Commits" button on the Data tab.

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024
Current commit: 5da6d73

If a backup exists for a certain commit, a "Restore" button will appear beside the commit ID.
Restoring a backup will create a backup of the current commit.
Restoring a backup will restore the databases from the restored backup.

Commit  Description (The most recent commit is at the top)

5da6d73 v3.5.79: Add backup restore feature to revert back to a previously-backed up system and databases (found in 'Git Commits' of the Data tab)
4a77d43 Restore feature test (WARNING: DO NOT USE YET)
b81a558 Restore feature test (WARNING: DO NOT USE YET)
ecf8a8d Restore feature test (WARNING: DO NOT USE YET)
dee80b7 Restore feature test (WARNING: DO NOT USE YET)
f9ad8a8 Restore feature test (WARNING: DO NOT USE YET)
36ca435 Restore feature test (WARNING: DO NOT USE YET)
8af423a Restore feature test (WARNING: DO NOT USE YET)
59f6181 Restore feature test (WARNING: DO NOT USE YET)
1784c9c Restore feature test (WARNING: DO NOT USE YET)
8eed639 Restore feature test (WARNING: DO NOT USE YET)
cf749fa Add backup date to Restore button title (mouse hover text)
b43a45e Edit name/value of restore button
9ab609d Add framework for restoring backups (can view non-working button next to commits that have backups, from the 'Git Commits' button in the Data tab)
ca21be2 test of new backup directory
e8b9e51 Use /var/Mycodo-backups instead of home directory (too difficult to determine which user the backups are under when attempting to create restore feature
fab1ea5 include commit in backup directory name
7cff0e3 formatting changes
364e673 fix bug preventing saving of pressure sensor values
98073d8 bug fix for new history feature
c0ae28e critical bug fix
6cb09a7 v3.5.78: Record history of changes to sensor/relay values, reduce number of spaces between values in relay/sensor logs to one (reduce file size)
bc08442 layout tweaks
412dc2a Don't know how this didn't get included in the previous update (I recall adding it)
20bec88 Test update system
9929641 fix update checker
d1c4363 Test for new update notification system
fb75ff1 Add system update check every 24 hours (minimum, determined by how often the page is refreshed) and place persistant notification on settings page
457d84d add ability to view all git commits and descriptions ('Git Commits' in Data tab)
c79b37f reformat sensor/relay log header when printing logs

from mycodo.

kizniche avatar kizniche commented on July 24, 2024

I don't think you are doing a fresh clone if this is the output you are receiving. There are many newer commits than this.

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024

I manually hard reset to this commit for test auto Backup feature when updating to a newer version

from mycodo.

kizniche avatar kizniche commented on July 24, 2024

I'm not sure what that means. I would get a fresh clone by doing...

sudo mv /home/user/Mycodo /home/user/Mycodo-old
sudo git clone https://github.com/kizniche/Mycodo.git /home/user/Mycodo
sudo cp /home/user/Mycodo-old/3.5/config/*.db /home/user/Mycodo/3.5/config/
sudo cp /home/user/Mycodo-old/3.5/log/*.log /home/user/Mycodo/3.5/log/
sudo cp /home/user/Mycodo/3.5/init.d/mycodo /etc/init.d/
sudo service mycodo initialize
sudo service start

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024

I think it`s all about restarting service... One second, I will try...

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024

Yes! That was it!

from mycodo.

kizniche avatar kizniche commented on July 24, 2024

How did that fix it?

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024

I really dont know, but after I: service mycodo restart in terminal I saw A newer version is available in the settings tab.

from mycodo.

kizniche avatar kizniche commented on July 24, 2024

Okay... I'm not sure how that could have fixed it, but if it's working, great. I'll close this issue.

from mycodo.

fadh3r avatar fadh3r commented on July 24, 2024

Okay, thank you!

from mycodo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.