PDA

View Full Version : Ubuntu Center Alpha 1 Released - Web Based Ubuntu Control


TTT_travis
May 9th, 2006, 09:42 PM
digg this! (http://digg.com/linux_unix/Ubuntu_Center_Alpha_1_Released_-_Web_Based_Ubuntu_Control)

Ubuntu Center Alpha 1 Released - Web Based Ubuntu Control
Ubuntu Center is a web based interface for accessing all kinds of information that's being stored on your computer running Ubuntu Breezy, Kubuntu, XUbuntu, or even nUbuntu box. Ubuntu Center accomplishes all of this by integrating PHP software licensed under the GPL license in one giant package suitable for use on a Ubuntu computer. This release adds tons of new features and bug fixes and is suitable for everyday use.

--

Great News! I have released Ubuntu Center Alpha 1, this release is the result of a few months of hard work after school every night possible. Some new features include a Web Based installer which makes the installation process a breeze....

A new much more robust Bookmarks system has been added with every feature you could ever need for managing your bookmarks including access to your del.icio.us bookmarks, a new feature-filled calendar system has also been added to replace the slightly buggy old one that isn't even in development, we will be using a modified version of WebCalendar to accomplish this.

Another feature and probably my favorite is the admin area, currently it is amazingly simple and only has a few functions including Managing your users, passwords, viewing, installing and removing modules and checking for updates. Note, there currently isn't 3rd party module support in Ubuntu Center until we get a more standarized customizable framework, but the feature is mostly proof-of-concept and gives you a future glance. Torrentflux 2.1 has been added to replace the Torrentflux 2.0 beta, this adds several very useful features such as the ability to configure the settings in a web based page.

This release was also aimed at fixing the reported bugs in the previous pre-Alpha version, the photo gallery bug preventing thumbnails from being generated has been fixed, an option to show a resized view or a fullsize view has been added and the admin area has been themed. Check out the Demo to try it out before you download or view the Screenshots to see it in action. PLEASE tell your friends running Ubuntu about Ubuntu Center and give me a plug on your blog or podcast, I'd definately appreciate it. Submit any bugs, change requests or feature requests to our Development Tracker.

http://ubuntucenter.info/index.php?subaction=showfull&id=1147143798&archive=&start_from=&ucat=&

I encourage everyone to try this out. Please discuss here,

Ubuntu Center Lead Developer
Travis

digg this! (http://digg.com/linux_unix/Ubuntu_Center_Alpha_1_Released_-_Web_Based_Ubuntu_Control)

dermotti
May 9th, 2006, 09:48 PM
All i gotta say is.....SWEET

dermotti
May 9th, 2006, 09:55 PM
Ack, apache2 is a dependency? Im using lighttpd :-/

TTT_travis
May 9th, 2006, 10:11 PM
All i gotta say is.....SWEET

Have fun!

Ack, apache2 is a dependency? Im using lighttpd :-/

Right, see your other post, I posted a possible solution:

http://ubuntuforums.org/showthread.php?t=173150

kb3hkg
May 9th, 2006, 10:37 PM
I just installed it and it seems really nice. Two questions from the start:

1. because of the network i am on how do i change the port being used? it'd be nice if this could be done easily from within admin

2. If I already have music and pictures stored elsewhere and do not have room for them in the Shared folder how can I still add them? would a link in the directory work? it would be nice to be able to set where it looks for such things within the interface


other then that it looks great.

TTT_travis
May 9th, 2006, 10:59 PM
I just installed it and it seems really nice. Two questions from the start:

1. because of the network i am on how do i change the port being used? it'd be nice if this could be done easily from within admin

2. If I already have music and pictures stored elsewhere and do not have room for them in the Shared folder how can I still add them? would a link in the directory work? it would be nice to be able to set where it looks for such things within the interface


other then that it looks great.

To change the port add it in

/etc/apache2/ports.conf

and then run the command

/etc/init.d/apache2 restart

as for the other things
to change the path for photos you click photos in the main menu and toward the bottom by powered by you click admin area, goto main setup and change the path there.

For music you just change the path when you are adding a catalog

Thanks for trying it out,
Travis

puffyelms
May 9th, 2006, 11:14 PM
Thanks Travis. I've been following this for a while. I installed the pre-alpha on a previous install of ubuntu and it worked fine, but was waiting for this release for my newly configured server.

i'm having a problem with the alpha install. I already had a working mysql so that is the only step i didn't follow exactly from you install.

i then view the install web page, i enter my mysql settings and press install. the next page (install2.php) says only "Connecting to Database..." and nothing else. (browser is done loading)... i've reinstalled a couple times trying different users including the root.

i'll go back and check my configuration of apache and php, but i am able to run phpmyadmin fine. any ideas?

1 other thing... i did create a center database in prior to the install but realize that the script creates that. i did drop that database and tried reinstall again, to no avail.

TTT_travis
May 9th, 2006, 11:32 PM
Thanks Travis. I've been following this for a while. I installed the pre-alpha on a previous install of ubuntu and it worked fine, but was waiting for this release for my newly configured server.

i'm having a problem with the alpha install. I already had a working mysql so that is the only step i didn't follow exactly from you install.

i then view the install web page, i enter my mysql settings and press install. the next page (install2.php) says only "Connecting to Database..." and nothing else. (browser is done loading)... i've reinstalled a couple times trying different users including the root.

i'll go back and check my configuration of apache and php, but i am able to run phpmyadmin fine. any ideas?

1 other thing... i did create a center database in prior to the install but realize that the script creates that. i did drop that database and tried reinstall again, to no avail.

Alright try checking to make sure your php doesn't have any different modes like safe mode on. Are you using localhost as the Database host when you connect or something else?

I am not really sure what would cause it todo this.

Try the suggestions and let me know how they turn out.

Travis

puffyelms
May 9th, 2006, 11:55 PM
my php seems fine (i'm not a php expert, though). it's not running in safe_mode.
i did try localhost as well as the ip address and my server host's name
(i am running the install remotely from my desktop, not from the server)

I am suprised i don't get any mysql errors.

going to bed, i'll look into it more later.

puffyelms
May 10th, 2006, 12:21 AM
ok checked the exact line that it's failing in install2.php

it's failing on the "$link = @mysql_connect" line shown below. I added an echo after that line and it never gets there...just ends without a comment
I'll write up a test script tomorrow to see what's up
echo 'Connecting to Database...';
$link = @mysql_connect("$dbhost", "$dbuser", "$dbpassword");
echo 'After mysql_connect';
if (!$link) {

TTT_travis
May 10th, 2006, 07:51 AM
ok checked the exact line that it's failing in install2.php

it's failing on the "$link = @mysql_connect" line shown below. I added an echo after that line and it never gets there...just ends without a comment
I'll write up a test script tomorrow to see what's up

ahhhh,
I have it set to supress errors for some reason:

replace

$link = @mysql_connect("$dbhost", "$dbuser", "$dbpassword"

with

$link = mysql_connect("$dbhost", "$dbuser", "$dbpassword"

and it should give you error output

inkpassion
May 10th, 2006, 03:35 PM
Do you think that templates would be an option? Also it might be intrusting to use the system theme.

kleedrac
May 10th, 2006, 04:29 PM
OK, I've got a silly question. Running Dapper and it installed just fine but when I try to open it in Firefox it tries downloading a .phtml file instead of opening it. Any advice?

TTT_travis
May 10th, 2006, 04:43 PM
OK, I've got a silly question. Running Dapper and it installed just fine but when I try to open it in Firefox it tries downloading a .phtml file instead of opening it. Any advice?

What..hmm that is a really intresting problem considering there are no .phtml files contained at all or anything, are you positive php5 is installed, it should be. What does the .phtml file contain could you post like the first 5 lines?

kleedrac
May 10th, 2006, 04:49 PM
File posted http://pastebin.com/710219 here. Double checked php5 apt claims newest version. Double checked the install doc and I did miss the 'and' package so it's now installed though didn't help.

TTT_travis
May 10th, 2006, 04:55 PM
Alright well whats happening is php must be installed but apache2 doesn't seem to notice that and is spitting the files out in plain text, you might ask in the server support forum for help with your php installation as I don't know much about making apache2 work with php5 because for me it has always just worked.

kleedrac
May 10th, 2006, 05:21 PM
I figured part of it out. I managed to have apache 1.3 and apache 2 installed at the same time! I've uninstalled apache 1.3 and reinstalled the center but apache2 isn't running on boot anymore :P

palco
May 10th, 2006, 06:59 PM
Hallo. I gave this wonderful feature a try at the web-site. It's most amazing! It really makes Ubuntu show off! And useful too. Ok. the question is If languages other than English are supported? Is there a way to translate it? I would love to help with Ukrainian and Russian translation. Is it possible to create support for "pluggable translation" or what ever you would call it, the way it is done in WordPress? And will the final release be targeted to Dapper? Didn't quite get about themes. Are themes supported? Other wise, it's most unexpected and impressing ubuntu-related project to me, though I've been impressed a lot already :)

TTT_travis
May 10th, 2006, 07:01 PM
Hallo. I gave this wonderful feature a try at the web-site. It's most amazing! It really makes Ubuntu show off! And useful too. Ok. the question is: If languages other than English are supported? Is there a way to translate it? I would love to help with Ukrainian and Russian translation. Is it possible to create support for "puggable translation" or what ever you would call it, the way it is done in WordPress? And will the final release be targeted to Dapper? Didn't quite get about themes. Are themes supported? Other wise, it's most unexpected and impressing ubuntu-related project to me, though I've been impressed a lot already :)

Currently it is english only, that will of course change in future released, Themes have not yet been added and will be in a future release.

palco
May 10th, 2006, 07:04 PM
I want to suggest using WorPress like translation model. It should make translating easier. And thank you once again! :)

puffyelms
May 10th, 2006, 08:45 PM
ahhhh,
I have it set to supress errors for some reason:

replace

$link = @mysql_connect("$dbhost", "$dbuser", "$dbpassword"

with

$link = mysql_connect("$dbhost", "$dbuser", "$dbpassword"

and it should give you error output

Got it to work! After showing the error, it complained that mysql_connect was undefined. Not sure what happened to my install of php5-mysql, atp-get removed php5-mysql and reinstalled it, then the ubuntucenter install worked.

go figure. thanks again

timczer
May 10th, 2006, 08:56 PM
I got through the setup, accessed web page, did the database setup and then got this message.

Connecting to Database...Success
Creating Database...Success
Generating Ubuntu Center Config...
Fatal error: Call to undefined function: file_put_contents() in /srv/www/center/install/install2.php on line 110

Line 110 is:

file_put_contents('../content/conf/ubuntucenter.php.inc', "<?php

There doesn't appear to be a ubuntucenter.php.inc file in this folder.

How do I fix this?

TTT_travis
May 10th, 2006, 10:18 PM
I got through the setup, accessed web page, did the database setup and then got this message.

Connecting to Database...Success
Creating Database...Success
Generating Ubuntu Center Config...
Fatal error: Call to undefined function: file_put_contents() in /srv/www/center/install/install2.php on line 110

Line 110 is:

file_put_contents('../content/conf/ubuntucenter.php.inc', "<?php

There doesn't appear to be a ubuntucenter.php.inc file in this folder.

How do I fix this?

I think it is something relating to your web root, you are using /srv/ instead of /var which might be causing the problem.

kb3hkg
May 10th, 2006, 10:26 PM
To change the port add it in

/etc/apache2/ports.conf

and then run the command

/etc/init.d/apache2 restart

as for the other things
to change the path for photos you click photos in the main menu and toward the bottom by powered by you click admin area, goto main setup and change the path there.

For music you just change the path when you are adding a catalog

Thanks for trying it out,
Travis


I am still having problems with the music. When I try to add a catalog it has problems accessing the directory. Could this be because it is on an external hd? it shouldn't make a difference, but it might. I can't think of what else is causing the problem.

TTT_travis
May 10th, 2006, 11:13 PM
I am still having problems with the music. When I try to add a catalog it has problems accessing the directory. Could this be because it is on an external hd? it shouldn't make a difference, but it might. I can't think of what else is causing the problem.

the webserver user would need access to the music, so either chmod it 777 or some how give user read access.

kb3hkg
May 11th, 2006, 12:18 AM
They are on a fat32 drive. Will it actually retain such file permission changes? I know fat32 was screwy with that.

inkpassion
May 11th, 2006, 08:38 AM
Problem with Bounty Source install instructions.

It looks like in your install instructions (https://ubuntucenter.bountysource.com/wiki/Installing_Ubuntu_Center) point to the wrong file.

I would guess that when you released the alpha version you updated the URL from https://files.bountysource.com/file/download/106/ubuntucenter-prealpha-01.deb to https://files.bountysource.com/file/download/106/ubuntucenter-alpha-01.deb.

It looks like Bounty Source is referencing the file id like 106 which if you visit https://files.bountysource.com/file/download/106 you will download ubuntucenter-prealpha-01.deb and you visit https://files.bountysource.com/file/download/137 you will download ubuntucenter-alpha-01.deb.

If you could modify the link to reference file 137 https://files.bountysource.com/file/download/137/ubuntucenter-alpha-01.deb it could save a lot of headaches for newbies like me :)

TTT_travis
May 11th, 2006, 04:41 PM
Problem with Bounty Source install instructions.

It looks like in your install instructions (https://ubuntucenter.bountysource.com/wiki/Installing_Ubuntu_Center) point to the wrong file.

I would guess that when you released the alpha version you updated the URL from https://files.bountysource.com/file/download/106/ubuntucenter-prealpha-01.deb to https://files.bountysource.com/file/download/106/ubuntucenter-alpha-01.deb.

It looks like Bounty Source is referencing the file id like 106 which if you visit https://files.bountysource.com/file/download/106 you will download ubuntucenter-prealpha-01.deb and you visit https://files.bountysource.com/file/download/137 you will download ubuntucenter-alpha-01.deb.

If you could modify the link to reference file 137 https://files.bountysource.com/file/download/137/ubuntucenter-alpha-01.deb it could save a lot of headaches for newbies like me :)


Ahhh, sorry my bad. Should have noticed that. When I did my install on my test boxes I just followed my intructions only I have the image on my computer. Sorry

Travis

jflash
May 11th, 2006, 05:23 PM
I just finished installing Ubuntu Center, and I love it. I do have one (stupid) question: how do I access my Ubuntu box over the internet? I've tried the only IP address I can find that's not 127.0.0.1. I know I'm missing something, but I don't know what it is.

Once again, just from running it locally, I love this. Thanks!

EDIT: For what it's worth, I did try using port forwarding on my router to no avail.

kb3hkg
May 11th, 2006, 08:07 PM
They are on a fat32 drive. Will it actually retain such file permission changes? I know fat32 was screwy with that.

I am still having problems with this, any one have any ideas?

TTT_travis
May 11th, 2006, 08:17 PM
I just finished installing Ubuntu Center, and I love it. I do have one (stupid) question: how do I access my Ubuntu box over the internet? I've tried the only IP address I can find that's not 127.0.0.1. I know I'm missing something, but I don't know what it is.

Once again, just from running it locally, I love this. Thanks!

EDIT: For what it's worth, I did try using port forwarding on my router to no avail.

In firefox on your ubuntu computer goto http://ipchicken.com and then use that ip and goto http://iphere/center it should prompt for login as long as you have forwarded port 80 on your router to the right computer on your network. Although unlikely your isp might have blocked port 80.

I am still having problems with this, any one have any ideas?

I don't know a ton but as long as the user www-data has read access to your music it should work just fine.

jflash
May 11th, 2006, 10:10 PM
Thank you so much! It worked! This is going to be an invaluable tool for me at school and whenever I'm on vacation. Thank you so much!

TTT_travis
May 11th, 2006, 11:10 PM
Thank you so much! It worked! This is going to be an invaluable tool for me at school and whenever I'm on vacation. Thank you so much!

Glad you like it, I to use it often at school for uploading reports etc. that I am working on and my brother uses it at school to listen to music hehe.

Travis

kb3hkg
May 12th, 2006, 01:08 AM
In firefox on your ubuntu computer goto http://ipchicken.com and then use that ip and goto http://iphere/center it should prompt for login as long as you have forwarded port 80 on your router to the right computer on your network. Although unlikely your isp might have blocked port 80.



I don't know a ton but as long as the user www-data has read access to your music it should work just fine.


I don't think fat32 is properly doing file permissions, that might be the problem. I have no choice but for these to be on a fat32 drive.

No_sanctuary
May 14th, 2006, 10:58 AM
Ok, I think this program is great and really like it. I have one question though, I can't figure out how to download files off from my ubuntu box onto the machine I am using. I see torrent downloads and http downloads, but no other download options. Maybe I am missing something here... Or maybe I am thinking of uploads as downloads...

TTT_travis
May 14th, 2006, 11:11 AM
Ok, I think this program is great and really like it. I have one question though, I can't figure out how to download files off from my ubuntu box onto the machine I am using. I see torrent downloads and http downloads, but no other download options. Maybe I am missing something here... Or maybe I am thinking of uploads as downloads...

If you click on Directory in Downloads it will show you all of the files in your incoming folder, click one one to download it.

MiKuS
May 14th, 2006, 11:58 AM
Hello,
I must say Ubuntu really is revolutionising the way people see desktop linux. For those of you who have tried FreeBSD installer, you will know what i mean.

Projects like this really make linux worth using, they give users a good reason to support the alternative. First off i would like to thank all those involved in developing this project, Second of all i'd like to say this will add major usability to Ubuntu.

now for my problem-

I have installed this sucessfully, the calendar works fine, the booksmarks work fine, but when i copied my music and tried to get Ubuntu Center to look at the music it couldent see it. Is it possible the fact i catagorise all my music by artist and then album is causing trouble? (each artist has a diferent folder)

If this is infact the case, would it be possible to guide me to some sort of hot fix? many thanks for taking the time to read my post.

TTT_travis
May 14th, 2006, 12:29 PM
Hello,
I must say Ubuntu really is revolutionising the way people see desktop linux. For those of you who have tried FreeBSD installer, you will know what i mean.

Projects like this really make linux worth using, they give users a good reason to support the alternative. First off i would like to thank all those involved in developing this project, Second of all i'd like to say this will add major usability to Ubuntu.

now for my problem-

I have installed this sucessfully, the calendar works fine, the booksmarks work fine, but when i copied my music and tried to get Ubuntu Center to look at the music it couldent see it. Is it possible the fact i catagorise all my music by artist and then album is causing trouble? (each artist has a diferent folder)

If this is infact the case, would it be possible to guide me to some sort of hot fix? many thanks for taking the time to read my post.

Music doesn't automatically just show up, you have to goto Music, Click Admin, Click Add a Catalog, for the path use /home/Shared/Incoming

I think this is what you mean't

Travis

DigitalDuality
May 14th, 2006, 01:42 PM
well this really sucks. Something must be wrong with my router. I have the exact same router at work and i'm hosting 6 websites off of it.

I've played with port forwarding and firewall settings now on both my computer and the router, and i can't seem to access it from an outside source. It just keeps prompting me to login to the router, though remote access to the router is turned off.

TTT_travis
May 14th, 2006, 02:51 PM
well this really sucks. Something must be wrong with my router. I have the exact same router at work and i'm hosting 6 websites off of it.

I've played with port forwarding and firewall settings now on both my computer and the router, and i can't seem to access it from an outside source. It just keeps prompting me to login to the router, though remote access to the router is turned off.

When you did your port forwarding are you sure you forwarded the ports to the right ip address?
it sounds like you forwarded port 80 to your routers ip (usually 192.168.1.1) instead of your boxes ip. Check that, if you tell me what model and brand of router you have I could probably find you some instructions.

DigitalDuality
May 14th, 2006, 02:59 PM
yeah i'm sure

i forwarded all tcp and udp packets on public port 80 to private port 80 to my machine's IP.

I have a d-link Dl-514, like i said, i'm quite used to port forwarding off of this router as i'm handling 2 VNC connections and 6 websites off the exact same model router at my workplace. I even researched how to do port forwarding to make sure i wasn't doing something stupid.

Nothing's working. Everytime i try to access the http://PUBLICIP/center it prompts me to login to the router. No matter what i do or do not do.

How can i change the port on which Ubuntu Center works on?

TTT_travis
May 14th, 2006, 03:59 PM
yeah i'm sure

i forwarded all tcp and udp packets on public port 80 to private port 80 to my machine's IP.

I have a d-link Dl-514, like i said, i'm quite used to port forwarding off of this router as i'm handling 2 VNC connections and 6 websites off the exact same model router at my workplace. I even researched how to do port forwarding to make sure i wasn't doing something stupid.

Nothing's working. Everytime i try to access the http://PUBLICIP/center it prompts me to login to the router. No matter what i do or do not do.

How can i change the port on which Ubuntu Center works on?

edit /etc/apache2/ports.conf
add a new port on a new line
restart apache

No clue why your router would do that.

DigitalDuality
May 14th, 2006, 04:48 PM
changed ports to 1280... and hmm

restarted my entire machine.. and fowarded ports over for tcp and udp on 1280 to my local machine..

and now i can only access it "intranet-wise" by going to http://localIPAddress:1280/center

but going to http://wanIP:1280 or http://wanIP:1280/center both give "problem loading page" due to a time out.

edit: Just to be safe... i set the entire router back to factory settings and re-set it up from scratch...

same result. it either prompts me to login to the router or gives me a connection time out depending on the address i put in.

TTT_travis
May 14th, 2006, 05:56 PM
changed ports to 1280... and hmm

restarted my entire machine.. and fowarded ports over for tcp and udp on 1280 to my local machine..

and now i can only access it "intranet-wise" by going to http://localIPAddress:1280/center

but going to http://wanIP:1280 or http://wanIP:1280/center both give "problem loading page" due to a time out.

edit: Just to be safe... i set the entire router back to factory settings and re-set it up from scratch...

same result. it either prompts me to login to the router or gives me a connection time out depending on the address i put in.

Might want to email dlink about this one, I'm more of a linksys guy.

DigitalDuality
May 14th, 2006, 06:02 PM
that's ok.. i found an old abs wireless laying around. Hooked it up got it running.

All is good in the land of ubuntu now :)

Absolutely outstanding idea by the way and i appreciate all the work. You'll be getting a donation from me tomorrow (payday)

MiKuS
May 14th, 2006, 09:07 PM
Hello again,
I have infact added a catalog, I did follow your instructions to a tee.
but you say /home/Shared/Incoming where, in your instrustions, if i remember correctly your instructions say /home/Shared/Music.

I have put all my music in the path mentioned in your innstructions and added a catagory acordingly - just asking, whats the diference between 'remote' and 'local' ?

TTT_travis
May 14th, 2006, 09:29 PM
that's ok.. i found an old abs wireless laying around. Hooked it up got it running.

All is good in the land of ubuntu now :)

Absolutely outstanding idea by the way and i appreciate all the work. You'll be getting a donation from me tomorrow (payday)

Glad you got it working, donations are definately appreciated!

Hello again,
I have infact added a catalog, I did follow your instructions to a tee.
but you say /home/Shared/Incoming where, in your instrustions, if i remember correctly your instructions say /home/Shared/Music.

I have put all my music in the path mentioned in your innstructions and added a catagory acordingly - just asking, whats the diference between 'remote' and 'local' ?

Yes, I mean't music not incoming do another catalog.

ampache has features that let you connect several installations I haven't played around with it too much but it's pretty cool. You'll want to pick local for now unless you have several ubuntu computers or something.

MiKuS
May 15th, 2006, 01:44 AM
Hi,
Sorry to be so persistant, but my music still isn't showing up. I added a catalog like your instructions in the wiki but it doesent find anything.

is there anything i'm missing or something I should know?

i have tried 'chmod -R 777 /home/shared/' but no avail.

EDIT: i have made some progress atleast i think

instead of having the path /Home/Shared/Music, i have added an extra slash so now it is like /Home/Shared/Music/ but now it's having troubles accessing the directory 'Error: Unable to open /Home/Shared/Music/' keeping in mind i have chmod777 set on the directorys and sub-directorys

TTT_travis
May 15th, 2006, 08:25 AM
Hi,
Sorry to be so persistant, but my music still isn't showing up. I added a catalog like your instructions in the wiki but it doesent find anything.

is there anything i'm missing or something I should know?

i have tried 'chmod -R 777 /home/shared/' but no avail.

EDIT: i have made some progress atleast i think

instead of having the path /Home/Shared/Music, i have added an extra slash so now it is like /Home/Shared/Music/ but now it's having troubles accessing the directory 'Error: Unable to open /Home/Shared/Music/' keeping in mind i have chmod777 set on the directorys and sub-directorys

Ok maybe you did this by mistake but when you entered it into the catalog did you have it with the home capitalized.

try adding a catalog with:

/home/Shared/Music/

Sorry thats all the help I can give you till I know more.

Travis

MiKuS
May 15th, 2006, 09:56 AM
yeah, i wasent sure if the directorys were case sensative so i tried both, still no cigar.
perhaps in your future release you could make direcorys not case sensative (asuming they allready are)

if there is any information i can tell you to help with development of Ubuntu Center please be sure to let me know.

edit:

turns out it was a directory problem, i should have had it pointing too /home/mikus/Shared/Music

(i'm still new to the linux file structure) hopefully this information will come in handy for some other people.

TTT_travis
May 15th, 2006, 04:41 PM
yeah, i wasent sure if the directorys were case sensative so i tried both, still no cigar.
perhaps in your future release you could make direcorys not case sensative (asuming they allready are)

if there is any information i can tell you to help with development of Ubuntu Center please be sure to let me know.

edit:

turns out it was a directory problem, i should have had it pointing too /home/mikus/Shared/Music

(i'm still new to the linux file structure) hopefully this information will come in handy for some other people.

It should have been /home/Shared but as long as it works for you great! The linux filesystem is cAsE SenSatIvE

halfname
May 15th, 2006, 07:51 PM
I have tried everything, but I cannot access the ubuntu center outside of my network. It works fine on my network and I have tried all the ideas suggested. I have tried forwarding a different port to my computer (other than port 80) and changing the port that apache uses. The only possible thing that I can think of that is causing this problem, is during the installation, a blue screen came up in the terminal asking me to configure something. I chose to cancel the configuration, so this might be causing the problem. Any help would be greatly appreciated.

TTT_travis
May 15th, 2006, 08:17 PM
I have tried everything, but I cannot access the ubuntu center outside of my network. It works fine on my network and I have tried all the ideas suggested. I have tried forwarding a different port to my computer (other than port 80) and changing the port that apache uses. The only possible thing that I can think of that is causing this problem, is during the installation, a blue screen came up in the terminal asking me to configure something. I chose to cancel the configuration, so this might be causing the problem. Any help would be greatly appreciated.

What Brand/Model router are you using?
What is the box inside your network running ubuntu center's IP Address?

Are you sure you forwarded everything correctly?

Provide me with all of those details and I can probably tell you exactly what you need todo if you did something wrong.

halfname
May 15th, 2006, 08:38 PM
Thank you for your response.
I have a netgear Mr814, the computer's ip is 192.168.0.7 and I have it assigned to that address so that it will not change. I have forwarded ports before for programs like bitorrent, so I am almost postive they are forwarded correctly. Just to clarify, I have tried using my public ip address and it did not work.

TTT_travis
May 15th, 2006, 08:50 PM
Thank you for your response.
I have a netgear Mr814, the computer's ip is 192.168.0.7 and I have it assigned to that address so that it will not change. I have forwarded ports before for programs like bitorrent, so I am almost postive they are forwarded correctly. Just to clarify, I have tried using my public ip address and it did not work.

Your isp could be blocking port 80 try running Apache on different port.

Travis

halfname
May 15th, 2006, 08:56 PM
I've tried that, by forwarding another port on my router and changing the /etc/apache2/ports.conf from "Listen 80" to "Listen # of Port" and then restarting apache. This did not work Are these the correct steps?
Thanks for your help.

n0ah420
May 15th, 2006, 09:02 PM
Travis,

Kick **** job on this man. Took five minutes to set up and I am already streaming music. I can't wait to get in under the hood and look around. Thank you for all of the hard work...many devs don't get to hear that as much as they would like so I am saying it now...Way To Go! I am sure this is usefull to more then just a handfull of us nerds...perhaps a dapper +1 add in? Anyway keep it up...

halfname
May 15th, 2006, 09:08 PM
Travis,

Kick **** job on this man. Took five minutes to set up and I am already streaming music. I can't wait to get in under the hood and look around. Thank you for all of the hard work...many devs don't get to hear that as much as they would like so I am saying it now...Way To Go! I am sure this is usefull to more then just a handfull of us nerds...perhaps a dapper +1 add in? Anyway keep it up...

I agree with Noah. I think I forgot to mention that although I am having problems acessing it from outside my LAN, Ubuntu Center works perfectley in my LAN. I want to thank you for all of you work on this.

n0ah420
May 15th, 2006, 09:14 PM
This is a pretty good site for router configuration. Check it out first and if you have any questions post them here. You are basically just trying to get a web connection to the outside world:

http://www.portforward.com/

TTT_travis
May 15th, 2006, 09:24 PM
Travis,

Kick **** job on this man. Took five minutes to set up and I am already streaming music. I can't wait to get in under the hood and look around. Thank you for all of the hard work...many devs don't get to hear that as much as they would like so I am saying it now...Way To Go! I am sure this is usefull to more then just a handfull of us nerds...perhaps a dapper +1 add in? Anyway keep it up...

Thanks a lot for all of the support its appreciated.

I agree with Noah. I think I forgot to mention that although I am having problems acessing it from outside my LAN, Ubuntu Center works perfectley in my LAN. I want to thank you for all of you work on this.


Sadly enough this seems to be one of the biggest problems so far, with people having trouble forwarding their ports. Since I have no way of troubleshooting the problem you are having, as port forwarding has always "Just Worked" for me. I suggest trying what n0ah420 mention below, chances are its just a configuation error:

This is a pretty good site for router configuration. Check it out first and if you have any questions post them here. You are basically just trying to get a web connection to the outside world:

http://www.portforward.com/


Travis

halfname
May 15th, 2006, 10:44 PM
Thanks for all of your help. I am just trying different combinations of port forwarding, hoping I will find a way. I just want to make sure I did not miss a part of the apache (or another services) of setup. Was I supposed to do a setup after following the sudo apt-get install apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2-dev libgd2 php-auth command? Like I said before, a blue screen appeared in the terminal asking about network configurations and I quit this blue screen. I did not get any questions regarding networking after this. I am wondering if this was a vital part of the setup and if there is a way to reconfigure this.
Once again thanks for all of the help.

n0ah420
May 15th, 2006, 10:56 PM
Halfname,

If you can see your server from inside your network and everything appears to work then the issue is your router configuration. I am going to make the assumption you are new to this and do not have a domain name (dynamic or otherwise). This means you will need to access your network via external IP address (try whatismyip.com). When requests come into your router (http:// requests default to port 80) your router needs to know what to do with them (usually it discards them). You are using network address translation (NAT) I am guessing so your server has a private IP (like 192.168.1.100). Inside your router configuration will be port fowarding. You will need to forward the external port 80 to 192.168.1.100:80 (IP : portnumber). Then thats it. Now it is possible that a few things are happening (even though you did it all correctly):

1) Your router has a crazy firewall configuration that needs to be changed (Internet NAT redirection is a common failure here; turn that off)

2) You ISP blocks incomming port 80 (in that case you need to chnage the apache listening port -- see /etc/apache2/apache2.conf <--I hope thats the right one, I usually am on 1.3) and request yourip:newportnum like 12.244.233.3:8080.

Anyway hopefully thats enough to get you started. Post back with some more detailed info about your hardware and the steps you took and maybe we can find your failure point.

TTT_travis
May 15th, 2006, 11:19 PM
Try n0ah420's suggestions, the blue screen you saw was completely unrelated and would not cause the problem you are having. Again I don't know tons about this but n0ah420 does ;)

Travis

MiKuS
May 16th, 2006, 12:27 AM
hello there,
i did have trouble setting up my computer to be able to be contacted by computers infront of my router.

i was forwarding :8080 to the wrong ip, so make sure you know you box's ip, and that you are forwarding the port requests acordingly

you can find out your ip address with 'ifconfig'

TTT_travis
May 16th, 2006, 08:34 AM
hello there,
i did have trouble setting up my computer to be able to be contacted by computers infront of my router.

i was forwarding :8080 to the wrong ip, so make sure you know you box's ip, and that you are forwarding the port requests acordingly

you can find out your ip address with 'ifconfig'

Yeah that is definately a problem ;). Anyone else have a problem take his advice and make sure you have the right box ip.

WiLLiE
May 16th, 2006, 05:09 PM
I have a problem with the bookmarks.
At first it didn't show anything (but if I searched they where found).

Today I tried again and this time I can see them, but errhm, they are way over to the right.

TTT_travis
May 16th, 2006, 05:20 PM
I have a problem with the bookmarks.
At first it didn't show anything (but if I searched they where found).

Today I tried again and this time I can see them, but errhm, they are way over to the right.

Woops, sorry bout that here is a temp fix till the next version.

open /var/www/center/bookmarks/index.php scroll down till you find a section that looks like

<li><b>Tools:</b></li>
<li><a href="search.php" ">Search</a></li>
<li><a href="import.php" ">Import</a></li>
<li><a href="export.php?<?php echo $_SERVER['QUERY_STRING']; ?>" ">Export</a></li>
<li><a href="trash.php" ">Trash</a></li>
<li><a href="settings.php" ">Settings</a></li>


</ul>

change </ul> to </ul><br />

WiLLiE
May 16th, 2006, 07:01 PM
Works great! thanks.

One more problem.
When i click new (folder or bookmark) the page (not he popup window) goes white with the text:
[object Window]

Same with delete folder.
It adds/deletes ok but I have to click the back button to get back.

Oh, and the popupwindow need to be a little higher, I have to resize the window to see the buttons.

halfname
May 16th, 2006, 07:13 PM
I finally figured out what was wrong. I could always access it on the local network (192.168.x.x), but I coulnd't access it on my home computer using my public ip address. The problem was that my router (Netgear MR814) would not let me connect to my public ip address, while I was on my network for some reason. So, I can access my ubuntu center on my local network using my local ip address and when I am not on my network, I can access it thorugh the public ip address. Thank you so much to everyone who has helped me. This is a great program and I am looking forward to using it.

TTT_travis
May 16th, 2006, 09:38 PM
Works great! thanks.

One more problem.
When i click new (folder or bookmark) the page (not he popup window) goes white with the text:
[object Window]

Same with delete folder.
It adds/deletes ok but I have to click the back button to get back.

Oh, and the popupwindow need to be a little higher, I have to resize the window to see the buttons.

Glad that worked, as for the object window, I assume you are using IE, I am stupid and didn't notice this bug because I had done all of my testing in Safari and didn't notice this, I didn't know this wasn't the proper way to format javascript windows, I will get that fixed and post a fix tomorrow hopefully

I finally figured out what was wrong. I could always access it on the local network (192.168.x.x), but I coulnd't access it on my home computer using my public ip address. The problem was that my router (Netgear MR814) would not let me connect to my public ip address, while I was on my network for some reason. So, I can access my ubuntu center on my local network using my local ip address and when I am not on my network, I can access it thorugh the public ip address. Thank you so much to everyone who has helped me. This is a great program and I am looking forward to using it.

Great! Routers are kinda weird like that. Enjoy! (or try to)

Travis

n0ah420
May 16th, 2006, 10:48 PM
Halfname,

That is the Internet NAT redirection I was talking about. It can be listed as NAT Redirect or something similiar. Take a look at the router manual to determine how to turn that off. Its a security feature that is suppoed to stop worms and such that run a loop though your firewall (possibly other stuff too).

florizs
May 17th, 2006, 07:24 AM
this is great!
my compliments to Travis

incidentally I have been thinking about something of a Digital Life Management System lately.
I believe this is a good start and since there are already so much tools avaiable under GPL not everything has to be build from scratch.

While looking into the photo management system I am missing password protected photos.
eg. a category which cannot be accessed unless a password is typed.
I like displaying some pictures online but my entire collection would be to much.
Since I have some experience with PHP, Ubuntu and a lot with Flash I'll try to port an older photoalbum I wrote in Flash for Ubuntu Center.
I would like to actively help developing Ubuntu Center, what is a good place to start?

thanks
Florizs

halfname
May 17th, 2006, 09:44 PM
Halfname,

That is the Internet NAT redirection I was talking about. It can be listed as NAT Redirect or something similiar. Take a look at the router manual to determine how to turn that off. Its a security feature that is suppoed to stop worms and such that run a loop though your firewall (possibly other stuff too).

Thanks for the help. I have looked through every section of my router, but cannot find this NAT redirection option (or any similar option). I have read a review of my router (netgear mr814) and the user had this same problem. It isn't that bad of a problem since the ubuntu center works outside of my network with a public ip address and inside my network using my private ip address. Once again thanks for everyones help.

peanut butter
May 18th, 2006, 12:18 AM
i think adding some things that areincluded in brim might make it a bit better.
brim is at http://www.brim-project.org

WiLLiE
May 18th, 2006, 06:33 AM
.... I assume you are using IE ...
No, I'm actually using Firefox. (As can be seen in my earlier screenshot.) ;)

TTT_travis
May 18th, 2006, 08:19 AM
i think adding some things that areincluded in brim might make it a bit better.
brim is at http://www.brim-project.org

Crazy, I have never seen that before, thats seems nice, although I don't think I will code directly off it I am planning to add similar features and over time make it as nice as brim

WiLLiE
May 18th, 2006, 07:20 PM
.....I will get that fixed and post a fix tomorrow hopefully.

Did you manage to get that fixed? :wink:

TTT_travis
May 18th, 2006, 08:03 PM
Did you manage to get that fixed? :wink:

Yeah, I did yesterday and forgot to post, I have attached a zipped index.php file replace /var/www/center/bookmarks/index.php with the one in the attached zip

WiLLiE
May 20th, 2006, 09:22 PM
Ok, tried it now. (been working alot)
Apart from the "OK" & "Cancel" buttons being hidden in the new-bookmark popupwindow, it works great.

Thanks.

TTT_travis
May 21st, 2006, 11:07 AM
Great! sorry about not making the windows big enough I will fix that, you can change them if you want in the index.php file if your comfortable with looking around.

I will assume that those fields are black because of some system theme you are using right?

dlai
May 21st, 2006, 05:50 PM
Hey travis, your work looks really good!
Is there any possibility for including mail via imap and smtp functionality in ubuntu center? And do you have any ideas on how to make the calendar work with evolution??

WiLLiE
May 21st, 2006, 07:13 PM
I will assume that those fields are black because of some system theme you are using right?

Yep. Thats "Clearlooks-DarkOrange". Black is beautiful ;)

TTT_travis
May 22nd, 2006, 12:10 AM
Hey travis, your work looks really good!
Is there any possibility for including mail via imap and smtp functionality in ubuntu center? And do you have any ideas on how to make the calendar work with evolution??

there will be a mail module some time either as a built in module or a module that you download seperatly.

The calendar can only import and export to evolution, you export your calendar in evolution and when you import in ubuntu center you choose iCal I think, I don't have evolution to test with so I can't verify that.

dlai
May 22nd, 2006, 06:12 AM
I know it is much to ask, is it possible to include some kind of CalDav support.

MiKuS
May 22nd, 2006, 07:20 AM
while chatting it up on irc a few days ago, a person i was talking with suggested a few cool modules/additions to current ones that could be considered.

one would be to have an option in the calendar to automaticly scrape other caledar sites or something to get some public holidays. i'm sure people can let thier imagination take over from here.

have fun.. credits to whom i was talking with btw.

dlai
May 31st, 2006, 06:22 AM
Hey everybody i would really like to have the possibility of both drupal and ubuntucenter at the same time, but drupal depends php4 and therefore ubuntucenter won't work when drupal is installed, do you have any idea what to do???

dlai
June 11th, 2006, 10:38 AM
ok i just installed the drupal version from their website, no problem at all!!!;)

TTT_travis
June 11th, 2006, 02:19 PM
Sorry I missed your message, glad you got it working alright.

Travis

gurgle
July 21st, 2006, 04:27 PM
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

TTT_travis
July 22nd, 2006, 12:54 AM
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

You have your root password wrong.

matthias_k
July 23rd, 2006, 03:57 AM
Not sure if this has been answered already, but following the install instructions in the Wiki on Dapper will /downgrade/ certain packages. I'm not sure if I like this.

Ain't there any packages for Dapper which work properly? ^^

viciouslime
July 24th, 2006, 05:14 PM
I'm very immpressed with it...but, I thought it was supopsed to be called Hive now? Why does everything say "Ubuntu Center"? It is very annoying since to me centre is spelt incorrectly :(

TTT_travis
July 25th, 2006, 03:08 AM
I@m very immpressed with it...but, I thought it was supopsed to be called Hive now? Why does everything say "Ubuntu Center"? It is very annoying since to me centre is spelt incorrectly :(

Ok here's the deal, I did change the name, but I have yet to release a new release, so you are still using the old Ubuntu Center. I spelled Centere as Center just to confuse you.

Anyway, I was hoping to have a release out about a month ago but because I am really lazy and got side tracked with another project I haven't had much of a chance to work on it in the past few weeks, so it's been progressing very slow. I am working on the theme system whenever I get time to do it. Everything will come together within the next month... I hope ;)

I might release a Hive pre-Alpha with a partially working proof-of-concept theme system just to show early adopters how it works, but it won't be ready for people to write their own themes. Plugin support is also coming along with theme support because they work with each other in a way.

Travis

viciouslime
July 25th, 2006, 09:08 AM
Ahhh, ok, that's cool. I can't wait!

PDemong
July 25th, 2006, 10:44 AM
I just visited the hive web site, and your demo is a dead link. Just to inform you.

babyhewy
July 26th, 2006, 11:52 AM
This is their new site http://icenterx.info/index.php?subaction=showfull&id=1147143798

The demo and the screenshots are there.

|nferno
July 27th, 2006, 11:04 PM
http://ttt-server.be/centerdemo does not work. When i try it i get the following message

Not Found

The requested URL /centerdemo was not found on this server.
Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server at ttt-server.be Port 80

however when i try

http://ttt-server.be/center

I get prompted for a username and password and seeing demo/demo doesn't work im assuming this is your private version.

Love the project! I can't wait to see the updates.

TTT_travis
July 28th, 2006, 01:11 AM
Sorry about the demo not working, it's mostly a security concern, I have all of my music on that server and if I were to allow people to access that they could potentially delete it somehow. I promise I will have a demo when the new version comes out.