Phew! It's finally working :)
Had to manually fix some things in order to make it work:
1)
There were database migration errors (from MySQL, given that TuxFamily have not installed some required packages and i could not install them, to SqLite). The script i used is this one, recommended everywhere for the task: https://gist.github.com/943776
I modified it in order to read a mysqldump FILE instead of having to connect to a database.
Then, having the output, had to manually replace "COLLATE UTF8_CI" to "COLLATE BINARY".
That way, sqlite3 successfuly created the database.
2)
Then, i had error about the trac version. It said that "database newer than Trac version".
trac-admin env upgrade did nothing.
Debugging, found a problem with a record, and manually changed it.
The DB problem was gone.
The fix was:
insert into system (name, value) values ('database_version','29');
3)
Then, i had no login.
Reading about it, finally went to install AccountManager plugin: http://trac-hacks.org/wiki/AccountManagerPlugin
Had to download on my pc, then send it to my remote host space using scp. That's because didn't found any direct link for using with wget from the ssh session.
unzipped, installed, and then did ctrl+f5 (single f5 was not enough) on "/login". The login form was there.
4)
There were no users detected.
After lots of tries, went directly to trac-admin:
$ trac-admin myenv
- trac console 1.0 -
> permission add annonymous TRAC_ADMIN
That way, i had access to the administration panel, even when not logued in.
Once in the admin panel, i saw the different account manager options. It did not detect any user.
So, activated SessionStore method, with a value of "1", HtDigestHashMethod, and a realm named "TracDbRealm".
With that, at least it let me create a user. I "created" the old user i was using as admin, and everything went successful. It even detected correctly the last time that user was logged in.
5)
However, there was one last error: i could not change permissions, because of a rare cache table error. Apparently, another migration problem. It said "cache table has 2 fields, but 3 values given".
Searching for that, i reached this post: http://www.gossamer-threads.com/lists/t … 8411#48411
So, went again to change the database manually:
$ sqlite3 myenv/db/trac.db
> drop table cache;
> CREATE TABLE cache (
... id integer PRIMARY KEY,
... generation integer,
... key text
... );
> .quit
$
That way, everything worked ok, and i could change the annonymous user permissions (removing TRAC_ADMIN).
Hope it helps someone else.