yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] solarbaby:
lighttpd + php = php.ini not responding to edits.

Changes I've made to php.ini do not seem to be read by the server.

Im rooted on a Samsung Galaxy note 2 stock rom runing Servers Ultimate Pro 6.2.4

I've copied /data/data/com.icecoldapps.serversultimate.packc/php/phpconf.ini to php.ini in the same directory and assigned it app_# rights and group_# rights.

I then made changes to

upload_max_filesize = 3000M

max_file_uploads = 2000

!!!!!(EDIT) changed post_max_size = 3000M

no changes to php.ini seem to make any difference. Now I'm editing the original phpconf.ini and testing again.

OK Sucess!! changes to /data/data/com.icecoldapps.serversultimate.packc/php/phpconf.ini were accepted.

!!!!!(END OF EDIT)

then I used a php script upload my larger sized files to the server but the server is still only allowing the default low 8 meg file sizes.

so it throws up this error.

lighttpd.log

2014-03-29 07:55:45: (src/log.c.166) server started

2014-03-29 08:07:44: (src/mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: POST Content-Length of 779910860 bytes exceeds the limit of 33554432 bytes in Unknown on line 0

PHP Warning: Invalid argument supplied for foreach() in /storage/sdcard0/Download/index.php on line 9

Any help you can provide would be so very much appreciated. I just can't seem to get any further with out a manual or examples.
[Android Apps and Games] Themuzz:
[MENTION=5687667]dimm0k[/MENTION] Ah, that appears to be a bug, my bad. You can of course copy the data file to make a backup and copy it back when you want to restore your settings.

[MENTION=5793462]ajjbotes[/MENTION] Good point, however, the Android device syncs it's time with the mobile network/other ntp servers/sometimes gps. But we'll look into it to add as an extra option!

[MENTION=1172052]solarbaby[/MENTION] Good question, but the server does not read those changes :) Here is how it works: on the specific settings page of the server you can set a directory for the config files. If that is not set the app will generate it's own default config file every time you start the server and delete it when you stop the server using the template phpconf.ini. If you do set the config dir you need to start and stop the server once to let the config be generated and afterwards edit it on that location :)

More feedback and questions are welcome!
[Android Apps and Games] dimm0k:
[MENTION=706513]Themuzz[/MENTION] please say an update is coming very soon!
[Android Apps and Games] lfernandeshack:
Is there a way to run a vpn server without tun/tap driver? My room doesn't have tun.ko, i've tried a lot of diferent tun.ko files but the tvbox freezes and reboot

Enviado do meu DX3060 através de Tapatalk
[Android Apps and Games] solarbaby:
Update.. I sucessfully installed WordPress in lighttpd and it seems to work very well. I have no real use case scenerio for having this on my phone but suppose I all I'd have to do is setup the dynamic ip updater and maybe a proxy so that the outside world could reach my web server ?? I haven't put much thought into actually using this publicly sometimes but for now at least I have a really nice web based file manager and photo gallery. Cheers! this is turning out to be fun. My original use case scenerio was setting up a php file uploader script so that anybody with any browser could send me files locally with out any special software. Now i've gone a little further with wordpress for fun and games.
[Android Apps and Games] rguisewite:
Geetings [MENTION=706513]Themuzz[/MENTION]

A couple of questions (nothing pressing, just for when you get around to it).

First, any chance we'll see the ability to have multiple public key support in SSH for each user (ie, support ssh key logins from multiple devices, each with unique keys)?

Second, I may be missing the option, but is there any way to set the start directory when using command line SSH (on a per-user basis)? I'd like to start, for example, in my /mnt/external_sd directory, but it always takes me to root.

Third and more of just a note than anything, but the "Home" directory for the created users is set to /data, which isn't writeable by the user created by the server. I noticed this while using vim and it not being able to save the .viminfo file. It might be nice to have the option to change this to something more user friendly.

And finally, would it be possible to get NodeJS access sometime down the road? I decided to give node a spin a little over a year ago and have some projects I'd like to get back up and running on my Android Stick PC. Anyhow, great work on the app! Looking forward to seeing it grow into an even more crazy and complicated app :)
[Android Apps and Games] Themuzz:
[MENTION=5687667]dimm0k[/MENTION] Sorry, we're working on it!

[MENTION=5019927]lfernandeshack[/MENTION] Unfortunately not, sorry about that..

[MENTION=1172052]solarbaby[/MENTION] You can make the server available from the outside by enabling port forwarding on your router. But great to hear you like the app! Appreciate the feedback!

