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

can you make it easier to install on ubuntu , and tutorial need to update #896

Open
aymanharrawi opened this issue Mar 3, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@aymanharrawi
Copy link

can you make it easier to install on ubuntu , and tutorial need to update

the tutorial to install on ubuntu that on the main page is useless and need to update ,

i had bad time to get method how to install it then i get help from chat gpt

https://chat.openai.com/share/09ab4447-dbf5-46c9-8d24-65826ce029f6

this is the commands that i needed to use and get them from chat gpt to install

`sudo dpkg -i Suwayomi-Server-v1.0.0-r1498-debian-all.deb
sudo apt-get -f install
sudo adduser --system --no-create-home suwayomi-server
sudo addgroup suwayomi-server
sudo chown -R :suwayomi-server /etc/suwayomi
sudo systemctl restart suwayomi-server
sudo systemctl status suwayomi-server
sudo dpkg -i Suwayomi-Server-v1.0.0-r1498-debian-all.deb
sudo systemctl restart suwayomi-server
sudo systemctl status suwayomi-server
curl -I http://127.0.0.1:4567/

root@rve:~# curl -I http://127.0.0.1:4567/
HTTP/1.1 200 OK
Date: Sun, 03 Mar 2024 18:25:42 GMT
Cache-Control: max-age=0
Last-Modified: Fri, 23 Feb 2024 19:36:18 GMT
Content-Type: text/html
ETag: W/"JroSShjFK84JroTx8+ywaM"
Accept-Ranges: bytes
Content-Length: 1341
Server: Jetty(9.4.51.v20230217)

then open 4567 port on the firewall
ufw allow 4567`

  • fix custom download path on ubuntu its not working '/home/s33.olaoe.cyou/suwayomi' i used this and should be correct
@aymanharrawi aymanharrawi added the bug Something isn't working label Mar 3, 2024
@Robonau
Copy link
Contributor

Robonau commented Mar 3, 2024

dude all ya needed to do was install it and run it

sudo dpkg -i Suwayomi-Server-v1.0.0-r1498-debian-all.deb
suwayomi-server
curl -I http://127.0.0.1:4567/

should have worked fine (it wouldn't run on startup, but the only install that does by default is docker)

@taos15
Copy link

taos15 commented Apr 13, 2024

Dont you get permission issues by crating the suwoyomi user? It shouldn't have to create a new use, and just install and run the application as the logged in (not root) user. That way you dont risk having permission issues because the application run as the suwoyomi user and you are accessing as the login in user (most likely userid 1000) without adding new user/group to your logged in groups?

@holdenli
Copy link

holdenli commented Jul 23, 2024

I tried installing this on linux recently. I agree that documentation is lacking.

For beginners, you should maybe avoid the debian/ubuntu package and just use the scripts provided in the tar? Otherwise, you can just run suwayomi-server after installing and leave it at that (the documentation does not mention this). However if you want it to run on startup you have a few options. This will probably be easiest (I haven't tried it): https://help.ubuntu.com/stable/ubuntu-help/startup-applications.html.en

However, the debian package ships with a service you can sorta use. Chatgpt seems to be trying to use that service and I'm not sure if those commands actually work due to perms issues.

The debian package includes a systemd service (https://github.com/Suwayomi/Suwayomi-Server/tree/eaffb2755cfae436f4c2b1affe9c125046c2cc55/scripts/resources/pkg/systemd). It uses suwayomi-user which needs to be created manually. The user needs access to write to TACHIDESK_ROOT_DIR which is /var/lib/suwayomi by default. Note that this is different from the documented data folder (~/.local/...). I modified the systemd file to just use my own user and then created /var/lib/suwayomi with perms for my user.

Once that is set up you can just enable suwayomi running automatically on boot with this command: sudo systemctl enable suwayomi-server

@Robonau
Copy link
Contributor

Robonau commented Jul 23, 2024

generally speaking if u want to use it on Linux docker is suggested

@diona-katzlein
Copy link

Run normaly on Ubuntu Server 22

@llg38456
Copy link

I used it in conjunction with alist and have been encountering permission denied issues, making it impossible to create a server. conf file.
Later, it was discovered that after creating a container with Portainer, you can edit it again.
Then in the advanced container settings, change the user from suwayomi to root, restart the container, and everything will be fine. I'm so happy.

我是用alist搭配来使用的,一直遇到permission denied的问题,没法创建server.conf。

后面发现,你用portainer创建容器之后,可以重新编辑。
然后在高级容器设置里,将用户从suwayomi改成root,重新启动容器,一切就正常了,太开心了。

@Robonau
Copy link
Contributor

Robonau commented Sep 21, 2024

I used it in conjunction with alist and have been encountering permission denied issues, making it impossible to create a server. conf file. Later, it was discovered that after creating a container with Portainer, you can edit it again. Then in the advanced container settings, change the user from suwayomi to root, restart the container, and everything will be fine. I'm so happy.

我是用alist搭配来使用的,一直遇到permission denied的问题,没法创建server.conf。  后面发现,你用portainer创建容器之后,可以重新编辑。 然后在高级容器设置里,将用户从suwayomi改成root,重新启动容器,一切就正常了,太开心了。

this issue has nothing to do with the docker version

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

6 participants