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