[MENTION=5799830]rguisewite[/MENTION]

-The multiple public keys for a user might take some time. Would it be possible to add just multiple users with the same name and a different public key for now?

-At this moment it's not possible to set a start directory. Do you know other ssh server apps that do? If so let me know!

-I don't fully understand what directory is being set to /data, could you send a screenshot?

-And for the node.js idea, we had the request multiple times and are looking into it but it will take some time.

Thanks for the feedback! :)

More feedback is of course always welcome!
[Android Apps and Games] solarbaby:
Port Forwarding I understand just fine. It's the other methods like UPNP and Proxy I think I need to study up on. Finding ways for users to connect when I have absolutely no control over the firewall. That is the good stuff right there.
[Android Apps and Games] rguisewite:
[MENTION=706513]Themuzz[/MENTION]

-I had a similar idea for the key problem, although I was just going to use a different username per key. Didn't think you'd be able to use the same username more than once, guess that's what I get for not trying! ;) I figured I'd just bring up the multiple keys per user thing in case someone else hadn't.

---EDIT: I just tried using the same username multiple times, and it does not allow this functionality. I'll just use different usernames for the time being

-I've never used another android SSH app, so I'm not really sure if any of the other ones do... I suppose I could always try to set up a .bashrc/.profile/whathaveyou file with a cd command in it... I initially thought maybe I might be able to accomplish this with the "Custom Shell" commands, but I've had no luck so far. Oddly though, most shells will launch to the user's home directory (ie, on my linux machine it will go to /home/my_user/ when I open a shell, ssh in, etc), but here it takes you to root even when not using the root user and the user I am logging in to has a home directory of /data... which brings me back to your third point... (points down to the next bullet)

-Normally in a shell, if you just type a blank "cd" it will bring you to your user's home directory. Here, when I do that with a non-root user (ie, the created user in the SSH Server settings), it brings me to /data. This is what it looks like when I log in...

u0_a101@android:/ $ cd
u0_a101@android:/data $

So going back to the original comment, it would be nice if this user directory could be changed so that the above would look more like...

u0_a101@android:/ $ cd
u0_a101@android:/my/custom/path $

-I figured you guys would have a number of requests for the node.js stuff, but I figured I'd throw it in on the off chance that no one had mentioned it. And I definitely get that it'll take some time :) I shall eagerly await its implementation.

-I did just come across something odd.. I have the remote control server set up and all the ports set up properly to have access outside my network. If I attempt to access the Remote server on another device using my local IP, it works fine. If I use the web url that I use to access my home network (same one I use that works with SSH), it will connect to the remote control server, but if I try to click on anything, I get the "Error: We couldn't connect to the 'Remote Control App' server of the device...". I know, the Remote client section says "IP" not "Host", so I'm not sure if using the domain name isn't supposed to work at all. Just seemed like a bug that I can get partial access.
[Android Apps and Games] dimm0k:
to help you out since I've been using SSHDroid, upon login this is where I'm placed

u0_a230@jfltespr:/data/data/berserker.android.apps.sshdroid/home $

using 'cd' also brings me back to this location after leaving it.
[Android Apps and Games] rguisewite:
[MENTION=706513]Themuzz[/MENTION]

Another couple of ideas... :)

For security purposes, it would be nice to have a failed login blacklist (something like authfail or denyhost), that way I can block IPs that are attempting brute force attacks and things. I had the setup on my old server, which was nice and gave a little more peace of mind. This security could probably be applied to most anything that has a Users section

