=== wedgwood is now known as wedgwood_away === eu is now known as Guest13558 [09:20] Good morning all! :-D [09:22] Hello! I have some issue with u1ftp headless server [09:23] Can someone helps me? === DoctorD90 is now known as doctord90 [13:26] doctord90: try reaching out to aquarius [13:28] hey doctord90 === doctord90 is now known as DoctorD90 [14:41] Hello ^^ [14:41] Thx karni! [14:41] aquarius, :) === wedgwood_away is now known as wedgwood [14:50] Are you there? [14:51] I try u1ftp, but when i run curlftpfs it asks me password for oauth keyring. [14:51] DoctorD90, hrm [14:51] When i add it, it replies me error in openig/mounting of volume..... [14:52] Im trying to backing up data of my znc service :) [14:52] DoctorD90, can you pastebin the terminal session? (Obviously, obscure any visible passwords in it) [14:53] ...im from phone xP i need some minutes :P Thx... [14:55] This is guide i follow: http://kryogenix.org/days/2012/09/11/accessing-ubuntu-one-file-storage-via-ftp-from-any-os [14:57] I run u1ftp...zip and ok. I run new terminal session, and runs curlftpfs, andok. On first terminal ask "password". [14:57] Now copy error ;) [15:07] Please input your password for the keyring [15:08] In first window [15:08] I insert, and in second: [15:09] fuse: device not found, try 'modprobe fuse' first [15:09] This is problems :) [15:10] 1.unable to make a script that runs 2 terminal and insert data in each [15:10] 2.error about fuse :) [15:12] I just need of autobackup some files in an other place [15:13] Like dropbox, ubuntuone, or similar :) [15:20] DoctorD90, hey, sorry, I got caught up [15:20] DoctorD90, OK, so the main problem is that you don't have fuse. [15:21] ^^ nope ^^ [15:21] DoctorD90, asking for the keyring password is normal. [15:21] :0 [15:21] dobey, I thought Ubuntu came with fuse as a module in the kernel by default these days? [15:21] i don't think so [15:21] how does one get it, then? [15:22] Aquarius [15:22] If you have an alternative to ubuntu one [15:22] I hear it :D [15:22] I just want run a remote backup [15:23] DoctorD90, u1ftp is one way of doing that. Another way is to run actual Ubuntu One as aheadless service, if you'd prefer to do that. Another another way is to use Deja Dup, if your server has graphical access. [15:23] rye, do you know how to install fuse on a server? [15:24] No gui. [15:24] I tried to install u1 as headless, but i get infunitive error xD [15:24] there's a 'cuse.ko' module in the linux-image-extra-3.8.0-10-generic package here [15:24] but it's not loaded by default afaik. though i guess if it's needed it'd get loaded [15:24] dobey, that's what I don't understand: stuff like that is supposed to get run automatical.y/ [15:25] DoctorD90, what does "sudo modprobe fuse" say? [15:25] Some warn about fuse.conf [15:25] I cat it [15:25] And it is rmpty [15:25] Empty* [15:26] DoctorD90: if you install the fuse-zip package, can you mount a zip file on fuse? (or fuse-iso, or fuse-somethingelseentirely)? [15:26] DoctorD90, it's empty for me too (well, it has content, but all the content is comments.) [15:27] ...dobey i try to install fuse, but it doesnt find pkg [15:27] Maybe it has a different name [15:28] i don't think there is a plain 'fuse' package [15:28] (i'd like install just the necessary things. Not too many things :P if possible) [15:28] there's fuse-zip, fuseiso, zfs-fuse, and other similar packages [15:29] Dobey, but with [15:29] U1ftp, i dont know if is possible runs in a bash script to make that remote backup [15:30] i don't know anythinga bout u1ftp [15:30] that's all aquarius [15:31] DoctorD90, what u1ftp does is this: you run u1ftp, and then it provides an ftp server which is *actually* Ubuntu One. So you then use your normal backup tool to back up to the ftp server. [15:31] Ah lol [15:32] But i have [15:32] To run [15:32] 2terminal window [15:32] For this :) [15:32] I understand that u1ftp runs a "local" ftp server that is linked to my ubuntu one account :) [15:33] It is like a proxy [15:33] aquarius, point me! [15:33] XP [15:33] Aquarius wanted xP [15:33] DoctorD90, indeed. The better alternative is to use duplicity (Deja Dup's back end) to back up to U1 direct from the command lne. The expert on this is mterry, who is now here :) [15:34] DoctorD90, be nice to him, he is a genius ;) [15:34] XD [15:34] Ok [15:34] mterry, DoctorD90 is trying to back up stuff on a headless server to U1 :) [15:34] DoctorD90, hello! What version of Ubuntu (the command line changed a bit recently)? [15:35] My problem: i want upload somewhere some data (eggdrop and znc backups) [15:35] DoctorD90, oh are they already in backup format and you just want to throw the files to U1? Or are you looking for a program like duplicity to do the backup itself? [15:36] In some server, so if it crashes, i get backup. I think to send data to my altervista account. But i think to u1 because i find u1 a good service.now. My ubuntu: [15:36] 12.04 if i remember well [15:36] X76 [15:36] 86* [15:36] I get yet tar file :) [15:37] I just send files to a server.... [15:37] DoctorD90, OK. You have tar files that you want to upload into U1? [15:37] Myserver choice: 1)u1 2)dropbox 3)altervista(an easy ftp) [15:37] Yep [15:39] [15:53] (DoctorD90) This is guide i follow: http://kryogenix.org/days/2012/09/11/accessing-ubuntu-one-file-storage-via-ftp-from-any-os [15:40] DoctorD90, ah, perfect. So is there a problem using that? [15:41] ...yes, but if you know an EASY way to only send a file, i like [15:41] Like ftp server.com user:pass [15:41] Send file [15:41] Closr [15:41] Close* [15:42] DoctorD90, ah. I don't have a simple command, I have some python snippets. aquarius, I thought there was a script like "u1put" or something that was floating around? [15:42] With u1 i prefer......i dont want see files in u1...it is useless for me :) [15:42] mterry, there isn't, really, although producing one shouldn't be too hard. [15:43] dobey, is u1oauthrequest packaged? [15:43] no [15:43] DoctorD90, there may be an easy way to do what you want. [15:43] it's a random script that rye wrote [15:43] dobey, it *used* to be part of ubuntuone-couch. [15:43] eh? [15:43] As a said: i just need to send 1 file to u1 :) [15:43] dobey, I know you (correctly) tore that package apart [15:44] aquarius: then it's still a part of it [15:44] i didn't know it was in there [15:44] Yea yea! Is not a problem! 1 cmd, 1script, us the same. I just do not like install too many service that make much hackable my server :) [15:45] rye, ping: do you have a simple "upload this one file to U1" script somewhere? If not, I can probably build one :) [15:45] Guys, you are my heaven xD [15:46] I will idle here for time in time xD [15:46] aquarius, the u1backend.py file in the duplicity package may be a good starting point [15:46] aquarius, if you're on raring [15:46] dobey, and it still is. Sweet. I thought that package had gone away :) [15:46] mterry, ah, cheers. [15:46] aquarius: it needs to [15:46] dobey, that's why I was asking -- I thought it had :) [15:47] aquarius: problem is that it has one very useful function in the code which we haven't moved anywhere else yet [15:47] dobey, bash question. u1oauthrequest takes --body="here is the http body". Is it possible to somehow, bash-ily, cat a file onto the command line there, without quoting or something screwing it up? Or would it require collusion from u1oauthrequest? [15:47] dobey, btw, duplicity no longer needs ubuntuone-couch (we were a reason it was around for a while) [15:48] aquarius: not sure [15:48] mterry: oh? then i guess we can probably burn it out of the archive now [15:48] A function that im looking for from many months: ./script.sh file path/in/u1/ [15:48] mterry: hurry and kill it before 2100 UTC! :) [15:49] Maybe this is a good script ^^ [15:49] dobey, i would like u1oauthrequest to not go away. I don't care *where* it ends up, just as long as it doesn't die :) [15:49] aquarius: it lives forever, in bzr [15:49] Guys, but you are developer of u1? [15:49] dobey, you know what I mean. :) [15:52] dobey, I poked didrocks to demote it [15:52] mterry: cool [15:53] Guys, you are member of u1 developers? [15:53] yes [15:53] ha! [15:53] *.* can i just suggest1function? [15:53] * aquarius PUTs a file to U1 with one line. [15:54] DoctorD90: that's what bug reports are for. file a bug like "i can't do X" or "X is not possible" or such :) [15:55] DoctorD90, are you a Python programmer? [15:56] In android: on ubuntu, program has function to AUTO sync thefolder. To auto upload files once edit/saved. Is possible improve this in android device too? [15:56] DoctorD90, we're working on that for Android. [15:56] DoctorD90, it's already on the list of things that we want to improve. [15:57] Aquarius: msdos(batch), tcl, and in bash script. I'd like learn python :) [15:57] indeed, there is some work already happening on that. and plenty of bugs filed, so no need for another one :) [15:57] Ah good ^^ [15:58] It is there a similar function for PHOTO. So i trougth it may be easy. But i cant programming in c++/java [15:58] DoctorD90, OK. I can give you some pointers to putting together your own solution. I haven't quite got time right now to put it together for you, but if you're willing to do a little bit of the work yourself, what you want is doable. [15:58] XP [15:59] As i say= python 0 [15:59] XD [15:59] But go easy ^^ i wait many months! I understand that you have too many other things to do ^^ [16:00] So i say THANKS to help me, i can wait all time you need ^^ [16:00] dobey, we could make this solveable pretty easily by just adding a --body-from-file=filename option to u1oauthrequest, which I'm happy to do. [16:00] If you need 'ways' to evade, i can mind to it. But DO them....is not in my knowledge UNFORTUNATLY [16:02] aquarius: i don't even know what u1oauthrequest does [16:03] dobey, it's basically a low-budget curl which oauth-signs the request for you with your u1 token from the keyring or with a provided token [16:03] dobey, means you can do: u1oauthrequest https://one.ubuntu.com/api/account/ to dump the output of that API. [16:04] *incredibly* useful for debugging or for poking any U1 API at a low level. [16:04] it's my fallback tool all the time. [16:04] Is not possible save "oauth" in some where? [16:04] right [16:05] DoctorD90, I don't understand that question [16:05] dobey, that's why I don't want it to disappear. I have no problem at all if it moves to another package, whether an existing package or a new one. [16:05] dobey, but it's a very useful tool indeed, and you can ask other people to us it to confirm many things. [16:06] I understand that is required user/pass, and oauth data too. Is not possible save oauth in some file? [16:06] (which is why i don't want a "download this script") [16:06] DoctorD90, on a standard Ubuntu desktop, that oauth data is saved in the keyring. You're running headless, which we officially don't support, which is why it's a little more awkward. [16:07] Yeayea! Fot this! :D [16:07] Sorry, i was pointing to keyring, not to oauth :) is my bad english. [16:07] Is not possible something like: [16:07] Hash oauth in a file (md5) [16:08] And point to it on headless server? [16:08] Use that encrypted file like a keyring database [16:09] DoctorD90, yes. That's exactly what u1ftp does. [16:10] DoctorD90, I don't understand why you don't have fuse, though. [16:10] DoctorD90, OK, let's try this without fuse. [16:11] DoctorD90, in one terminal, run u1ftp, as per the instructions on my website :) [16:11] Lol [16:11] $ python u1ftp-0.1.zip [16:11] Yes [16:11] in a second terminal, type: ftp localhost 2121 [16:12] you should be asked, in that ftp session, for a username and password. Use your Ubuntu One username and password. [16:12] you *may* be asked, in the first terminal, to create a keyring password. If you are, then make up a keyring password and enter it. [16:12] once you're logged into ftp, type "ls". It should list the contents of your U1 storage. [16:13] if that works, then you're good. To back up your stuff, run u1ftp in one terminal, and then use whatever ftp tool you like to copy your files to the ftp server running on port 2121. [16:14] I have yet tried [16:14] But nope [16:14] But i tried localhist:2121 [16:14] Not with space [16:14] No i try [16:15] aquarius: does u1ftp run a "fuse" command or something? [16:16] dobey, no, that's why I gave the above instructions. The instructions on my site suggest that, after you've run u1ftp, you mount the ftp service on a folder with curlftpfs, and *that* uses fuse, but you don't need to : you can just use an ftp client. [16:16] DoctorD90, OK, when you say "nope", what isn't working? [16:17] oh [16:17] then i don't understand what you mean about "not having fuse" [16:18] oh, "fuse" (the package) 'is installed by default [16:19] dobey, right. when DoctorD90 tries to run curlftpfs, he gets an error about fuse, which I do not understand. So I am suggesting that DoctorD90 tries the most simple stripped-down version, where you run u1ftp and then interact with it via an ftp client; no fuse required. [16:19] The website instructions suggest using curlftpfs (and thus fuse) because ftp clients are a pain in the arse :) [16:21] well [16:21] probably because he's not running curlftpfs as root? [16:21] or his fuse.conf is broken [16:24] ..... [16:24] Mmmm [16:24] It allow connection, [16:24] Ask user, ask pass [16:24] Login failed [16:24] OK. Your username is an email address, right? [16:25] 530 Sorry, Authentication failed. Login failed. [16:25] On ........my stupid brain -.-" [16:25] Wait xD [16:27] Ok [16:27] This morning i use localhost:2121 [16:27] Not localhosr 2121 [16:27] So it works [16:28] But now: [16:28] How make a script that run 2 terminal and insert 2 thing in each terminal? :/ [16:28] Process: [16:29] 1)run python u1ftp [16:29] 2)ftp localhost 2121 (in #2) [16:29] 3)type mail and pass (in #2) [16:30] 4)Type keyring password (in #1) [16:30] 5)access in ftp (in #2) [16:30] Is too hard..... [16:31] DoctorD90, you'll want to investigate other ftp clients -- lftp, for example, will let you push files to ftp with a command line, non-interactively. [16:31] DoctorD90, if you set the keyring password to blank, then u1ftp won't ask you for it every time you start up. [16:31] *-* really? [16:31] but tying this stuff all together is basically a job for bash and a script now, rater than U1 stuff specifically :) [16:31] How change keyring? XD [16:31] Pasdword* [16:32] I set my keyring password. How can i change it? [16:32] um. [16:33] this is a good question that I do not know the answer to :) [16:33] (to blank) [16:33] XD [16:33] Lol ok! I google it [16:35] DoctorD90, it's using the python "keyring" module. I'd suggest just deleting the keyring and redoign it, but I'm not totally sure where the python keyring module stores it ;) [16:35] XD you read future xD [16:36] My question: where is stored keyring? XD [16:36] Im googling...but ppl want let me download app, halfinstall them....im not sure xP [16:37] DoctorD90, does ~/.local/share/python_keyring exist? [16:39] DoctorD90, if that does exist, then I think it's the keyring and you can delete it ;) [16:40] .... [16:40] Doesnt exist .local [16:41] Im noob -.-" [16:41] Ls in folder: [16:41] Crypted_pass.cfg [16:41] Cat it [16:41] [ubuntu one ......] [16:42] wtf? [16:42] -.-" .... XD [16:42] DoctorD90, ah! [16:42] DoctorD90, where is that Crypted_pass.cfg file? [16:42] In root folder (im rununing this as root) [16:43] ohhhh. [16:43] you're running this as root. [16:43] then I am not sure. [16:44] you're not supposed to run stuff asroot :) [16:45] Yea yea ^^ noob, but not too much xD ...i run this just to takes file from all folders :) [16:46] Well, if you were running u1ftp as a user, I would expect that the keyring would be $HOME/.local/share/python_keyring. [16:46] I have no idea where it goes if you're root, I'm afraid. :( [16:48] Dont worry! You know yet too many things! :) [16:50] I ask: is not possible edit u1ftp, do not runs keyring, just make a temp file. Use ftp client, send file. Close connection, erase temp file [16:50] Is not posdible? :) [16:50] So is not necessary run 2 istance in 2 terminal [16:53] Error: blank password are not allowed. [16:53] XD [16:54] DoctorD90, it's possible to do that, if you want to edit u1ftp, sure [16:54] DoctorD90, we didn't do it because it's horribly insecure :) [16:54] DoctorD90, ah, it requires a password? heh. [16:54] DoctorD90, maybe run u1ftp all the time on your server? just run it once and then leave it running. [16:54] in a screen session or something [16:56] ...... [16:56] But each time that log, it requires keyring xP [16:56] Im trying to edit cfg file [17:00] Bad editing xP [17:00] With what kind of encryption has make keyring pass? [17:01] (i encrypt blank pass and insert in it xP) [17:08] I don't know, I'm afraid [17:08] the python-keyring module does it for you :) [17:09] XP [17:10] I hope that someone of you, let's edit a day u1ftp, ib u1put to send 1 file in u1account :) [17:10] (to uninstall curlftpfs what i have to run? XD) [17:10] remove --purge [17:10] Lol Sorry xD [17:22] Thx for all guys! :) [17:22] You are awesome! ^^ === DoctorD90 is now known as doctord90 [18:03] Hello my systen is popping ABRT messages [18:03] and Ubuntu one is crashing === gatox is now known as gatox_lunch === gatox_lunch is now known as gatox [19:40] hey I would like to set up sync on a computer that doesn't have gnome or any sort of gui and a google search lead me to this page http://ubuntuforums.org/showthread.php?t=1330155 which didn't give me an answer but said that I may have luck asking in here for a solution [19:40] * Brewster loiters === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood [19:54] nevermind I found it