Comments (47)
First of all, thanks to everyone for your kind support!
After some checks, here are my conclusions:
- my owner permissions were so because I only use the --in-place import
- the other owner permissions are when you use the upload from the Funkwhale interface
- when you have both permissions it’s because you used the two
(at least it’s my understanding)
I’ve just modified the nginx file to reflect what I’ve set for my instance and it works! (and so it’s not related to the files permissions, it was a wrong guess 😛)
I would be glad if you could try again the same update command.
from funkwhale_ynh.
Yes! Great job, it works for me.
Many thanks @Thovi98
from funkwhale_ynh.
@Thovi98 the version 1.3.0~ynh5 works perfectly for me.
Thank you so much for your kindness and your precious help 👍
from funkwhale_ynh.
Could you please try the testing branch? If it works, I will release it :)
from funkwhale_ynh.
I don't know how to test the testing branch, sorry ^^
I saw that there was a new update in the yunohost web administration interface, I tried to install it but I have the same problem as before, I still can't play the music.
I'm not sure where the problem is coming from, and if other people have the same problem or if it's just me.
https://paste.yunohost.org/raw/odinoxowik
from funkwhale_ynh.
Could you please tell me where are located your media files?
from funkwhale_ynh.
Unfortunately I don't know, sorry I'm not adminsys but a fairly basic user ^^
I use the web interface to upload the music, I haven't changed anything manually, I imagine it's the default directory.
I just tried to upload a new album on the instance but I have the same result as with the rest of the library, when I press play it shows me the message "The track cannot be loaded, You may have a connectivity issue."
from funkwhale_ynh.
Okay thanks for your answers.
May I ask you to share your nginx logs of Funkwhale? You will see them in the nginx services in the webadmin.
from funkwhale_ynh.
Of course, here they are;
https://paste.yunohost.org/ubagimunas.swift
from funkwhale_ynh.
Thank you, there is actually an issue with your library’s path. Can you check what path is shown when you upload a track? Under "Import Status"
from funkwhale_ynh.
Thanks for your help.
Is it this?
from funkwhale_ynh.
Yes, that’s correct.
Maybe it’s not what you have when you are in 1.2.10, I will try to take a look.
from funkwhale_ynh.
Thank you so much.
I'll try to look tomorrow night because I don't have ssh access from outside the local network where my raspberry pi is.
I might try looking tomorrow to see if there's any music in the file.
from funkwhale_ynh.
Thank you.
You can do this by:
ls -lah /home/yunohost.app/funkwhale/data/music/
ls -lah /home/yunohost.app/funkwhale/data/media/
If there is no tracks in the folder, please have a look at the
ls -lah /home/yunohost.app/funkwhale/music/
ls -lah /home/yunohost.app/funkwhale/media/
from funkwhale_ynh.
Good morning,
let me add myself to the thread,
I have exactly the same problem after the 1.3 update.
I have checked the presence of the files in the folders, everything is there.
from funkwhale_ynh.
I have exactly the same problem after the 1.3 update.
I have checked the presence of the files in the folders, everything is there.
In wich folders?
from funkwhale_ynh.
Same issue here
See in the log 404 548 error
tryin to make a rescan with the virtualenv and all is already in-place (already found in database)
from funkwhale_ynh.
sorry for not specifying,
I put a screen hoping to be as effective as possible.
from funkwhale_ynh.
Could you please show the output of
ls -lah /home/yunohost.app/funkwhale
ls -lah /home/yunohost.app/funkwhale/data
from funkwhale_ynh.
this is what the output gives.
thank you very much for your quick response.
from funkwhale_ynh.
Could someone share the services logs (the logs of each Funkwhale services) please?
from funkwhale_ynh.
here are the logs
funkwhale-worker
funkwhale-server
funkwhale-beat
from funkwhale_ynh.
Of course, here they are;
The only listen
endpoint logged here is returning a 503. I guess there is an exception logged in the Funkwhale API server, can you send me this?
from funkwhale_ynh.
Of course, here they are;
https://paste.yunohost.org/ubagimunas.swiftThe only
listen
endpoint logged here is returning a 503. I guess there is an exception logged in the Funkwhale API server, can you send me this?
sorry i don't understand what you are asking me
from funkwhale_ynh.
@Rorensu this was a question for @MyNameIsTroll. You already posted your servers logs, but there is nothing that looks suspicious to me. Maybe you can attach a log of nginx when you try to play back a track.
from funkwhale_ynh.
Is someone willing to test an update via
sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/cleanup-for-1.3.0 --debug
?
@georgkrause, Funkwhale maintainer, also agree to help us debug the issue. Is someone okay to give him temporary SSH access on his server?
from funkwhale_ynh.
Just to be sure, everyone here have an issuer after upgrading to Funkwhale 1.3.0? It’s not a new install?
from funkwhale_ynh.
Hello, sorry for not replying sooner.
@Thovi98 Here is a capture of the commands and service logs:
Funkwhale beat: https://paste.yunohost.org/yiqosewibu
Funkwhale server: https://paste.yunohost.org/jicajezone
Funkwhale worker: https://paste.yunohost.org/sapisawile
@georgkrause I'm willing to provide the nginx logs but I don't really know what command to type :) my level of terminal knowledge is very basic ^^.
from funkwhale_ynh.
@Thovi98 I tried the command in the terminal but it didn't seem to solve my reading problem.
from funkwhale_ynh.
Thank you! Could you try the same upgrade command but with -F
(to force update, otherwise it doesn't update)?
from funkwhale_ynh.
-F instead of -u?
I tried but it doesn't seem to work, sorry if I made a mistake, I'm really bad with a terminal :D
from funkwhale_ynh.
Mmh no, something like this :
sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/cleanup-for-1.3.0 -F --debug
from funkwhale_ynh.
Thanks, the command seems to work. But it might take a while because I have a lot of music and it's making a backup I think....
from funkwhale_ynh.
Thanks, please try again and if it doesn't work, please share your nginx and Funkwhale services logs again (there will normally be more outputs)
from funkwhale_ynh.
Hello,
I have the same issue here, but only with the content I uploaded by the web gui.
(So, I do not have this issue and I can hear and listen the content I uploaded by ftp directly in directory : /home/yunohost.app/funkwhale/data/music)
I done the testing upgrade you described in your last comment.
My logs:
- beat https://paste.yunohost.org/hirituzuri
- server https://paste.yunohost.org/colehazigi
- worker https://paste.yunohost.org/awiponuhiw
Thanks for your help!
from funkwhale_ynh.
@Rorensu this was a question for @MyNameIsTroll. You already posted your servers logs, but there is nothing that looks suspicious to me. Maybe you can attach a log of nginx when you try to play back a track.
I tried the update that was said but it did not change anything
from funkwhale_ynh.
Unfortunately, the update didn't change anything.
Here are my logs:
beat: https://paste.yunohost.org/powogokite
server: https://paste.yunohost.org/qetivekuji
worker: https://paste.yunohost.org/izoqosewas
from funkwhale_ynh.
Sooo okay thank you! This helped a lot!
I’ve tried on my instance by uploading a content and it couldn’t be read too.
In /home/yunohost.app/funkwhale/data/media/tracks
, I saw that my uploaded content was the only to have funkwhale:funkwhale owner rights.
After doing a chown funkwhale:www-data
on that file, it could be read in Funkwhale 🥳
chown funkwhale:www-data
Now I will have to understand how to change the default behaviour to set the proper rights on newly uploaded contents.
To be sure, could someone send the output of ls -lah /home/yunohost.app/funkwhale/data/media/tracks
please?
from funkwhale_ynh.
from funkwhale_ynh.
On my server it is funkwhale:funkwhale: https://paste.yunohost.org/bosekapigo.log
from funkwhale_ynh.
I have mixed owners and rights:
from funkwhale_ynh.
I've tried to change right from www-data:funkwhale to funkwhale:funkwhale
Same issue
When I try to play a song, I've got in the nginx log
192.168.1.1 - - [17/Jun/2023:18:17:15 +0200] "GET /media/attachments/a4/13/20/attachment_cover-5ba8ea12-3fc9-40de-b8a4-ed0bb4cd9a94.jpg HTTP/2.0" 200 65984 "https://music.server.fr/library" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.5 Safari/537.36"
192.168.1.1 - - [17/Jun/2023:18:17:16 +0200] "GET /api/v1/listen/b6c02b37-e6d1-4e9f-a6ce-ecda8f7c3483/?upload=8b8de9fa-a7af-414e-834e-d1f9caf59eb4&token=eyJ1c2VyX2lkIjoxLCJ1c2VyX3NlY3JldCI6IjFjZTE5M2VmLWMzNzMtNDRmOS1hNzUzLTAwYjk4ZDY5YjBjNiIsInNjb3BlcyI6WyJyZWFkOmxpYnJhcmllcyJdfQ%3A1qAYT2%3A98-k677gDRrtHUF4UYzGhvoNZtd3qPtkqnGL_KqpzUc HTTP/2.0" 301 162 "https://music.server.fr/library" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.5 Safari/537.36"
192.168.1.1 - - [17/Jun/2023:18:17:16 +0200] "GET /_protected/media/tracks/aa/de/a8/203.-street-military-dont-play-with-a-gun.mp3/ HTTP/2.0" 404 548 "https://music.server.fr/library" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.5 Safari/537.36"
192.168.1.1 - - [17/Jun/2023:18:17:16 +0200] "GET /serviceWorker.js HTTP/2.0" 200 36425 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.5 Safari/537.36"
We can see
GET /_protected/media/tracks/aa/de/a8/203.-street-military-dont-play-with-a-gun.mp3
return 404 548
The issue come with this commit if i remember
a929801
from funkwhale_ynh.
I done this commands and the problem is the same:
root@xxx:~# chown -R funkwhale:www-data /home/yunohost.app/funkwhale/data/
root@xxx:~# chmod g+w -R /home/yunohost.app/funkwhale/data/
from funkwhale_ynh.
I confirm the fix
I just updated the /etc/nginx/conf.d/music.server.fr.d/funkwhale.conf with the commit change and reload nginx
and it's worked !
Thanks a lot @Thovi98 👍
from funkwhale_ynh.
It doesn't seem to work for me, but I don't know if the problem comes from somewhere else.
Is there a command to launch the update without automatically saving the music?
I have the impression that this is a problem at this point :
https://paste.yunohost.org/raw/ekuxigageq
Logs:
Funkwhale-server: https://paste.yunohost.org/vanurenoxo
Funkwhale-beat: https://paste.yunohost.org/yuzebujaya
Funkwhale-worker: https://paste.yunohost.org/gacecovuxu
from funkwhale_ynh.
I confirm the fix I just updated the /etc/nginx/conf.d/music.server.fr.d/funkwhale.conf with the commit change and reload nginx and it's worked ! Thanks a lot @Thovi98 👍
I did the same and it worked
Thanks a lot
from funkwhale_ynh.
@Thovi98 Thank you very much.
On my instance there was also /home/yunohost.app/funkwhale/data/music/
missing, so I got "An unexpected error occurred." every time I opened mediathek upload page.
Fixed it by adding empty /home/yunohost.app/funkwhale/data/music/
folder plus chown -R funkwhale:www-data
and chmod 770 /home/yunohost.app/funkwhale/data/music
.
from funkwhale_ynh.
Related Issues (20)
- Need help with reverse proxying Funkwhale since it needs its own subdomain instead of subpath HOT 1
- Installation fails HOT 1
- Sharing Link results in HTML Error 405 HOT 1
- Peer authentication failed for user "funkwhale" then e_sendauth: no password supplied HOT 1
- pip version in Yunohost 11 HOT 3
- funkwhale-beat doesn't start HOT 27
- `funkwhale-server` times out on startup HOT 2
- Can't register new user HOT 4
- Installation Error (RPi 4) HOT 4
- Change of maintainer HOT 1
- YunoHost documentation link for this app link produces a strange HTTP error HOT 4
- WebSocket connection refused with 403 after update to 1.3.0 HOT 8
- android app does not connect to instance HOT 2
- Fresh install fails due mismatching checksum HOT 1
- Service funkwhale-beat failed HOT 1
- gunicorn gives error messages while loading django admin
- iOS Apple no playback in browsers HOT 4
- Official user documentation 404'd HOT 2
- funkwhale-beat has a permissions issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funkwhale_ynh.