This second one would be more of a fun/gimmicky type of server, but it would be neat to have a voice commands server (basically like Google Now on the Nexus 5 how it is always listening when you're on the home screen) except it would always be listening. Activate it by a hot word, or maybe just have it listen for the key words you set up... Either way, you could have a list of "commands" ("Open Plex", "Turn down the volume", etc) that you could apply any of the triggers to (the list of things you can do in the triggers server is pretty slick, btw). The matching could do partial word matching (instead of exact), so if the command you set up was "Volume Down", saying "Please turn the volume down" or "turn the volume down a notch" would both match. It would search through the list and find the most exact match (most matched words, shortest string, etc) and return that. If no results were matched, it could be passed off to Google Now or something. Anyhow, That would be fun for a home control server (I have a stick pc set up as a media player/server/central hub).
[Android Apps and Games] Aqua1ung:
Notifications when server down

I am currently running an HTTPS web server on my Logitech Revue. It would be nice to have a way to automatically restart the server when it's down. Or, at least, have Servers Ultimate send an email notification when the Web server is down. As for how to tell when the server is down, I am guessing that inspecting the log should give the definite clue. What say you?

Edit: I just thought of a way to do this using Tasker...
[Android Apps and Games] douglasfiorini:
SMPP Server

Hello,

I'm trying to make the SMPP Server work, but unfortunately the server doen't send the SMS? When I start the server the screen shows just the IP address, but there isn't any information about user and password.

I appreciate any help.

Thank you.
[Android Apps and Games] dimm0k:
[MENTION=706513]Themuzz[/MENTION] any update on an update for Servers Ultimate?
[Android Apps and Games] Dan_Aykroyd:
I got no reply, not even on the support mail address... :(
[Android Apps and Games] dimm0k:
the team behind this app has their hands full with this and another app... not sure if anything has changed, but unfortunately last contact with them had their focus mainly on the other app =( Also unfortunate is the delay in response via email is much longer than contacting Themuzz through the forum, but nevertheless if you can hold out you will get a response eventually.
[Android Apps and Games] Dan_Aykroyd:
Thanks for clarifying. Lately, Sadly, I've been listening to several devs of apps I use that are focusing on something else (eg Ad Muncher) :rolleyes:

I hope they address my Samba issue, after all, I was expecting at least a minimum level of support when buying the Pro version
[Android Apps and Games] Prack:
What app is that?
[Android Apps and Games] Joen:
That is Synchronize Ultimate: http://xdaforums.com/showthread.php?t=2412188
[Android Apps and Games] dimm0k:
I hear ya... I suppose one does have to realize that with an app of this magnitude that it's a bit difficult to support with so many servers. Hopefully when the developer(s) for this app shifts focus back to this that we'll at least get what we need out of this app. It's a bit unfortunate...
[Android Apps and Games] Themuzz:
Time flies when working hard ;) I'll be more on XDA next weekend, so ask me anything.

[MENTION=5799830]rguisewite[/MENTION]

SSH: you're right, you need to use different usernames. But for the next update we'll have a large update for the SSH engine so more features will be added and bugs will be fixed

Node.js: correct, and we're still looking into it.

Remote control URL: hmm, I'll check it out and if it's a bug it will be fixed in the next release. Could you maybe PM me an example URL you use that is online and doesn't work but should be working? I don't immediately have DDNS setup for one of our devices.

[MENTION=5687667]dimm0k[/MENTION]

SSH: hopefully we'll be able to add the custom home with the update. Sorry to keep you waiting.... hopefully the wait will be worth it.

[MENTION=5799830]rguisewite[/MENTION]

Login blacklist: good idea! We'll try to implement it!

Voice command server: good idea but won't happen in the near future unless you know of a good java library :)

@Aqua1ung

Server down: The notification should be possible to add to the settings of the server right? But good to hear you found a way to do it in Tasker

[MENTION=2351978]Dan_Aykroyd[/MENTION]

SMB: Ah, the SMB Windows problem.. We still have issues with Windows, sorry about that.. we're working on a native SMB server to include inside the app as well.

But the reason that you have those problems with our app is that our SMB server is completely written in java while the others are a copy of the original SMB native code.

Support: apologies for the delay in respons, you can always PM me or use fb twitter.

[MENTION=5812405]douglasfiorini[/MENTION]

SMPP Server: Correct, unfortunately that's not yet supported. We need to document it better, apologies.

As [MENTION=457347]Joen[/MENTION] stated we're working hard on another app: Synchronize Ultimate. If you like Servers Ultimate you might also like that app :)
[Android Apps and Games] Dan_Aykroyd:
Thanks for your reply Muzz,

Besides knowing that, is there a way to make it work? What I described is not the common problems that are in the thread (yeah, I read it) with SMB + Windows. I can see the SMB share, connect to it, log in and browse the tree structure, but as soon as I try to open/copy/write any file, it gives the error that "the server cannot perform the requested operation (58)". I was so close to make it work... :(. And I tried a GAZILLION of combination of settings on the client side (Windows); all with no luck at all

Oh, and (I know you saw this question incoming :)), do you have an ETA as when the native SMB server might be released?

Thanks again
[Android Apps and Games] wavrunrx:
[MENTION=706513]Themuzz[/MENTION]

ive read the help doc in the help section for public connectability...

do you happen to know what the APN settings for t-mobile (USA) are ?

id like to run a ssh server on my phone.
[Android Apps and Games] Themuzz:
[MENTION=2351978]Dan_Aykroyd[/MENTION] Unfortunately we don't know of a way to make it work yet since Windows changes/updates the protocol with every new windows version (and or other updates). Sorry about that, if you want a refund let me know!

Also I can't give you an ETA yet, sorry..

[MENTION=4172704]wavrunrx[/MENTION] Unfortunately not, did you google it? Or you could try to contact T-mobile of course. And to be sure, the server can be accessed when on WIFI?

More feedback is always welcome :)
[Android Apps and Games] Dan_Aykroyd:
Thanks for your reply Themuzz.

This weekend I tested the SMB server on my girlfriend's computer (Windows 7 x86). There I could browse, open files and copy them, but when trying to delete them they would give an error! I guess the server is quite buggy it, so I'm looking forward to your new native one.

No need for a refund, please use that money to buy yourself some beer/coffee to code the new server :D

Thanks
[Android Apps and Games] Themuzz:
[MENTION=2351978]Dan_Aykroyd[/MENTION] Windows keeps on being problematic.. But thanks for the coffee ;) We'll continue working on it!
[Android Apps and Games] Themuzz:
So the app works ok besides the previous mentioned bugs?

