[one-users] Sunstone image upload not working - images not in tmpdir
Daniel Molina
dmolina at opennebula.org
Fri Nov 29 01:02:03 PST 2013
On 29 November 2013 09:57, Stefan Kooman <stefan at bit.nl> wrote:
> Quoting Daniel Molina (dmolina at opennebula.org):
> >
> > Include it before the if:
> > logger.error(rackinput.class)
> > if (rackinput.class == Tempfile)
>
> I did just that, restarted apache and tried again. I can't spot the
> value in the logs, can you? Passenger errors are logged in apache error log
> (not vhost) log. I did check all logs but didn't find anything.
It should be in /var/log/one/sunstone.log
You can also write the value to a file:
File.open('/tmp/debug_sunstone", 'w') { |file| file.write(rackinput.class) }
--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131129/20981c62/attachment-0002.htm>
More information about the Users
mailing list