otavioduarte
New Member
- Joined
- Aug 19, 2015
- Messages
- 7
- Reaction score
- 1
Delete -werror from cmakeAfter upgrading to ubuntu 20.04 it is no longer possible to compile OTserv TFS 0.4 above. The error follows:
View attachment 45403
you need a ubuntu 18.04+ fresh installation and follow the guide it is so easy you dont have to do nothing just copy and paste nothing more.I spent the entire night trying to migrate my local 8.6 server, running on my Windows machine, to a VPS running Ubuntu.
I am on the verge of going crazy.
I thought this was going to help, but I am getting different errors, either by trying the 1806 config or upgrading and trying the current one. I know it's way too much to ask, but any way you can give more detailed instructions on how to run this?
Delete -werror from cmake
you need a ubuntu 18.04+ fresh installation and follow the guide it is so easy you dont have to do nothing just copy and paste nothing more.
ansible-pull -i localhost, -U https://github.com/DevelopersPL/otshosting-provisioning.git -d /srv/otshosting-provisioning --purge -t default,phpMyAdmin,DevAAC,tfs,tfs-old -C ubuntu1804
localhost | FAILED! => {
"changed": false,
"cmd": "/usr/bin/git checkout --force ubuntu1804",
"msg": "Failed to checkout ubuntu1804",
"rc": 1,
"stderr": "error: pathspec 'ubuntu1804' did not match any file(s) known to git.\n",
"stderr_lines": [
"error: pathspec 'ubuntu1804' did not match any file(s) known to git."
],
"stdout": "",
"stdout_lines": []
}
I have recently compiled r3884 and it required many many changes to make it compatible with recent versions of libraries. That's the cost of using abandoned software, don't do that.After upgrading to ubuntu 20.04 it is no longer possible to compile OTserv TFS 0.4 above. The error follows:
I don't recall that branch ever existing. The branch for 18.04 is currently calledMaybe the branch was removed or something?
v2
.I have recently compiled r3884 and it required many many changes to make it compatible with recent versions of libraries. That's the cost of using abandoned software, don't do that.
I don't recall that branch ever existing. The branch for 18.04 is currently called [inline]v2[/inline].
You should use 20.04 though, the v2 branch is not supported by me anymore.
Uhm, no. You haven't defined what old TFS is. There are very old versions and less old versions. TFS 1.1 is old. There is probably no OS supported currently that would let you compile very old TFS without any fixes.Would you be able to provide any version compatible with the old TFS?
Uhm, no. You haven't defined what old TFS is. There are very old versions and less old versions. TFS 1.1 is old. There is probably no OS supported currently that would let you compile very old TFS without any fixes.
Yes, there is a v2 branch.In fact, I was wondering if it is still possible to use the ansible version of ubuntu 18.04, if this repository still exists
AddBut is there any specific command? I'm in the V2 folder using the commands mentioned. But when I use the V2 commands he denies it due to the ubuntu 20.04 request ansible-pull -i localhost, -U DevelopersPL/otshosting-provisioning (https://github.com/DevelopersPL/otshosting-provisioning.git) -d / srv / otshosting-provisioning --purge
-C v2
It depends on exactly how you log in and how well the rest of the system behaves. It's not an issue in v3.Buuuut, now when I log in as otsmanager, I can't run any commands related to tfs. They all give me a warning related to not being able to connect to bus, no such file/directory. Any ideas?
edit: I logged in using ssh otsmanager@ip + pass: otsmanager.
This script only expects eth0 interface, yours is probably differently named.edit: Plus, serverip returns Device "eth0" does not exist.
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Welcome to OTS Hosting preconfigured server!
If you are a spigu.net customer, you can obtain premium help at https://spigu.net
Community support available at https://otland.net/forums/support.16/
0 updates can be installed immediately.
0 of these updates are security updates.
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Sat May 16 15:29:44 PDT 2020 on pts/2
=================== MySQL ===================
Device "eth0" does not exist.
phpMyAdmin: https:///pma3380
Username: otsmanager
Password: aYA8VPDqJO2S01Ta4HTBNs9X
You can execute mysql commands without a password.
Total size and location of MySQL backups: 4.0K /var/lib/automysqlbackup/
Put your website files in /home/otsmanager/www/public_html
=================== TFS commands ===================
If you run TFS with the following commands, it will auto restart.
Enable auto-start on boot: sudo systemctl enable tfs
Disable auto-start on boot: sudo systemctl disable tfs
Start TFS: sudo systemctl start tfs
Stop TFS: sudo systemctl stop tfs
Restart TFS: sudo systemctl restart tfs
Check status of TFS: sudo systemctl status tfs
Show full TFS log: journalctl -u tfs (q to exit)
Follow TFS console: journalctl -u tfs -f (CTRL+C to stop)
=================== Useful commands ===================
Update TFS to latest master: updatetfs
Show service due date: duedate
Show server IP: serverip
Share a file: transfer path/to/file
date: option requires an argument -- 'd'
Try 'date --help' for more information.
Your service expires on
Current TFS status: [sudo] password for otsmanager:
otsmanager is not in the sudoers file. This incident will be reported.
ifconfig
how to compile ots under 8.6 on this engine?