Would be great if you could also post how you are using the app to inspire others :)
[Android Apps and Games] dirtyreturn:
This will be helpful in the least way I'm sure. I am on t-mobile and the ssh server was publicly available for me. I did post the settings I used earlier on the thread.
[Android Apps and Games] vel_tins:
Can't connect to mysql!

I am using SU 6.2.4 PRO.

Something seems to be broken, since the last update.

I added Lighttpd server + PHP + Mysql as servers.

But I can't connect to mysql, neither via Phpmyadmin, nor the "Mysql monitor"

User = root, password "empty" or not makes no difference

Tested it on two different devices: Android 4.0.4 + 4.4.2 (both rooted)

Phpmyadmin = #Error 2002

Mysql monitor:

see attachment (borrowed from https://twitter.com/ocimy/status/322144417572081664/photo/1)

EDIT: this seems to be the

real

error:

after that, mysqld seems to crash! (can't find mysql in the process list via "ps/top/htop")

mysql.log:

2014-04-24 02:39:31 [mysql] - Loading done.
2014-04-24 02:39:31 [mysql] - MySQL loaded.
2014-04-24 02:39:26 [mysql] - MySQL loading.
2014-04-24 02:39:26 [mysql] - Creating configuration file.
2014-04-24 02:39:26 [mysql] - Checking data.
2014-04-24 02:39:26 [mysql] - Preparing.
2014-04-24 02:39:26 [mysql] - Preparing.
2014-04-24 02:39:26 [mysql] - Starting server
2014-04-24 02:39:26 [mysql] - Request has been send to servers pack
2014-04-24 02:39:20 [mysql] - Server stopped
**2014-04-24 02:39:19 [mysql] - Quit command error: "null" - Exit code: 1 - Returned: "
killall: mysqld: no process killed"**
2014-04-24 02:39:19 [mysql] - Stopping server
2014-04-24 02:39:19 [mysql] - Request has been send to servers pack
2014-04-24 02:25:35 [mysql] - Loading done.
2014-04-24 02:25:35 [mysql] - MySQL loaded.
2014-04-24 02:25:30 [mysql] - MySQL loading.
2014-04-24 02:25:30 [mysql] - Creating configuration file.
2014-04-24 02:25:30 [mysql] - Checking data.
2014-04-24 02:25:30 [mysql] - Preparing.
2014-04-24 02:25:30 [mysql] - Preparing.
2014-04-24 02:25:30 [mysql] - Starting server
2014-04-24 02:25:30 [mysql] - Request has been send to servers pack
[Android Apps and Games] vel_tins:
Can't connect to mysql!

well, I've finally managed mysqld to start by adding:

to "mysqlconf.ini".

And also deleting a trailing space in the "tmpdir" line (27).

Phpmyadmin can connect now, but than I've realized that the database "mysql" is completely missing....

I don't want to investigate further, since this is a paid app and it's the developers duty, to fix the errors.

I would guess the webserver/php/mysql combo is the most used, so please fix it asap.

PS: It's not only me...

https://twitter.com/ocimy/status/322144417572081664/photo/1

[MENTION=706513]Themuzz[/MENTION]....?
[Android Apps and Games] Themuzz:
[MENTION=517401]vel_tins[/MENTION] Hmm, that's a new one, haven't seen it before. You said "Something seems to be broken, since the last update.", did you mean the update of your Android version or of the app Servers Ultimate?

And just really simple, did you try to uninstall Servers Ultimate and the packs, reboot and install again?
[Android Apps and Games] vel_tins:
Servers Ultimate.

It worked before, when I bought SU Pro ~Jan/Feb. 2014.

I don't know which update caused these problems, because I didn't use SU since Jan/Feb. 2014 until two days ago.

And as I've mentioned above: Same problem on

two completely different devices

!

The firmware on both tested devices wasn't changed/upgraded since then.

Did you upgrade to a newer mysql version?

There are loads of threads with similar problems (all OS), after upgrading to a newer mysql version, without changing/adapting mysql config files.

yepp, especially when some, annoying popups showed up suddenly and bothered me about an "unauthorized copy...bla bla bla"!!!

(I've restored my apps with TiBa after reflashing my Rom)
[Android Apps and Games] Themuzz:
[MENTION=517401]vel_tins[/MENTION] Well, there hasn't been an update the last few months, only internally for testing. So the reinstall didn't help?

We'll need to look deeper into it which might take some time, sorry.

And for the illegal copy message, just ignore it :)
[Android Apps and Games] dimm0k:
[MENTION=706513]Themuzz[/MENTION] any way for us to get to test the internal copy?? through Google+ betas even? been waiting quite a while now for working ssh...
[Android Apps and Games] vel_tins:
NO, not even on "factory resetted" Roms.

After installing SU and SU pack C, the mysql datadir

is completely empty.

The folder "mysql" was somehow not copied from the apk.

EDIT: After manually copying the folder "mysql" from the apk into "/data/data/com.icecoldapps.serversultimate.packc/mysql/data/"

everything seems to work.
[Android Apps and Games] CLU22:
Thanks for this great piece of software, I purchased it on the market. I had a quick question, do any of the servers offer reverse proxy (with SSL) functionality? If not, has this feature been considered? Thanks.
[Android Apps and Games] mrcarlos:
help

Hi to all i cant make any server work outsite of my internet (public) any ideas or tutorials?

thanks
[Android Apps and Games] VINU1900:
nice app...
[Android Apps and Games] rodpp:
Search for NAT and will will find.
[Android Apps and Games] Themuzz:
[MENTION=5687667]dimm0k[/MENTION] We're getting close, sorry for the long radio silences...

[MENTION=517401]vel_tins[/MENTION] interesting, do you have Android 4.4.2 on a Samsung device?

@CLU22 It doesn't really support it but you could add a proxy server and set a specific host to forward all requests to. Though do you maybe have an example on how a reverse proxy would work with multiple servers?

[MENTION=5096993]VINU1900[/MENTION] Thanks!

[MENTION=2235945]mrcarlos[/MENTION] As [MENTION=1247215]rodpp[/MENTION] stated, NAT is the magic word. But you could have a look at Help>General>Connectability inside the app.

More feedback is always welcome!
[Android Apps and Games] jagmagana:
I buyed some time ago the Ultimate Server PRO, i use basically for SSH Server.

But sometimes, when i transfer big files or navigate (via Socks5 socket) in a Windows

client with putty or Bitvisse cliet, the connection reset with error "Server unexpectedly

closed network connection". I try too many clients but the problem are not the client,

the problem is the server (or the connection)... but .... with the alone "SSH Server PRO"

all work OK, and this problem not appear...

When I manage it to connect to the machine, it is very random how long it takes to get disconnected again. Sometimes only seconds, sometimes an hour or more. When I transfer files with sizes of 10mb or more

(dropbox with socks5) I get an abort inmediatly.

I am able to fully transfer smaller files successfully, never receive abort with small files...

It's the SSH Server PRO more updated that the Ultimate Server?

Thanks
[Android Apps and Games] butlerm205:
Bought the pro.

I have a laptop at home that I need occasionally, but at the moment its on constently using power. I can use wake-on-lan locally, but not over the internet.

So far I have setup the DDNS client for my home IP.

I Intend on using the WOL client also. Do I need to setup a VPN to use it? Is there a better way as the VPN looks tricky to setup, although a VPN might be useful for download UK content, when on holiday.

Also, if I enable the remote server, can I then administer all the other servers remotely?

Thanks