Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup & Restore libertea folder from another VPS #89

Open
shammay-PC opened this issue Mar 21, 2024 · 4 comments
Open

Backup & Restore libertea folder from another VPS #89

shammay-PC opened this issue Mar 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@shammay-PC
Copy link

  • component name: libertea-panel
    - OS: "Ubuntu"
    - OS version: "20.04"
    - Docker version: Docker version 26.0.0, build 2ae903e
    - Panel listening: False
    - Panel root status code: 000
    - Panel admin status code: 000
    Also include the output of the following command:
    tail -n 100 /tmp/libertea-panel.log
@VZiChoushaDui
Copy link
Owner

You got this after copying Libertea folder to a new server?

Please also share the output of this command:

tail -n 100 /tmp/libertea-panel.log

@VZiChoushaDui VZiChoushaDui added the bug Something isn't working label Mar 21, 2024
@shammay-PC
Copy link
Author

yes

@VZiChoushaDui
Copy link
Owner

Please share the result of this command:

tail -n 100 /tmp/libertea-panel.log

@ssaallaamm
Copy link

I faced the exact same problem
I think its the mongodb docker
ERROR: Timeout while waiting for panel to start.
Please open an issue on https://github.com/VZiChoushaDui/Libertea/issues/new
and include the following information:

   - component name: libertea-panel
   - OS: "Debian GNU/Linux"
   - OS version: "12"
   - Docker version: Docker version 27.5.1, build 9f9e405
   - Panel listening: False
   - Panel root status code: 000
   - Panel admin status code: 000
   Also include the output of the following command:
       tail -n 100 /tmp/libertea-panel.log

root@t:/libertea# tail -n 100 /tmp/libertea-panel.log
if len(self._data) or self._refresh():
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/cursor.py", line 1205, in _refresh
self._send_message(q)
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/cursor.py", line 1100, in _send_message
response = client._run_operation(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/_csot.py", line 119, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 1752, in _run_operation
return self._retryable_read(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 1861, in _retryable_read
return self._retry_internal(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/_csot.py", line 119, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 1828, in _retry_internal
).run()
^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 2565, in run
return self._read() if self._is_read else self._write()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 2700, in _read
self._server = self._get_server()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 2656, in _get_server
return self._client._select_server(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/mongo_client.py", line 1647, in _select_server
server = topology.select_server(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/topology.py", line 402, in select_server
server = self._select_server(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/topology.py", line 380, in _select_server
servers = self.select_servers(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/topology.py", line 287, in select_servers
server_descriptions = self._select_servers_loop(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pymongo/synchronous/topology.py", line 337, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 5.0s, Topology Description: <TopologyDescription id: 67b59e0108a1260bc44534ea, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
[2025-02-19 09:01:58] Libertea panel serve script exited with code 22
[2025-02-19 09:02:08] Libertea panel serve script
[2025-02-19 09:02:08] Current directory: /root/libertea/panel
[2025-02-19 09:02:08] Checking total memory
[2025-02-19 09:02:08] Tuning kernel parameters
[2025-02-19 09:02:08] - ulimit: 100000
[2025-02-19 09:02:08] - net.core.somaxconn: 65534
[2025-02-19 09:02:08] - net.ipv4.ip_local_port_range: 16384 65535
[2025-02-19 09:02:08] - net.netfilter.nf_conntrack_max: 262144
[2025-02-19 09:02:08] - net.ipv4.tcp_fin_timeout: 15
[2025-02-19 09:02:08] Checking total memory
[2025-02-19 09:02:08] Starting Libertea panel via uwsgi on port 1000 with 6 threads, and listen queue size of 512
*** Starting uWSGI 2.0.28 (64bit) on [Wed Feb 19 09:02:08 2025] ***
compiled with version: 12.2.0 on 19 February 2025 07:49:06
os: Linux-6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07)
nodename: t.hme.ltd
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /root/libertea/panel
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your processes number limit is 7710
your memory page size is 4096 bytes
detected max file descriptor number: 100000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 127.0.0.1:1000 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:35543 (port auto-assigned) fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]
Python main interpreter initialized at 0x7f551b160018
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
python threads support enabled
your server socket listen backlog is limited to 512 connections
your mercy for graceful operations on workers is 60 seconds
mapped 567672 bytes (554 KB) for 6 cores
*** Operational MODE: preforking ***
Initializing...
[uwsgi-signal] signum 0 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 1 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 2 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 3 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 4 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 18 registered (wid: 0 modifier1: 0 target: workers)
Updating HAProxy lists
-- creating mongo client on pid 46485
-- reconnecting mongo client on pid 46485
root@t:
/libertea# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2c125cc37023 libertea/haproxy "/entrypoint.sh" 19 minutes ago Up 19 minutes libertea-haproxy
85df090852b5 nginx:latest "/docker-entrypoint.…" 19 minutes ago Up 19 minutes 127.0.0.1:25898->80/tcp libertea-camouflage-nginx-fallback
d270599ab6ae libertea/log-parser "bash run.sh" 19 minutes ago Up 19 minutes libertea-log-parser
43617c3edb24 libertea/provider-shadowsocks-v2ray "/entrypoint.sh" 19 minutes ago Up 19 minutes 1080/tcp, 127.0.0.1:2003->2003/tcp libertea-provider-shadowsocks-v2ray
83d9f6def183 libertea/provider-vmess-grpc "/entrypoint.sh" 19 minutes ago Up 19 minutes 127.0.0.1:2007->2007/tcp libertea-provider-vmess-grpc
3754e3eb0e39 mongo:latest "docker-entrypoint.s…" 19 minutes ago Restarting (62) 32 seconds ago libertea-mongodb
f29d11654b25 libertea/syslog "rsyslogd -n" 19 minutes ago Up 19 minutes 127.0.0.1:514->514/udp libertea-rsyslog
1921ae64f308 libertea/provider-vless-grpc "/entrypoint.sh" 19 minutes ago Up 19 minutes 127.0.0.1:2005->2005/tcp libertea-provider-vless-grpc
f4c5ce8ff418 libertea/provider-trojan-ws "/entrypoint.sh" 19 minutes ago Up 19 minutes 127.0.0.1:2001->2001/tcp, 127.0.0.1:12001->12001/tcp libertea-provider-trojan-ws
14a645c963bb libertea/provider-vless-ws "/entrypoint.sh" 19 minutes ago Up 19 minutes 127.0.0.1:2002->2002/tcp, 127.0.0.1:12002->12002/tcp libertea-provider-vless-ws
954ee8521d06 libertea/provider-trojan-grpc "/entrypoint.sh" 19 minutes ago Up 19 minutes 127.0.0.1:2004->2004/tcp libertea-provider-trojan-grpc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants