Jump to content


Photo

BackupSuite


  • Please log in to reply
1308 replies to this topic

Re: BackupSuite #421 ghuss

  • Senior Member
  • 62 posts

0
Neutral

Posted 30 November 2014 - 09:22

Thanks 

 

Works now after deleting the file speed.txt

 

:) 


Vu+ Duo 2 


Re: BackupSuite #422 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 30 November 2014 - 11:02

With the next update this error will be avoided if for whatever reason the speed 0 is stored. Then after the first backup the real speed is stored again.



Re: BackupSuite #423 Stan

  • Senior Member
  • 376 posts

0
Neutral

Posted 14 December 2014 - 13:45

Hi Pedro. When I uninstall BackupSuite, it seems not be to removed entirely.

Could you have a look at this, please? I'm using the current OpenPli on ET9200.



Re: BackupSuite #424 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 14 December 2014 - 14:00

Yes I'm aware of it but I can't solve it myself, it has to be done by one of the Openpli dev's, I already asked in the Dutch part to add a postrm script to remove the remains after de-installation  (the generated .pyo files and the speed.txt file)

The topic is here: http://forums.openpl...ndpost&p=457763

The script to be added has to be something like this:

#!/bin/sh
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/BackupSuite

@Openpli

Maybe someone can have a look at it and add the script in a postrm, now the storm about the build environment/build scripts has blown over ;)

 



Re: BackupSuite #425 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 14 December 2014 - 14:28

You say " the remains after de-installation (the generated .pyo files.....". Does this mean that not all .pyo files are installed by OPKG?
Normally, when all py's and pyo's are in the ipk, OPKG 'knows' about them and will remove them upon de-installing. If however pyo's are not in the ipk, OPKG doesn't know about their existence and hence won't remove them.

Re: BackupSuite #426 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 14 December 2014 - 14:34

The pyo's  could be provided but the buildscripts ignored them/removed them, Openpli prefers them to be build at start
Also the .po files are removed by the build script, see the script http://sourceforge.n...-backupsuite.bb
..
do_install_append() {
	install -d ${DEST}
	cp -rp ${SRC}/* ${DEST}
	# remove the files we do not want in our package
	find ${DEST} -name '*.pyo' -exec rm {} \;
	find ${DEST} -name '*.po' -exec rm {} \;
}
So therefore there can't be a clean remove without an additional postrm I think

Re: BackupSuite #427 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 20 December 2014 - 07:36

Hi Pedro. When I uninstall BackupSuite, it seems not be to removed entirely.

Could you have a look at this, please? I'm using the current OpenPli on ET9200.

 

 

You say " the remains after de-installation (the generated .pyo files.....". Does this mean that not all .pyo files are installed by OPKG?
Normally, when all py's and pyo's are in the ipk, OPKG 'knows' about them and will remove them upon de-installing. If however pyo's are not in the ipk, OPKG doesn't know about their existence and hence won't remove them.

 

With todays update the problem should be solved but you'll have to make a backup once to correct some things.

When running the backup first is checked if the pyo's are listed in /var/lib/opkg/info/enigma2-plugin-extensions-backupsuite.list.

The first time they are not because the package isn't aware of these files, they are not installed but generated after install.

The file /var/lib/opkg/info/enigma2-plugin-extensions-backupsuite.list is then updated with the pyo's and speed.txt, so when uninstalling the BackupSuite these files are also deleted, thus insuring a clean uninstall.

 

A bit crude solution but this is the best thing I could do myself to sort things out, it surely won't win the beauty contest but it will do for now until a proper solution is created.



Re: BackupSuite #428 Stan

  • Senior Member
  • 376 posts

0
Neutral

Posted 20 December 2014 - 13:34

Hi Pedro. Do I need to run a backup? Just starting the plugin will not suffice?



Re: BackupSuite #429 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 20 December 2014 - 13:50

You'll have to run one time a backup because the alterations are done with the script backupsuite.sh. After that the files are added.

Re: BackupSuite #430 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,940 posts

+191
Excellent

Posted 20 December 2014 - 13:52

Nice Christmas pic ;)


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

Many answers to your question can be found in our new and improved wiki

Note: I do not provide support via PM !.


Re: BackupSuite #431 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 20 December 2014 - 17:53

Thanks, just for the next 10-14 days



Re: BackupSuite #432 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 21 December 2014 - 14:58

Nice Christmas pic ;)

Like wise

 

Simple and Refreshing very nice Thanks

 

Thanks, just for the next 10-14 days

 

:D Merry Christmas
 


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: BackupSuite #433 gerard0610

  • Senior Member
  • 943 posts

+41
Good

Posted 21 December 2014 - 15:50

Beste Pedro

 

I heb momenteel een VU+Zero met OpenPli-image

 

Via  Applicaties heb ik je Backupsuite geïnstalleerd en een backup gemaakt (gele toets) op een USB stick (met daarin een bestand met de naam backupstick.txt).

 

Op de PC zie ik dat er inderdaad een map vuplus met de juiste tijd.

 

De backup terugzetten gaat goed via de Blauwe knop (Backup terugzetten)

Maar dit gaat niet goed wanneer ik die USB stick achterin de USB stop en dan via de aan/uit schakelaar deze backup op Flash-manier probeer terug te zetten.

Weet jij een oplossing?


Edited by gerard0610, 21 December 2014 - 15:51.


Re: BackupSuite #434 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 21 December 2014 - 15:56

english section here!


on the Glassfibre 1GB DVB-C...


Re: BackupSuite #435 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 21 December 2014 - 15:59

Could you try to rename the file reboot.update into force.update and try again?



Re: BackupSuite #436 gerard0610

  • Senior Member
  • 943 posts

+41
Good

Posted 21 December 2014 - 16:14

Sorry that I used the Dutch language.

 

Yes, now this method (backside USB) is functioning.

Can you change this by the next update or should I use this name change always?



Re: BackupSuite #437 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 21 December 2014 - 16:21

With the next update (tomorrow) it will be fixed.



Re: BackupSuite #438 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 21 December 2014 - 16:30

Just committed the change, also made the change for the Vu+ Solo SE



Re: BackupSuite #439 gerard0610

  • Senior Member
  • 943 posts

+41
Good

Posted 21 December 2014 - 16:30

With the next update (tomorrow) it will be fixed.

Thanks :)



Re: BackupSuite #440 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 21 December 2014 - 22:29

Just committed the change, also made the change for the Vu+ Solo SE

But that implies that the box will always automatically flash on any reboot.


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users