Conversation
Notices
-
@windigo is there some ‘allow image uploads’ setting/plugin for #SN that you have disabled/dont have? I cant seem to upload pics :(
-
It works for me on my instance and I didn’t do anything special. $statusnet/file needs to be owned or writeable by apache.
-
Works for me on my instance (I just tested it). And I don’t have any special plugins. So, what @gomerx said.
-
@x1101 you can however add configs for larger posting limits and ogg files.
-
@x1101 Check the file size of the image you are trying to upload too. Seems there is a 5mb limit set on the default SN install.
-
@jpope also a default monthly limit.
-
I ran into that a couple weeks ago – I have the file permissions set correctly, and can’t figure out why it won’t allow it…
-
@windigo so its a known issue? Lemme know if you wanna try to dig thru some log files and kick this thing in the ass
-
Hah, that reminds me – I need to set Status.net to stop dumping all it’s logs into /var/log/messages and… wait, is that XML? O_O
-
@windigo if you need any help with syslog/syslog-ng or a custom log parser, I know a guy who is good at that (read its me)
-
I might. I’ve heard tales of the statusnet logs being notoriously noisy – I’m activating the ‘LogFilter’ plugin, and I’ll see what’s left.
-
Actually you can use ‘ $config[‘site’][‘logfile’] = ‘<path/to/logfile>’ to use a separate log file.
-
@windigo I make that suggestion because I am kinda known around the office for writing bash scripts to parse logs into something readable
-
Thank – I copied the logs lines from @sazius and modified to suit. Still working on adjusting the log level, I think…
-
I will definitely send you some info when I get there: They’re dumping whole XML feeds into these frickin’ logs. :P
-
So what happens exactly when you try to attach a file? I don’t have the interface, so I can’t give it a go.
-
@windigo from mustard I get a 400 error. From web I don’t even see the option
-
@x1101 as admin in /panel/paths/ is the directory for attachments specified? (all this on the webUI)
-
@parlementum this is @ Windigo’s instance, so I don’t have admin
-
It is indeed – and it’s writable by the apache user as well.
-
@windigo I’m all out of ideas then :(
-
Is your apache running as ‘apache’ and not ‘www-data’?
-
Which is a stupid question, but someone had to do it.
-
I almost think we might be running into this bug, but it could be config related: http://status.net/open-source/issues/1739
-
I also have this going on.
-
Heh, it’s running as ‘www-data’ as far as I know – but I’ve been wrong before. I’ll double-check. :D
-
Are you running on Debian Squeeze?
-
Yeah, it seems like a pretty oddball issue. Quite possibly permissions based somewhere along the line. I’ll keep lookin’. :)
-
Well, avatars work, so as long as avatar/ and file/ have the same permissions and ownership that’s not the problem.
-
If apache can’t write the attachment to the directory, I’ve think you’d have somethin in the apache logs (as opposed to statusnet logs)
-
Apache process runs as ‘www-data’, but the queue daemons run as my user…
-
Oh. That’s different. Some of my attachments are written by apache and some are my queuedaemons.
-
@gomerx but if the option isn’t even showing on the webui….
-
You may need to run daemons as www-data or do some tricky group permissions thing.
-
Fixed. I neglected to fill in the attachments path.
-
You mean there’s no button to do an attachment once someone starts a post? I didn’t get that part.
-
Yeah, that’s what we’re seeing (or not seeing, I suppose).
-
Maybe I’ve got the path listed wrong – what did you set the path as? Did you use an absolute or relative path?
-
@lnxwalt \o/ and Happy New Year!
-
Mines is like this here:
-
I just copied the corresponding avatars path, replacing avatar/ with file/
-
Yeah, I’ve got the same thing – it doesn’t look like it’s caused by the paths here. Thanks for the help though!
-
Okay, I’m gonna take a look at this later, hopefully with a fresh head. :P
-
@windigo No, I’m using Ubu LTS server edition after 7 years working in the Windows world.
-
My first VPS is still running an older version of Ubuntu server. Good stuff. :)
-