-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu + Duply #426
Comments
The LIBS should be auto detected (try not to add these by hand if possible). The libstdc++ library might be used by syslinux (menu.c32)?
|
Though IIRC our auto detect code works only for compiled stuff, not for On 16 June 2014 11:30, gdha notifications@github.com wrote:
|
I could create a test server and a rear bootet "test-server"r to check maybe its faster when someone could have a look? (if you want, to verify if its a bug) |
still not sure where you got the requirements of libstdc++* from? For the rest you got the analysis right. |
I have added the Library one by one. and at one time threre was the message of the missing libstdc++ when starting duplicity |
Just to be complete: And, if I'm not mistaken, the link of python should also be corrected in |
Zitat von gdha notifications@github.com:
Hi, Sorry i was on holliday, now i get that libexpat.so.1 is missing Links:[1] https://github.com/tyl0re |
@tyl0re In my case it seems to find it (on f20):
|
Do you mean on the cd or on the Host? |
… Ubuntu in prep/DUPLICITY/default/05_prep_duplicity.sh Concerning issue #426
From the
On The Server:
I have a suggestion mayby to get all Library rights,mayby it solves problems when using other Method like webdav,ftp,.....
The Lib list is: |
thank you for the tip (not bad at all - perhaps should add this to our developers guide [which does not yet exist]:) :
On my fedora box it looks like:
|
O.k Try 2: FILES= for name in $FILES; do Files= (And then the ' is missing in the comment),seems to be cut out |
This would do it if you need the phyiscal files, when the names of the links are needed: for name in $FILES; do Would do it Files= (And then the ' is missing in the comment),seems to be cut out |
Hello, i have found some equal problem on/with:
(duply/duplicity from wheezy backports) Backup is done fine but restore hung with:
but better install then please all backends ...
( last two packaes have no references in Ubuntu/Debian yet:
Volume Size (is set):
Bests Reiner |
Hi, With actual snapshot of 1st October and enough RAM I got still following missing files/error (same later for RESTORE):
could have something to do with this (i have not nuch experiense with python yet)
... but this file is already installed... there must be some other file(s) for the hashes... |
Hi made an Patch that works for me, Mayby Reiner030 can verify if its working for him |
mmh, wasn't helping: Build process:
=> package need new package requirement: "strace" and perhaps also "coreutils" and "file" but I think that they are always installed in Debian/Ubuntu. Restore process with new ISO image::
Manually run I got:
but backup/restore host have same content there... Perhaps this is more a backend problem. I let install all (didn't take much space and later I need not take care when using one of he backends). Here I use/need the ssh backend:
... yes ... seems so .. => next comment ;) |
a little to fast... but I think I have found the problem... if I call
on backup host it works fine but on restore host it throws above error messages. => here the diff of my duplicity call:
=> minimum this seems the cause? => yes... new failure message:
=> /usr/lib/x86_64-linux-gnu/librsync.so.1.0.2 ... and creating symlinks for these 3 libs with *.so and *.so.1 => works then ;)
(the complained lib is in an not used backend... ) |
Hi Seems Git add Link + Libarys.. |
mmh, sadly there is now something other missing...
I checked dns resolution / ssh connect and they are working normal. (ssh 192.168.10.41) so it must be a missing.library problem of the new ssh backend of duplicity now...
|
The Old Version has had an bug i misswrote straces instead strace , so it havent done anythingsince check for binaries hasnt worked. I think a Library is now added using, somthing that wasnt used before, where somthing is missing Mayby some Python Modules are missing. I Added now all Script Strace finds, mayby you can try it again. If its not working What does |
sorry, with last modification from today the script already stuck when initialzing network:
I added 2>&1 redirection ;) First with non-working version:
https://gist.github.com/Reiner030/2e5c54994b54e11d22a2#file-strace-output-rear-duply-test Here the deduplicated file listing of failed openings: Then I copied these files manually to restore system (ready for all backends):
and here duply status works fine.
https://gist.github.com/Reiner030/05ddefb1a5e5502536ea And following file types:
=> there is no filetype "script" mentioned... because there is no "#!/usr/bin/python" in first line ...
|
You forgot the readlink Can you do the strace for the Original System ? What does "file /usr/lib/python2.7/textwrap.py" say? |
ok, I used only copy&paste from
here from origin system:
ah and:
|
Found another Error,.... Its the first time using arrays in shell scripts..... |
Hi, => I have taken a longer step and created with Virtualbox and Vagrant a nice testing setup with a found ready-to-use image for it. The config/scripts I have prepared so that they are basically usable for multiple platforms/backend for testing. You need
My Test VM created
The installer process have some more problems because of missing Virtualbox drivers
Comments howto provision again and login into VMs within ssh are inside the script/Vagrantfile. In the begin of script the git repository and debian mirror and duply backends modifications can be setup. If the test vm is of interest there could be added further rear backends, too. |
ah, forgotten because for Duply/Duplicity with ssh backend not needed: In my problematic testsystem I had already installed duply (1.8.0-1) with "default Wheezy" duplicity. |
When testing rear/rear.git I found the solution for the "Unknown server" error... |
interesting way of automating testing. Why don't you write an article about On Thu, Oct 16, 2014 at 9:09 PM, Reiner notifications@github.com wrote:
|
Our PHP developer uses this way of local dev stage website testing (former with puppet and now with salt). The nice thing is that you can use testing parallel - you need only different folders for each repository/branch you want to test. The above error message "Unknown server" is also in the main repository; so I made a manual workaround for it ... and works now fine... Thanks. ;) (except the grub/initramfs problem of #473) |
Do you have used the newst Version of my script ?, Sould i make a pull request (When it was working)? Mayby sou should try |
I think if you would add in script |
it could be to much in some siuations. I Use http Upload for the iso. So the keys would be tranferes unencrypted then,since they are also in /root/.ssh . Its no Problem for me, but i think there could be an issue for someone |
@tyl0re yes I checked out your repository for my checks, so it works now nice and can be committed. @tyl0re / @gdha The user/ssh keys I need for provisioning the restore VM is the vagrant user. But my provisioning script still needs external private duply key/public ssh line for user/known_hosts for duply because without these files I can't create the backup itself in the testing machine ;) |
ok, with merge this task is completed - thanks (I think only @tyl0re can close this issue). |
Does not work in Ubuntu 12.04.4 LTS:
It gets better when changing in:
/usr/share/rear/build/DUPLICITY/default/60_create_python_symlink.sh
python2|python3)
to
python2|python3|python2.7)
Now some Missing Files Appears:
in
/usr/share/rear/prep/DUPLICITY/default/05_prep_duplicity.sh
Must be added:
For duply:
in
COPY_AS_IS
/usr/bin/env
for duplicity:
/usr/include/python2.7/pyconfig.h
/etc/apt
/usr/bin/dpkg
/var/crash
(I think Can be left only needed before all Librarys have been added)in LIBS
(when adding the
libstdc++
the Boot menu disappearedand the Message
Appears, but Booting with typing rear still works
Now it appears:
ImportError: No module named duplicity
Now i'm a little bit lost what is missing now
The text was updated successfully, but these errors were encountered: